[root]/testsuite/flattening/libraries/3rdParty/Exercises
1
(5 files, 194 lines)
2
(4 files, 234 lines)
3
(1 files, 6 lines)
ServoSystem1
(2 files, 532 lines)
Scripts
(4 files, 96 lines)
4
(1 files, 7 lines)
ServoSystem3
(2 files, 1452 lines)
Scripts
(3 files, 50 lines)
5
(3 files, 301 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 94 (100.0%) | 61116 (100.0%) | 650.1 |
adrpo | 23 (24.5%) | 35667 (58.4%) | 1550.7 |
perost | 12 (12.8%) | 12927 (21.2%) | 1077.2 |
sjoelund.se | 42 (44.7%) | 10904 (17.8%) | 259.6 |
vitalij | 8 (8.5%) | 819 (1.3%) | 102.3 |
mahge930 | 5 (5.3%) | 712 (1.2%) | 142.4 |
lochel | 2 (2.1%) | 67 (0.1%) | 33.5 |
adeas31 | 1 (1.1%) | 17 (0.0%) | 17.0 |
hudson | 1 (1.1%) | 3 (0.0%) | 3.0 |
- Expected output.
17 lines of code changed in 1 file:
+ 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.
392 lines of code changed in 1 file:
+ Removed some unnecessary asub creations.
+ consider subscripts when looking for cref dependencies.
8 lines of code changed in 1 file:
imporved negate for binary
6 lines of code changed in 1 file:
-improved simplify
-update test
12 lines of code changed in 1 file:
+ Put correct types when vectorizing qualified assignments.
- this used to send wrong types all the way to code generation.
6 lines of code changed in 1 file:
Make loadFile("Modelica/package.mo") also consider the uses-annotation and load those packages (just like loadModel does, but with a different MODELICAPATH)
8 lines of code changed in 2 files:
- fix bug #2899
- partial fix for bug #2484 (still needs some work on dae declaring complex components, i.e. connectors inside expandable connector)
215 lines of code changed in 1 file:
- remove MSL 3.2.1 MultiBody patch
24 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)
1144 lines of code changed in 1 file:
#2786
- Fix code generation for multiple iterators (threaded)
- Ceval constant function calls in the front-end
49 lines of code changed in 1 file:
Fix for #2806:
- Remove input/output also from record components that are not top-level.
1716 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.
4340 lines of code changed in 1 file:
added some simplify rules
35 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)
562 lines of code changed in 2 files:
- imporved rule x/c1 = c2*x
4 lines of code changed in 1 file:
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
1132 lines of code changed in 1 file:
Fix for #2705:
- Propagate inline annotations in derived component functions.
6 lines of code changed in 1 file:
- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.
440 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.
49 lines of code changed in 1 file:
- added rule
a - (-b)*c = a + b*c
12 lines of code changed in 1 file:
- added rule
- x*x = x^2
motivation: simplification for derivations as for expression evaluation
302 lines of code changed in 1 file:
- update tests
12 lines of code changed in 1 file:
- added rules for signum
- added rule for e/exp(e1) => e * exp(-e1)
367 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.
323 lines of code changed in 1 file:
- 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
81 lines of code changed in 1 file:
- move warnings for parameters from front end to back end
- get rid of false warnings
67 lines of code changed in 2 files:
Fix #2566 in the FrontEnd
- report parameter T p(start = value, fixed = true) and use the start value.
472 lines of code changed in 2 files:
- Changed DAEDump to always print out modifications after the variable name
instead of after the type name.
386 lines of code changed in 1 file:
Fix for #2062:
- Better handling of cardinality.
6 lines of code changed in 2 files:
Fix for #2503:
- Propagate visibility prefix to components of structured components.
5167 lines of code changed in 1 file:
- expected results after revert of r17842
86 lines of code changed in 1 file:
Recommit r17828. Updated expected outputs.
86 lines of code changed in 1 file:
- 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
619 lines of code changed in 1 file:
- fix bug #2363
- keep smooth(0, ...) in Static.mo
- handle smooth(0, ...) in Ceval.mo (smooth(0, constant) -> constant)
- handle smooth in Codegen.tpl
- update expected output for tests
- NOTE: Modelica.Electrical.Analog.Examples.SimpleTriacCircuit gives small numeric differences, use the OpenModelica result file
6 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
653 lines of code changed in 1 file:
Bump MSL version to RC1 (+1 commit so it parses)
70 lines of code changed in 1 file:
Bump MSL to latest
1662 lines of code changed in 1 file:
Bump MSL to 3.2.1 beta3
16 lines of code changed in 1 file:
Move some expressions around when you do simplifications only if this improves the complexity of the expression
49 lines of code changed in 1 file:
(35 more)