[root]/testsuite/flattening/libraries/msl22/modelicaAdditions
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 193 (100.0%) | 15386 (100.0%) | 79.7 |
perost | 37 (19.2%) | 4812 (31.3%) | 130.0 |
sjoelund.se | 39 (20.2%) | 3582 (23.3%) | 91.8 |
hudson | 21 (10.9%) | 3146 (20.4%) | 149.8 |
adrpo | 21 (10.9%) | 1957 (12.7%) | 93.1 |
mahge930 | 20 (10.4%) | 925 (6.0%) | 46.2 |
vitalij | 49 (25.4%) | 854 (5.6%) | 17.4 |
adeas31 | 6 (3.1%) | 110 (0.7%) | 18.3 |
- Expected output.
110 lines of code changed in 6 files:
+ Handle nested array types when creating array equations.
+ Correct subscript ordering when expanding crefs.
+ Fix List.combinationMap to properly order combinations and combination lists. Also accumulate the results.
+ Added List.combination.
784 lines of code changed in 6 files:
Re-enable diagonal() simplification with minor changes. Back-end can't handle unsimplified ones in some cases.
108 lines of code changed in 4 files:
+ Fix #2726.
Handle diagonal() in code generation instead of simplifying it.
12 lines of code changed in 4 files:
+ Removed some unnecessary asub creations.
+ consider subscripts when looking for cref dependencies.
18 lines of code changed in 3 files:
-improved simplify
-update test
102 lines of code changed in 6 files:
+ Put correct types when vectorizing qualified assignments.
- this used to send wrong types all the way to code generation.
3 lines of code changed in 3 files:
Fix bug: #2854 (do scope versioning also in the top scope, but not for builtin classes and builtin types)
- note that flattening/modelica/declarations/Constant12.mo is actually correct now,
see m:#1397, well, except for the fact that it should tell that A.y does not have a binding
248 lines of code changed in 6 files:
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)
217 lines of code changed in 1 file:
Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.
2739 lines of code changed in 6 files:
added some simplify rules
2 lines of code changed in 2 files:
Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
565 lines of code changed in 6 files:
added rule x/(r*y) => (1/r)*x/y
6 lines of code changed in 1 file:
- imporved rule x/c1 = c2*x
84 lines of code changed in 4 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
317 lines of code changed in 6 files:
- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.
484 lines of code changed in 6 files:
- added rule
a - (-b)*c = a + b*c
51 lines of code changed in 6 files:
- added rule
- x*x = x^2
motivation: simplification for derivations as for expression evaluation
104 lines of code changed in 6 files:
[Janitor mode] Fix whitespace
568 lines of code changed in 7 files:
Adding new DAE.Element: INITIAL_NORETCALL (for initial equation sections)
6 lines of code changed in 5 files:
- update tests
51 lines of code changed in 6 files:
- added rules for signum
- added rule for e/exp(e1) => e * exp(-e1)
51 lines of code changed in 6 files:
added rule for (e * e1) * e => e1*e^2
88 lines of code changed in 4 files:
Fix for #2607:
- Take associativity into account when printing expressions.
92 lines of code changed in 5 files:
Fix for #2587:
- Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...].
- Improved Static.elabMatrixCatTwoExp so it handles more cases.
320 lines of code changed in 6 files:
- new simplify rule for a + (-b)/x = a - b/x
10 lines of code changed in 3 files:
- simplify rule x/r = x *(1/r) with test of numerical issues
can someone have a look of
./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos
236 lines of code changed in 6 files:
Fix for #2062:
- Better handling of cardinality.
0 lines of code changed in 1 file:
- expand expression only if it can use for simplify
120 lines of code changed in 5 files:
- Remove useless case in simplify (makes code slower)
- Removed some flattening tests since whenever a tiny simplify change is performed all thermosyspro and multibody flattening examples needed to be updated. They are simulated, and that is what is important.
29 lines of code changed in 6 files:
- some support for ExternalMedia (some more work is needed for full support)
- add function calls and external function inputs to dependency analysis in element sorting
- use Inst.updateCompeltsMods just in Inst.instElementList2
36 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
1369 lines of code changed in 6 files:
Move some expressions around when you do simplifications only if this improves the complexity of the expression
81 lines of code changed in 3 files:
- QUITE SOME CHANGES. Do make clean!
- fix old inst to work with Media and Fluid by default with no flags.
- got rid of some files and some of the error messages
- i will still keep +d=scodeInstShortcut for a while longer until I test more.
- Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos segfaults on Linux, works in Windows,
Modelica.Fluid.Examples.HeatingSystem does not work anymore (NLS problems again) I guess due to parameters moving around.
I will investigate more these issues in the next days.
36 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
2578 lines of code changed in 7 files:
[Janitor mode] Fix tabs
2578 lines of code changed in 14 files:
Preserve function comments and annotations for external functions
6 lines of code changed in 6 files:
Fix for #2159:
- Sort connector components before connecting them, to make sure that their
order doesn't matter.
1176 lines of code changed in 11 files:
- Preserve the comment for the flattened class in the flattened output.
- Don't translate enumeration literals to integers when simplifying asubs.
1 lines of code changed in 2 files: