Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") translateModel(ModelicaTest.Blocks.LimitersHomotopy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controllerFeedbackPart1.y|controllerFeedbackPart2.y|controllerFeedbackPart3.y|controllerFeedbackPart4.y|controllerFeedbackPart5.y|controllerFeedbackPart6.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y|firstOrder5.y|firstOrder6.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008613/0.0008612, allocations: 98.91 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1838/0.1838, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.087e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.5025, allocations: 90.28 MB / 0.5995 GB, free: 3.738 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.5028, allocations: 68.66 kB / 0.5996 GB, free: 3.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03018/0.5329, allocations: 11.31 MB / 0.6106 GB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.533, allocations: 0 / 0.6106 GB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.254e-05/0.533, allocations: 19.94 kB / 0.6107 GB, free: 10.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001511/0.5345, allocations: 0.8701 MB / 0.6115 GB, free: 9.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5346, allocations: 11.97 kB / 0.6115 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.5349, allocations: 75.23 kB / 0.6116 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.5353, allocations: 386.6 kB / 0.612 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5353, allocations: 30.44 kB / 0.612 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.5354, allocations: 54.28 kB / 0.612 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.5361, allocations: 490.2 kB / 0.6125 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5361, allocations: 0 / 0.6125 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.5362, allocations: 21.5 kB / 0.6125 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5362, allocations: 11.95 kB / 0.6125 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.5367, allocations: 276 kB / 0.6128 GB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.5396, allocations: 1.931 MB / 0.6147 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.5403, allocations: 449.1 kB / 0.6151 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.5406, allocations: 210.8 kB / 0.6153 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.5406, allocations: 24.66 kB / 0.6153 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5407, allocations: 41.81 kB / 0.6154 GB, free: 5.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.5407, allocations: 0 / 0.6154 GB, free: 5.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007704/0.5414, allocations: 362.7 kB / 0.6157 GB, free: 5.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.5416, allocations: 290.7 kB / 0.616 GB, free: 4.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.5419, allocations: 300 kB / 0.6163 GB, free: 4.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.542, allocations: 39.89 kB / 0.6163 GB, free: 4.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.5421, allocations: 258.7 kB / 0.6166 GB, free: 4.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5423, allocations: 162.5 kB / 0.6167 GB, free: 4.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.5423, allocations: 6.875 kB / 0.6167 GB, free: 4.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5425, allocations: 363 kB / 0.6171 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.5427, allocations: 118.1 kB / 0.6172 GB, free: 3.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.5429, allocations: 260.7 kB / 0.6174 GB, free: 3.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.5432, allocations: 152.8 kB / 0.6176 GB, free: 3.586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5432, allocations: 0 / 0.6176 GB, free: 3.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002129/0.5453, allocations: 0.868 MB / 0.6184 GB, free: 2.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005329/0.5459, allocations: 1.308 MB / 0.6197 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5459, allocations: 4 kB / 0.6197 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.5472, allocations: 408 kB / 0.6201 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.5477, allocations: 102.5 kB / 0.6202 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/0.5537, allocations: 6.416 MB / 0.6265 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.5543, allocations: 125.9 kB / 0.6266 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.5543, allocations: 19.31 kB / 0.6266 GB, free: 10.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-06/0.5544, allocations: 8 kB / 0.6266 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.5554, allocations: 0.5042 MB / 0.6271 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5554, allocations: 0 / 0.6271 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.5559, allocations: 139.3 kB / 0.6272 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.5566, allocations: 202.7 kB / 0.6274 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/0.5597, allocations: 3.352 MB / 0.6307 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5602, allocations: 100.5 kB / 0.6308 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.5603, allocations: 22.88 kB / 0.6308 GB, free: 6.301 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5604, allocations: 145.2 kB / 0.631 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.5606, allocations: 47.44 kB / 0.631 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.5614, allocations: 423 kB / 0.6314 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5614, allocations: 12.03 kB / 0.6314 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5614, allocations: 3.953 kB / 0.6314 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5614, allocations: 7.984 kB / 0.6314 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.5621, allocations: 492.1 kB / 0.6319 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5622, allocations: 0 / 0.6319 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.5628, allocations: 151.3 kB / 0.632 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.5629, allocations: 20.84 kB / 0.6321 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.563, allocations: 14.23 kB / 0.6321 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007973/0.5638, allocations: 1.3 MB / 0.6333 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5638, allocations: 7.984 kB / 0.6334 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5648, allocations: 1.149 MB / 0.6345 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.5649, allocations: 124.4 kB / 0.6346 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.565, allocations: 19.27 kB / 0.6346 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.5656, allocations: 90.78 kB / 0.6347 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5657, allocations: 39.39 kB / 0.6347 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.5658, allocations: 23.83 kB / 0.6348 GB, free: 2.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.566, allocations: 232.1 kB / 0.635 GB, free: 2.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.566, allocations: 0 / 0.635 GB, free: 2.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00093/0.5669, allocations: 212.9 kB / 0.6352 GB, free: 2.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.5671, allocations: 115.7 kB / 0.6353 GB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.5707, allocations: 1.602 MB / 0.6369 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5707, allocations: 0 / 0.6369 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.5711, allocations: 295.7 kB / 0.6371 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.5718, allocations: 126.9 kB / 0.6373 GB, free: 168 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.5734, allocations: 0.9091 MB / 0.6382 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.5739, allocations: 0.8674 MB / 0.639 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.5742, allocations: 94.19 kB / 0.6391 GB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5743, allocations: 31.44 kB / 0.6391 GB, free: 14.27 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5743, allocations: 4 kB / 0.6391 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Templates: time 0.01425/0.5886, allocations: 9.301 MB / 0.6482 GB, free: 5.031 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)