[root]/testsuite/simulation/modelica/arrays
ReferenceFiles
(1 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 321 (100.0%) | 8615 (100.0%) | 26.8 |
adrpo | 40 (12.5%) | 3980 (46.2%) | 99.5 |
alash325 | 83 (25.9%) | 3045 (35.3%) | 36.6 |
hudson | 65 (20.2%) | 590 (6.8%) | 9.0 |
gustaf | 7 (2.2%) | 215 (2.5%) | 30.7 |
wbraun | 9 (2.8%) | 180 (2.1%) | 20.0 |
lochel | 13 (4.0%) | 155 (1.8%) | 11.9 |
perost | 10 (3.1%) | 140 (1.6%) | 14.0 |
sjoelund.se | 76 (23.7%) | 112 (1.3%) | 1.4 |
mahge930 | 10 (3.1%) | 105 (1.2%) | 10.5 |
vwaurich | 3 (0.9%) | 78 (0.9%) | 26.0 |
adeas31 | 4 (1.2%) | 8 (0.1%) | 2.0 |
jfrenkel | 1 (0.3%) | 7 (0.1%) | 7.0 |
- Expected output.
3 lines of code changed in 3 files:
Test case for bug #3214 was renamed and added to Makefile.
109 lines of code changed in 5 files:
[Janitor mode] Fix whitespace
3 lines of code changed in 1 file:
[Janitor mode] Set auto-props
2 lines of code changed in 2 files:
Test case for bug #3214.
106 lines of code changed in 2 files:
[Janitor mode] Fix whitespace
135 lines of code changed in 1 file:
Fix #3187 (well, not really)
- re-added support for array equations of the form: der(x_arr) = fcall() * x_arr; in SimCodeUtil.createSingleArrayEqnCode (r24947 changes removed that)
- added test testsuite/simulation/modelica/arrays/Breaker_total.mos
- minor change in Compiler/Template/DAEDumpTpl.tpl
1089 lines of code changed in 3 files:
[Janitor mode] Set auto-props
26 lines of code changed in 3 files:
- Improved array-equation handling in the backend
- Array equations now contain Exp for lhs
- Fix #3184 again (broke it with r24930)
- Test cases for #3184 and #3188
83 lines of code changed in 4 files:
[Janitor mode] Fix whitespace
217 lines of code changed in 1 file:
- add test for bug #3187
2349 lines of code changed in 3 files:
+ Cleaned up ComponentReference handling in the code generators. Less clutter. Reuse functions as much as possible.
+ Now we can use offsetting to index arrays in generated code. works for qualified Crefs as well.
- Some issues still remain (e.g. alias elimination) so we don't use offsetting by default.
only used when the cref involves variable indexes for now. Still might give erroneous results if some array members are missing though.
+ Improved handling of multi-variable return functions (*tuple returns).
+ fix for a case where wrong types were used when creating crefs in front-end.
2 lines of code changed in 1 file:
- Expected output of tests using csv.
5 lines of code changed in 1 file:
Fix bug #2980
- use GC_malloc_uncollectable to signal that the arrays of strings are roots
- added test gc2980.mos
33 lines of code changed in 5 files:
- partial fix for bug #2980 (the model given in the ticket works but the last model in the comments does not yet)
- use malloc_atomic instead of malloc_string as use use modelica_string now
- typedef m_string as modelica_string
- use *malloc instead of *malloc_atomic in some more places
- add test gc.mos
197 lines of code changed in 3 files:
Big changes. You will need to bootstrap omc from scratch.
- Added function `sourceInfo()`, which returns the file and positions of the call in the source code (useful to produce error-messages that point inside the compiler itself).
- Changed all Absyn.Info to the built-in SourceInfo uniontype
- Added SourceInfo to GlobalScript.IEXP (previously only statements had SourceInfo)
- Changed System.readLine to fail if the file does not exist. The scripting function returns an empty string on failure.
A new bootstrapping tarball has been created. Some of the new features you can use in the compiler:
- (Limited) assignment to metarecord fields (r23120)
- Use new built-in function arrayAppend and Dangerous.arrayCreateNoInit (r23106)
- import MetaModelica.Dangerous (r23001)
- SourceInfo (this commit)
2 lines of code changed in 1 file:
- fix missing separator.
1 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- #2911 fixed. replace also comma in a generated variable
42 lines of code changed in 2 files:
- fix missing separator
2 lines of code changed in 1 file:
+ Improve r22851. Fix 2452.
+ Proper counting of algorithm section outputs. Make sure we don't count sections from array components multiple times.
5 lines of code changed in 2 files:
- fix expected output, even if it still get handled wrong (see #2452)
10 lines of code changed in 2 files:
Fix #2452. Improve #2271 (and also #2112 maybe ?). Counting of algorithm section equation outputs involving arrays and records.
6 lines of code changed in 1 file:
[Janitor mode] Fix whitespace
1 lines of code changed in 1 file:
Fix bug #2837
- properly handle array equations in RemoveSimpleEquations.mo
37 lines of code changed in 3 files:
Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.
7 lines of code changed in 1 file:
+ New sorting for back-end variables.
- subscripts are compared only if the crefs match without considering subs. i.e. pushed to the end of the cref.
+ Fixed state-sets generation and initialization to use the correct indexing.
- Used to be transposed.
5 lines of code changed in 1 file:
- an other attempt to fix IndexReduction
1 lines of code changed in 1 file:
Expected output
2 lines of code changed in 1 file:
- fixed index reduction (kudos to Jens)
- use higher order derivative index instead of just counting up
0 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.
3 lines of code changed in 1 file:
Replace measureTime=true with +d=measureTime in buildModel/etc
- Fix code generation for profiling of function calls (was disabled)
- Fix the counter for number of profiling blocks so the profiling now includes the measured blocks again
35 lines of code changed in 34 files:
[Janitor mode] Fix whitespace
118 lines of code changed in 37 files:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- fix #2336
- move optimization module 'inlineArrayEqn' to InlineArrayEquations.mo
- add description for optimization module 'inlineArrayEqn'
- remove unused modules
22 lines of code changed in 2 files:
- improved fix to #2510 and also the testcase for enumeration, interger and boolean.
40 lines of code changed in 1 file:
[Janitor mode] Set auto-props
1 lines of code changed in 1 file:
- fix for #2510. Substract one to map modelica index(1:n) to c index(0:(n-1))
39 lines of code changed in 2 files:
[Janitor mode] Set auto-props
54 lines of code changed in 2 files:
- added NPendulum to array tests
78 lines of code changed in 3 files:
(28 more)