[root]/testsuite/flattening/modelica/operators
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 306 (100.0%) | 2402 (100.0%) | 7.8 |
alash325 | 204 (66.7%) | 1350 (56.2%) | 6.6 |
perost | 25 (8.2%) | 682 (28.4%) | 27.2 |
adrpo | 10 (3.3%) | 170 (7.1%) | 17.0 |
hudson | 37 (12.1%) | 126 (5.2%) | 3.4 |
sjoelund.se | 27 (8.8%) | 64 (2.7%) | 2.3 |
lochel | 1 (0.3%) | 8 (0.3%) | 8.0 |
wbraun | 1 (0.3%) | 1 (0.0%) | 1.0 |
vitalij | 1 (0.3%) | 1 (0.0%) | 1.0 |
- 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:
[Janitor mode] Set auto-props
5 lines of code changed in 5 files:
Fix for #3041:
- Implemented deduction of implicit iteration ranges for reductions.
351 lines of code changed in 8 files:
Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.
3 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)
1 lines of code changed in 1 file:
Tail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)
1 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
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.
1 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
71 lines of code changed in 25 files:
Fix for #2585:
- Handle cardinality on arrays properly.
42 lines of code changed in 2 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
1 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- Added disableRecordConstructorOutput debug flag.
- Handle matrices in min/max better.
- Handle arrays with more than two dimensions better in product.
- Fix array types when slicing vars with more than two dimensions.
85 lines of code changed in 2 files:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
Fix for #2062:
- Better handling of cardinality.
48 lines of code changed in 3 files:
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
7 lines of code changed in 2 files:
#2242
- bug fix. Added mising case for tuples in Expression.factorsWork
1 lines of code changed in 1 file:
[Janitor mode] Fix tabs
9 lines of code changed in 2 files:
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
39 lines of code changed in 3 files:
[Janitor mode] Fix tabs
39 lines of code changed in 3 files:
Fix eol-style
4 lines of code changed in 4 files:
Fix for #2159:
- Sort connector components before connecting them, to make sure that their
order doesn't matter.
2 lines of code changed in 1 file:
Fix for #2143:
- Print out element-wise operators in flattened code when appropriate.
144 lines of code changed in 5 files:
Fix tests
6 lines of code changed in 6 files:
Always use full pathnames for file info of parsed files
6 lines of code changed in 6 files:
- Fix line-endings
2 lines of code changed in 2 files:
- use reinit in test operators/reinit.mo - otherwise the test is senseless ;-)
8 lines of code changed in 1 file:
- make tests do what they are suppose to.
replaced reinit inside when initial() with assignment or initial equation.
20 lines of code changed in 2 files:
- fix tests.
9 lines of code changed in 2 files:
- revert changes to templates:
Compiler/Template/CodegenC.tpl
Compiler/Template/ExpressionDumpTpl.tpl
as things started to break for no apparent reason!
- revert changes to tests.
8 lines of code changed in 1 file:
- expected output
- remove the merging of modifiers in SCodeAnalyseRedeclare.mo for now as it seems to have some issues with the AVM models.
8 lines of code changed in 1 file:
- fixes for bug: #1953
Static.mo
- handle Tuple op nonTuple
- handle op Tuple
- test for it: testsuite/flattening/modelica/operators/OperatorsTuples.mo
Inst.mo
- workaround for Modelica MSL bug: https://trac.modelica.org/Modelica/ticket/627
- remove when fixed
118 lines of code changed in 2 files:
#1922
- Handle type-casting from records with the same components but different names'
- Improve scalarization of record equations in the front-end. Made it worse in the back-end (back-end does not handle cast of records)
2 lines of code changed in 1 file:
- Removed the special case for Real casts when dumping expressions, since
Modelica does not have a Real() function.
- Some SCodeInst fixes.
- Fixed compiler warnings in corbaimpl.cpp.
- Updated testcases due to the expression dumping change.
6 lines of code changed in 2 files:
- Improve error-messages for operator deoverloading
1 lines of code changed in 1 file:
- Moved mofiles to flattening/modelica + grouping them based on language feature tests + update Makefile for modelica asserts(just to check if it works)
1206 lines of code changed in 40 files:
- fix Makefile for flattening/libraries/msl221/, flattening/libraries/msl221/modelicaAdditions and testsuite
143 lines of code changed in 41 files:
- expandable,streams,records ,and redeclare directory from testsuite are moved to ./flattening/modelica plus updated the corresponding Make file
0 lines of code changed in 41 files:
-deleted ./flattening/modelica
1 lines of code changed in 41 files:
- Moved mofiles and record test files to testsuite/flattening/modelica
0 lines of code changed in 41 files: