Directory testsuite/flattening/modelica/connectors/

Directory Created:
2012-09-27 04:36
Total Files:
67
Deleted Files:
0
Lines of Code:
5015

[root]/testsuite/flattening/modelica/connectors

Lines of Code

testsuite/flattening/modelica/connectors/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 441 (100.0%) 6820 (100.0%) 15.4
alash325 213 (48.3%) 3167 (46.4%) 14.8
sjoelund.se 66 (15.0%) 917 (13.4%) 13.8
perost 55 (12.5%) 827 (12.1%) 15.0
adrpo 21 (4.8%) 812 (11.9%) 38.6
cschubert 2 (0.5%) 667 (9.8%) 333.5
hudson 74 (16.8%) 327 (4.8%) 4.4
vitalij 7 (1.6%) 62 (0.9%) 8.8
mahge930 3 (0.7%) 41 (0.6%) 13.6

Most Recent Commits

mahge930 2015-03-13 20:38 Rev.: 25096

+ 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.

40 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+8 -8), ConnectEnumArray.mo (+32 -32)
vitalij 2015-01-03 13:35 Rev.: 23931

imporved negate for binary

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
vitalij 2014-11-19 01:59 Rev.: 23440

-improved simplify
-update test

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
sjoelund.se 2014-10-22 23:20 Rev.: 22881

- Load dependent libraries when using the command-line (`omc a.mo Modelica` now loads ModelicaServices)
- Allow calling the compiler without running any files (`omc +i=Modelica.Blocks.Examples.Filter`)
- Print a parser error message if we fail to load a library from command-line (also if this is the "main" file)

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: InitialConnection.mo (+3)
hudson 2014-10-05 19:20 Rev.: 22597

[Janitor mode] Fix whitespace

6 lines of code changed in 3 files:

  • testsuite/flattening/modelica/connectors: ConnectFlowEffort.mo (+2 -2), ConnectFlowEffort2.mo (+2 -2), Units2.mo (+2 -2)
adrpo 2014-10-05 19:18 Rev.: 22596

- properly propagate attributes of components on redeclare
- properly fill cref subscripts in Static.fillCrefSubscripts (still stuck in old days with T_ARRAY of only one dim)
- show the connector components when there is a connection mismatch

30 lines of code changed in 3 files:

  • testsuite/flattening/modelica/connectors: ConnectFlowEffort.mo (+10 -1), ConnectFlowEffort2.mo (+10 -1), Units2.mo (+10 -1)
adrpo 2014-09-30 07:08 Rev.: 22499

- remove MSL 3.2.1 MultiBody patch

9 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+9 -8)
adrpo 2014-09-30 06:33 Rev.: 22496

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)

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+6 -6)
sjoelund.se 2014-09-09 15:01 Rev.: 22221

#2786
- Fix code generation for multiple iterators (threaded)
- Ceval constant function calls in the front-end

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
perost 2014-09-08 16:19 Rev.: 22170

Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.

222 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+22 -22), ConnectEnumArray.mo (+200 -200)
hudson 2014-09-01 13:56 Rev.: 22067

[Janitor mode] Fix whitespace

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: ConnectInnerOuterArray1.mo (+3 -3)
perost 2014-09-01 13:28 Rev.: 22066

Fix for #2793:
- Hack to handle messed up cref types when checking subscript bounds for connects.

53 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: ConnectInnerOuterArray1.mo (new 52), Makefile (+1)
vitalij 2014-08-19 11:24 Rev.: 21907

added some simplify rules

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+3 -3)
sjoelund.se 2014-08-18 11:11 Rev.: 21896

Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)

40 lines of code changed in 9 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+6 -6), Connect7.mo (+1 -1), ConnectEnumArray.mo (+25 -25), ConnectInner2.mo (+2 -2), ConnectInner3.mo (+1 -1), ConnectInnerOuter.mo (+1 -1), ConnectInnerOuter2.mo (+1 -1), ConnectionOrder1.mo (+1 -1), ConnectionOrder2.mo (+2 -2)
sjoelund.se 2014-08-17 17:28 Rev.: 21891

Tail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)

11 lines of code changed in 5 files:

  • testsuite/flattening/modelica/connectors: Connect15.mo (+1 -1), Connect18.mo (+5 -5), Connect7.mo (+1 -1), Connect8.mo (+1 -1), ConnectArray1.mo (+3 -3)
perost 2014-07-01 15:07 Rev.: 21383

Fix for #2741:
- Fix connector size count for subtypes of basic types.

31 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: ConnectorSubtypeComp.mo (new 30), Makefile (+1)
sjoelund.se 2014-06-03 12:34 Rev.: 20931

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

23 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+23 -23)
perost 2014-05-28 13:53 Rev.: 20867

Fix for #2705:
- Propagate inline annotations in derived component functions.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
perost 2014-05-26 15:38 Rev.: 20832

- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.

17 lines of code changed in 8 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1), ConnectParamArray.mo (+3 -3), ConnectTypes.mo (+2 -2), TankHybridPI.mo (+3 -3), TankHybridPID.mo (+4 -4), TankPI.mo (+1 -1), TankPID.mo (+1 -1), TanksConnectedPI.mo (+2 -2)
sjoelund.se 2014-05-18 20:40 Rev.: 20675

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:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
vitalij 2014-05-14 18:28 Rev.: 20606

- added rule
a - (-b)*c = a + b*c

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
vitalij 2014-05-14 17:28 Rev.: 20604

- added rule
- x*x = x^2

motivation: simplification for derivations as for expression evaluation

26 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+26 -26)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

