[root]/testsuite/simulation/modelica/indexreduction
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 119 (100.0%) | 1492 (100.0%) | 12.5 |
jfrenkel | 41 (34.5%) | 651 (43.6%) | 15.8 |
sjoelund.se | 39 (32.8%) | 388 (26.0%) | 9.9 |
lochel | 14 (11.8%) | 171 (11.5%) | 12.2 |
perost | 6 (5.0%) | 83 (5.6%) | 13.8 |
adrpo | 7 (5.9%) | 75 (5.0%) | 10.7 |
wbraun | 3 (2.5%) | 36 (2.4%) | 12.0 |
vwaurich | 2 (1.7%) | 36 (2.4%) | 18.0 |
hudson | 4 (3.4%) | 28 (1.9%) | 7.0 |
vitalij | 2 (1.7%) | 23 (1.5%) | 11.5 |
mahge930 | 1 (0.8%) | 1 (0.1%) | 1.0 |
- Disabled test cases with bad error messages.
2 lines of code changed in 1 file:
- fix tests
2 lines of code changed in 1 file:
added flag for using ExpressionSolve in adjacencyRowEnhanced
- can be used e.g. for warmstart in dyn. optimization
1 lines of code changed in 1 file:
- Fix some bad enum to int conversions in the back end.
- Some code clean up.
1 lines of code changed in 1 file:
- skip subsystems if removeSimpleEquations failed
1 lines of code changed in 1 file:
- improve error message of transformation module "sort components"
- cleanup pattern matching and unused arguments
10 lines of code changed in 1 file:
- some cleanup
3 lines of code changed in 1 file:
- fix testsuite with expected output
1 lines of code changed in 1 file:
Update the expexted output of testsuite to r23333
17 lines of code changed in 1 file:
- fixed #2867 by fixing the calculation of adjacency rows for ASUB expressions
18 lines of code changed in 1 file:
Make sourceInfo() testsuite-friendly
2 lines of code changed in 1 file:
- Optimized the adding of connect equations to the DAE.
32 lines of code changed in 1 file:
added rule atan2(0,x) = 0
22 lines of code changed in 1 file:
Merged branches/FFrontEnd into trunk/
Main changes:
- changed the environment to support both non-destructive and destructive updates
- Env.Cache -> FCore.Cache, Env.Env -> FCore.Graph
- FCore.Graph is not a list of Frames anymore is a stucture where the previous list is saved in component "scope"
- all Frames in the new FCore.Graph are FCore.Ref pointing to FCore.Node having different FCore.Data depending on what they are
- all FCore.Nodes have children (FCore.CAvlTree) which maps names to FCore.Ref (which is Array<FCore.Node>, size 1)
- FGraph.openScope pushes an already existing FCore.Ref (or a new one) on the scope list
- for all components having modifications the last class in the type path is renamed to include the
prefix, see FGraph.createVersionScope (this is done because we need unique names for redeclared functions,
records, etc and we need a unique type scope for that)
Example: A.B.C c -> A.B.C$c c
Bug fixes:
- calling function via component (multibody MSL 3.2.1 patch not needed anymore, will remove it in a next commit)
- #2837 array equations wrongly handled in RemoveSimpleEquations (used in ThermoPower and PowerSystems libraries, etc)
#2784, #2727, #2739 (missing modifiers combined with redeclare and unique function generation for redeclared functions)
#2835 - handle overconstrained connectors extending basic types (used in PowerSystems library)
- do not loose modifications on derived classes handled by InstExtends
- some error messages about missing components in Fluid library are gone
- for components of size 0 do not check if they are assigned before use in functions (residue in equalityConstraint)
34 lines of code changed in 1 file:
Fix bug #2837
- properly handle array equations in RemoveSimpleEquations.mo
38 lines of code changed in 1 file:
Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
6 lines of code changed in 2 files:
Fix some of the sorting of components based on dependencies in the bindings
- Would silently fail in some cases in the past
- Some models now give no warnings in compile-time and run-time
- AIMS_Start gives a different result for one variable
- UnevaluateableFixedAttribute.mos gives different results for RML and bootstrapped omc versions
1 lines of code changed in 1 file:
Various bugfixes and new features
- A new implementation for overloaded (binary) operators.
* Follows the specification more strictly and produces less fewer warnings for legal code
* matrix*matrix and matrix*vector uses reduction expressions to implement sum and array
* Checked that inlining of the generated functions works and produces simple expressions
* The code has been split into its own file since it is 2200 LOC and very few things in there actually depend on Static.mo (most of the remaining ones should be refactored)
- Implemented inlining of functions that assign to record members instead of call the record constructor in a single statement
- When evaluating function inputs to determine output array dimensions, keep the evaluated results
- Adding new preOptModule evaluateReplaceProtectedFinalEvaluateParameters which replaces evaluateReplaceFinalEvaluateParameters as a default module
* Causes problems for NPendulum.mos and PrismaticConstraint. They have different preOptModules set in the tests
- Added simulation flag `-abortSlowSimulation` used for the library tests in the testsuite
- EngineV6 now causes chattering behaviour. It was set to a Compilation test.
* The test will not spin thanks to the `-abortSlowSimulation` flag
- Improve elaboration, simplification, evaluation, and code generation for reductions
* Each operator now has unique indexes to avoid conflicts when replacing iterator crefs
* We can now simplify user-defined operators
* Added a new kind of mode for reductions: DAE.THREAD(), as opposed to the standard DAE.COMBINE()
- When we have multiple iterators, the default DAE.COMBINE() is used and iterates over all combinations of the expressions in the iterators. DAE.THREAD() instead assumes the arrays have equal length and folds over the reduction expression with the n-th expression in each iterator at a time. Used by operator overloading to implement element-wise and `sum` operations.
* This changes the DAE slightly
- Implemented DAE.FuncArg as a uniontype instead of tuple (DAE change)
- Some better simplification for ASUB (ranges and reductions)
- And some more things. Hopefully the major changes are all listed.
22 lines of code changed in 1 file:
Replace measureTime=true with +d=measureTime in buildModel/etc
- Fix code generation for profiling of function calls (was disabled)
- Fix the counter for number of profiling blocks so the profiling now includes the measured blocks again
4 lines of code changed in 4 files:
[Janitor mode] Fix whitespace
20 lines of code changed in 2 files:
#2580
- Don't clear the error-buffer if the simulate command fails (so it is possible to use the normal error commands to query errors)
15 lines of code changed in 3 files:
Fix for #2062:
- Better handling of cardinality.
26 lines of code changed in 1 file:
- Changed lib/omlibrary/Modelica... to Modelica... for testsuite messages (to work better with build symlinked to /usr)
- Added reading of env.var CC at start to be able to change CC in pre-compiled omc version
2 lines of code changed in 1 file:
Fix for #2503:
- Propagate visibility prefix to components of structured components.
19 lines of code changed in 1 file:
- expected results after revert of r17842
1 lines of code changed in 1 file:
- use Error.addCompilerWarning instead of print in BackendDAETransform
1 lines of code changed in 1 file:
Recommit r17828. Updated expected outputs.
1 lines of code changed in 1 file:
- fix tests
2 lines of code changed in 1 file:
- fix tests
34 lines of code changed in 1 file:
Fix for bug: #2346
- sort also the variable components for instantiation based on their bindings
- sort the DAE in the order it is defined in the Modelica file
1 lines of code changed in 1 file:
- fix testsuite due to r17237
154 lines of code changed in 9 files:
Bump MSL to 3.2.1 beta3
1 lines of code changed in 1 file:
Bump MSL version
1 lines of code changed in 1 file:
Revert r15962 (accidently replaced 8 spaces with 2 spaces; was supposed to be 1 tab to 2 spaces but text editors messed up the command)
Contact me if you have problems merging your working copy
8 lines of code changed in 2 files:
[Janitor mode] Fix tabs
8 lines of code changed in 2 files:
#1863 Removed simulation options noClean and storeInTemp since they do not work and there are no tests for them
3 lines of code changed in 3 files:
Changed rand() to tinymt64 (Mersenne Twister). This implementation provides deterministic "random" matching. The randomness is always the same :)
- A few more tests are failing, but some started succeeding. Probably only need to update expected results for the changed ones.
46 lines of code changed in 1 file:
Update MSL 3.2.1 to latest revisions. Breaks mainly Media and FundamentalWave (Media should be possible to run with scodeInstShortcut)
64 lines of code changed in 1 file:
- update expected result
2 lines of code changed in 1 file:
Fix tests
1 lines of code changed in 1 file:
(30 more)