Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Blocks.LimitersHomotopy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 189.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 244.1 MB, free: 8.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007849/0.000785, allocations: 99.94 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3207/0.3207, allocations: 44.82 MB / 393 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3326, allocations: 62.95 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4467, allocations: 90.21 MB / 0.6046 GB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.4468, allocations: 63.97 kB / 0.6046 GB, free: 15.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02994/0.4768, allocations: 11.33 MB / 0.6157 GB, free: 3.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4768, allocations: 0 / 0.6157 GB, free: 3.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.4769, allocations: 16 kB / 0.6157 GB, free: 3.691 MB / 426.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.001573/0.4785, allocations: 0.9312 MB / 0.6166 GB, free: 2.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4785, allocations: 8.031 kB / 0.6166 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.4788, allocations: 72.19 kB / 0.6167 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.4793, allocations: 398.8 kB / 0.6171 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4793, allocations: 37.38 kB / 0.6171 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.4794, allocations: 52.28 kB / 0.6171 GB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4808, allocations: 0.6611 MB / 0.6178 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4808, allocations: 192 / 0.6178 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.4809, allocations: 23.94 kB / 0.6178 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.4809, allocations: 12 kB / 0.6178 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.4825, allocations: 0.6244 MB / 0.6184 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.4855, allocations: 1.941 MB / 0.6203 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.487, allocations: 0.6972 MB / 0.621 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.4878, allocations: 361.8 kB / 0.6214 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.4879, allocations: 19.98 kB / 0.6214 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4879, allocations: 46.67 kB / 0.6214 GB, free: 13.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.4879, allocations: 0 / 0.6214 GB, free: 13.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002471/0.4904, allocations: 0.9083 MB / 0.6223 GB, free: 12.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.4905, allocations: 290.7 kB / 0.6226 GB, free: 12.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.4908, allocations: 349.5 kB / 0.6229 GB, free: 11.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.4909, allocations: 33.7 kB / 0.623 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.491, allocations: 260.1 kB / 0.6232 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4912, allocations: 161.7 kB / 0.6234 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.4912, allocations: 8 kB / 0.6234 GB, free: 11.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4913, allocations: 362.8 kB / 0.6237 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.4921, allocations: 272.9 kB / 0.624 GB, free: 10.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.4929, allocations: 415.7 kB / 0.6244 GB, free: 10.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4944, allocations: 0.6603 MB / 0.625 GB, free: 9.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.4944, allocations: 4 kB / 0.625 GB, free: 9.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003432/0.4979, allocations: 1.243 MB / 0.6262 GB, free: 8.363 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.498, allocations: 193.2 kB / 0.6264 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.498, allocations: 0 / 0.6264 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.4998, allocations: 492.8 kB / 0.6269 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.5003, allocations: 115.8 kB / 0.627 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.513, allocations: 11.95 MB / 0.6387 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.5137, allocations: 123.6 kB / 0.6388 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.5137, allocations: 20 kB / 0.6388 GB, free: 10.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.5137, allocations: 8 kB / 0.6388 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001967/0.5157, allocations: 0.7548 MB / 0.6395 GB, free: 9.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5157, allocations: 4 kB / 0.6395 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.5163, allocations: 165.8 kB / 0.6397 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.517, allocations: 195.7 kB / 0.6399 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.521, allocations: 3.52 MB / 0.6433 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.5215, allocations: 103.6 kB / 0.6434 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.5216, allocations: 24.25 kB / 0.6434 GB, free: 5.441 MB / 458.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 () * Number of clocked 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.0003479/0.5219, allocations: 248.9 kB / 0.6437 GB, free: 5.188 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5221, allocations: 47.47 kB / 0.6437 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.5239, allocations: 0.72 MB / 0.6444 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5239, allocations: 4 kB / 0.6444 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5239, allocations: 8 kB / 0.6444 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.5239, allocations: 3.984 kB / 0.6445 GB, free: 4.391 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.5248, allocations: 497 kB / 0.6449 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5248, allocations: 0 / 0.6449 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.5255, allocations: 155.8 kB / 0.6451 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.5256, allocations: 24.84 kB / 0.6451 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.5256, allocations: 12 kB / 0.6451 GB, free: 3.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008391/0.5265, allocations: 1.297 MB / 0.6464 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5265, allocations: 4.031 kB / 0.6464 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.5291, allocations: 1.532 MB / 0.6479 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.5292, allocations: 124.5 kB / 0.648 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.5292, allocations: 8 kB / 0.648 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.5299, allocations: 99.91 kB / 0.6481 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.53, allocations: 43.83 kB / 0.6481 GB, free: 388 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.53, allocations: 15.98 kB / 0.6482 GB, free: 372 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.5303, allocations: 235.2 kB / 0.6484 GB, free: 144 kB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5303, allocations: 0 / 0.6484 GB, free: 144 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.001311/0.5316, allocations: 227.5 kB / 0.6486 GB, free: 15.91 MB / 474.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 () * Number of clocked 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.0001702/0.5318, allocations: 128 kB / 0.6487 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005618/0.5374, allocations: 2.493 MB / 0.6512 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5375, allocations: 0 / 0.6512 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009541/0.5384, allocations: 454.3 kB / 0.6516 GB, free: 12.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5396, allocations: 134.7 kB / 0.6517 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.5421, allocations: 1.389 MB / 0.6531 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5426, allocations: 0.863 MB / 0.6539 GB, free: 10.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5428, allocations: 39.44 kB / 0.6539 GB, free: 10.23 MB / 474.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5428, allocations: 0 / 0.6539 GB, free: 10.23 MB / 474.7 MB Notification: Performance of Templates: time 0.0147/0.5575, allocations: 13.49 MB / 0.6671 GB, free: 12.75 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1)