203 lines of code changed in 59 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mo (+34 -34), Connect1.mo (+2 -2), Connect10.mo (+2 -2), Connect11.mo (+2 -2), Connect12.mo (+1 -1), Connect13.mo (+3 -3), Connect14.mo (+2 -2), Connect15.mo (+2 -2), Connect16.mo (+1 -1), Connect17.mo (+1 -1), Connect18.mo (+3 -3), Connect2.mo (+2 -2), Connect3.mo (+1 -1), Connect4.mo (+2 -2), Connect5.mo (+2 -2), Connect6.mo (+3 -3), Connect7.mo (+2 -2), Connect8.mo (+2 -2), Connect9.mo (+2 -2), ConnectArray1.mo (+2 -2), ConnectArrayCond.mo (+3 -3), ConnectConst1.mo (+1 -1), ConnectFlowEffort.mo (+3 -3), ConnectFlowEffort2.mo (+3 -3), ConnectForEquations.mo (+2 -2), ConnectHierarchical1.mo (+1 -1), ConnectHierarchical2.mo (+1 -1), ConnectInner1.mo (+1 -1), ConnectInner2.mo (+2 -2), ConnectInner3.mo (+1 -1), ConnectInnerOuter.mo (+1 -1), ConnectInnerOuter2.mo (+2 -2), ConnectInnerOuter3.mo (+1 -1), ConnectParamArray.mo (+2 -2), ConnectTheSameConnector.mo (+5 -5), ConnectTwoSources.mo (+3 -3), ConnectTypes.mo (+2 -2), ConnectionOrder1.mo (+2 -2), ConnectionOrder2.mo (+2 -2), ConnectorCompOrder.mo (+2 -2), ConnectorIllegal.mo (+2 -2), ConnectorIllegal2.mo (+2 -2), ConnectorIllegal3.mo (+1 -1), ConnectorIllegal4.mo (+1 -1), ConnectorInheritance1.mo (+2 -2), EqualityConstraintLookup1.mo (+4 -4), HeatTank.mo (+7 -7), HeatTankExpanded.mo (+7 -7), InitialConnection.mo (+3 -3), Tank.mo (+3 -3), TankHybridPI.mo (+6 -6), TankHybridPID.mo (+7 -7), TankPI.mo (+12 -12), TankPID.mo (+11 -11), TanksConnectedPI.mo (+12 -12), Units1.mo (+4 -4), Units2.mo (+4 -4), ZeroDimUnconnectedFlow1.mo (+2 -2), ZeroDimUnconnectedFlow2.mo (+2 -2)
adrpo 2014-03-25 22:04 Rev.: 19757

- update tests

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
vitalij 2014-03-25 17:46 Rev.: 19749

- added rules for signum
- added rule for e/exp(e1) => e * exp(-e1)

11 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+11 -11)
perost 2014-02-18 14:24 Rev.: 19160

Fix for #2587:
- Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...].
- Improved Static.elabMatrixCatTwoExp so it handles more cases.

9 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+9 -9)
vitalij 2014-02-14 00:04 Rev.: 19111

- 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

19 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+19 -19)
perost 2014-02-06 14:49 Rev.: 18996

- Changed DAEDump to always print out modifications after the variable name
instead of after the type name.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
perost 2014-02-05 18:24 Rev.: 18987

Fix for #2062:
- Better handling of cardinality.

0 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (-26), ConnectTypes.mo (-1)
adrpo 2013-10-24 15:41 Rev.: 17871

- expected results after revert of r17842

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
mahge930 2013-10-23 13:33 Rev.: 17842

Recommit r17828. Updated expected outputs.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
adrpo 2013-10-13 18:37 Rev.: 17667

- last fixes for ExternalMedia
+ fully qualify paths in ClassInf.State
+ do List.unique on records so we don't get duplicates
+ now at least 5 models in ExternalMedia can be compiled
- fix an issue with lookup where path to be looked up
contains the name of the model in the scope we're in.
this fixes instantiation of
ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,
probably more models in ThemoPower.
added test:
testsuite/flattening/modelica/others/ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.mos

5 lines of code changed in 5 files:

  • testsuite/flattening/modelica/connectors: ConnectFlowEffort.mo (+1 -1), ConnectFlowEffort2.mo (+1 -1), ConnectorIllegal3.mo (+1 -1), ConnectorIllegal4.mo (+1 -1), Units2.mo (+1 -1)
adrpo 2013-09-26 04:25 Rev.: 17388

- 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

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
adrpo 2013-09-22 12:07 Rev.: 17326

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

88 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+88 -88)
sjoelund.se 2013-07-24 11:22 Rev.: 16662

Bump MSL to latest

11 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+11 -11)
hudson 2013-07-04 17:43 Rev.: 16546

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/connectors: EqualityConstraintLookup1.mo (+1)
perost 2013-07-04 17:41 Rev.: 16545

Fix for #2163:
- Fully qualify the paths to equalityConstraint functions so they can be found properly.

64 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: EqualityConstraintLookup1.mo (new 63), Makefile (+1)
perost 2013-06-10 13:56 Rev.: 16277

- Fixed punctuation of error messages.

6 lines of code changed in 3 files:

  • testsuite/flattening/modelica/connectors: ConnectFlowEffort.mo (+2 -2), ConnectFlowEffort2.mo (+2 -2), Units2.mo (+2 -2)
sjoelund.se 2013-06-04 20:23 Rev.: 16216

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:

  • testsuite/flattening/modelica/connectors: CGraphBug.mos (+1 -1)
hudson 2013-05-02 21:27 Rev.: 15965

[Janitor mode] Fix tabs

30 lines of code changed in 2 files:

  • testsuite/flattening/modelica/connectors: ConnectForEquations.mo (+18 -18), MultipleInheritanceConnect.mo (+12 -12)

(29 more)

Generated by StatSVN 0.7.0