[root]/testsuite/flattening/modelica/equations
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 322 (100.0%) | 2666 (100.0%) | 8.2 |
alash325 | 204 (63.4%) | 2097 (78.7%) | 10.2 |
hudson | 68 (21.1%) | 217 (8.1%) | 3.1 |
sjoelund.se | 29 (9.0%) | 175 (6.6%) | 6.0 |
perost | 14 (4.3%) | 108 (4.1%) | 7.7 |
adrpo | 3 (0.9%) | 63 (2.4%) | 21.0 |
vitalij | 4 (1.2%) | 6 (0.2%) | 1.5 |
#2786
- Fix code generation for multiple iterators (threaded)
- Ceval constant function calls in the front-end
30 lines of code changed in 1 file:
Tail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)
4 lines of code changed in 1 file:
added rules:
- a*x*b + c*x = x*(a*b + c)
- a*x + b*x*c = x*(a + b*c)
2 lines of code changed in 2 files:
Fix for #2723:
- Check for connect in when equations and if equations with non-parameter
conditions.
- Cleaned up some test cases.
77 lines of code changed in 7 files:
- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.
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.
40 lines of code changed in 2 files:
[Janitor mode] Fix whitespace
155 lines of code changed in 49 files:
- new simplify rule for a + (-b)/x = a - b/x
1 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
3 lines of code changed in 1 file:
#2525
- Put initial array equations that are reductions in the correct section
43 lines of code changed in 2 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
1 lines of code changed in 1 file:
- Fixed punctuation of error messages.
1 lines of code changed in 1 file:
Move some expressions around when you do simplifications only if this improves the complexity of the expression
1 lines of code changed in 1 file:
[Janitor mode] Fix tabs
42 lines of code changed in 9 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
19 lines of code changed in 9 files:
[Janitor mode] Fix tabs
19 lines of code changed in 9 files:
Use varargs for throwing assertions so we can produce better messages in the code generator
1 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- Added better error message for variable range expressions in for-equations.
25 lines of code changed in 2 files:
- Preserve the comment for the flattened class in the flattened output.
- Don't translate enumeration literals to integers when simplifying asubs.
2 lines of code changed in 2 files:
Fix tests
3 lines of code changed in 3 files:
Always use full pathnames for file info of parsed files
3 lines of code changed in 3 files:
- Fix line-endings
1 lines of code changed in 1 file:
- 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.
31 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.
31 lines of code changed in 1 file:
#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)
30 lines of code changed in 5 files:
- 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.
2 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)
2096 lines of code changed in 51 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 51 files:
-deleted ./flattening/modelica
1 lines of code changed in 51 files:
- Moved mofiles and record test files to testsuite/flattening/modelica
0 lines of code changed in 51 files: