[root]/testsuite/flattening/modelica/others
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 850 (100.0%) | 43808 (100.0%) | 51.5 |
alash325 | 518 (60.9%) | 27127 (61.9%) | 52.3 |
adrpo | 45 (5.3%) | 7256 (16.6%) | 161.2 |
hudson | 101 (11.9%) | 4661 (10.6%) | 46.1 |
sjoelund.se | 97 (11.4%) | 3044 (6.9%) | 31.3 |
perost | 58 (6.8%) | 1329 (3.0%) | 22.9 |
vitalij | 20 (2.4%) | 261 (0.6%) | 13.0 |
mahge930 | 6 (0.7%) | 74 (0.2%) | 12.3 |
lochel | 4 (0.5%) | 34 (0.1%) | 8.5 |
wbraun | 1 (0.1%) | 22 (0.1%) | 22.0 |
+ 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.
44 lines of code changed in 1 file:
- update tests after r24990
- 3 tests fail now solving NLS systems during initialization:
* testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation-addDerAlias.mos
* testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.HeatingSystem.mos
* testsuite/simulation/libraries/msl32/Modelica.Fluid.Examples.PumpingSystem.mos
139 lines of code changed in 1 file:
- Improved deduction of implicit iteration ranges in for-loops.
- Added ALG_ASSERT, ALG_TERMINATE and ALG_REINIT to SCode.Statement,
to mimic how SCode.EEquation is structured.
- Various code cleanup.
1 lines of code changed in 1 file:
Fix parsing
3 lines of code changed in 2 files:
Re-enable diagonal() simplification with minor changes. Back-end can't handle unsimplified ones in some cases.
18 lines of code changed in 1 file:
+ Fix #2726.
Handle diagonal() in code generation instead of simplifying it.
2 lines of code changed in 1 file:
+ Removed some unnecessary asub creations.
+ consider subscripts when looking for cref dependencies.
10 lines of code changed in 3 files:
Fix for #3041:
- Implemented deduction of implicit iteration ranges for reductions.
0 lines of code changed in 3 files:
Baseline
22 lines of code changed in 1 file:
#3096 Implement prototype for dot operator
24 lines of code changed in 2 files:
- Improved the handling of if-expressions to better handle arrays with different
sizes in the branches.
14 lines of code changed in 1 file:
imporved negate for binary
2 lines of code changed in 1 file:
-improved simplify
-update test
6 lines of code changed in 1 file:
Fix simplify: simplify(((e1 op2 e) * e3) op1 ((e4*e5) op2 e))
38 lines of code changed in 1 file:
Fix for #2925:
- Don't force ceval of reduction iterators in functions.
- Fixed ceval of min/max of arrays.
0 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
1 lines of code changed in 1 file:
Fix for #2898:
- Made the compiler less sensitive to errors in unused models.
35 lines of code changed in 4 files:
- ignore illegal components in records and give a warning
- display the restriction first, then the path in Types.unparseType
- fix typo in testsuite/flattening/modelica/redeclare/Makefile
- update test (Linux has 64 bit, use that)
2 lines of code changed in 1 file:
- partial fix for #2858 (does not yet work with for iterators indexing the array of records)
* some tests are now actually giving correct results
- partial support for Connections.uniqueRoot and Connections.uniqueRootIndexes
* non standard operators: Connections.uniqueRoot and Connections.uniqueRootIndices are only partially implemented
* Connections.uniqueRoot currently does nothing, only collects information
* Connections.uniqueRootIndices needs to be implemented, it returns an array of ones (1) of size of first input
* See specification for these here (Modelica_StateGraph2):
https://github.com/modelica/Modelica_StateGraph2 and
https://trac.modelica.org/Modelica/ticket/984 and
http://www.ep.liu.se/ecp/043/041/ecp09430108.pdf
* any takers for the actual implementation? is not that complicated :)
- changed the way array types are printed out to be easier to follow
28 lines of code changed in 1 file:
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
13 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)
1113 lines of code changed in 2 files:
Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.
465 lines of code changed in 7 files:
#2791 Rewrite multiple iterators to nested reductions
56 lines of code changed in 1 file:
added some simplify rules
2 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)
59 lines of code changed in 4 files:
Tail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)
45 lines of code changed in 2 files:
- imporved rule x/c1 = c2*x
11 lines of code changed in 2 files:
#2724
- Reject non-constructor functions returning an external object
36 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
300 lines of code changed in 2 files:
- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.
354 lines of code changed in 4 files:
- added rule
a - (-b)*c = a + b*c
3 lines of code changed in 1 file:
- added rule
- x*x = x^2
motivation: simplification for derivations as for expression evaluation
3 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
781 lines of code changed in 77 files:
Improve error-message for type mismatch in function calls when there is only one candidate function
4 lines of code changed in 1 file:
- update tests
5 lines of code changed in 2 files:
- added rules for signum
- added rule for e/exp(e1) => e * exp(-e1)
5 lines of code changed in 2 files:
- added rule for sqrt(c*e) => c1*sqrt(e)
1 lines of code changed in 1 file:
added rule for (e * e1) * e => e1*e^2
12 lines of code changed in 1 file:
Fix for #2587:
- Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...].
- Improved Static.elabMatrixCatTwoExp so it handles more cases.
20 lines of code changed in 1 file:
- new simplify rule for a + (-b)/x = a - b/x
1 lines of code changed in 1 file:
(58 more)