Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004971/0.004971, allocations: 181.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00171/0.00171, allocations: 121.7 kB / 247.1 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1776/0.1776, allocations: 39.94 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.6e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08347, allocations: 54.86 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.3379, allocations: 86.96 MB / 0.5221 GB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.3381, allocations: 82.27 kB / 0.5221 GB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2166/0.5547, allocations: 87.22 MB / 0.6073 GB, free: 14.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004212/0.5552, allocations: 99.98 kB / 0.6074 GB, free: 14.12 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: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.06415/0.6194, allocations: 9.125 MB / 0.6163 GB, free: 4.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6194, allocations: 11.97 kB / 0.6163 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.6295, allocations: 1.76 MB / 0.6181 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/0.6393, allocations: 3.402 MB / 0.6214 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.6397, allocations: 152 kB / 0.6215 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/0.6429, allocations: 287.8 kB / 0.6218 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02019/0.6631, allocations: 9.966 MB / 0.6315 GB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/0.6937, allocations: 13.45 MB / 0.6447 GB, free: 6.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004329/0.6942, allocations: 67.31 kB / 0.6447 GB, free: 6.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002869/0.6971, allocations: 32 kB / 0.6447 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/0.6998, allocations: 1.143 MB / 0.6459 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2603/0.9602, allocations: 53.81 MB / 0.6984 GB, free: 129.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009098/0.9693, allocations: 6.875 MB / 0.7051 GB, free: 129.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.9733, allocations: 2.908 MB / 0.708 GB, free: 129.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009618/0.9829, allocations: 6.449 MB / 0.7143 GB, free: 125.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.983, allocations: 57.33 kB / 0.7143 GB, free: 125.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 4.098e-06/0.983, allocations: 0 / 0.7143 GB, free: 125.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.003993/0.987, allocations: 2.678 MB / 0.7169 GB, free: 125.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.9871, allocations: 149.5 kB / 0.7171 GB, free: 125.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007568/0.9946, allocations: 3.778 MB / 0.7208 GB, free: 124.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9948, allocations: 25.7 kB / 0.7208 GB, free: 124.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.9971, allocations: 3.338 MB / 0.7241 GB, free: 123.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/0.9978, allocations: 0.705 MB / 0.7247 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004919/0.9983, allocations: 0 / 0.7247 GB, free: 122.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004837/0.9988, allocations: 0.5947 MB / 0.7253 GB, free: 122.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.002, allocations: 2.148 MB / 0.7274 GB, free: 122.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004916/1.007, allocations: 6.497 MB / 0.7338 GB, free: 116.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/1.012, allocations: 3.759 MB / 0.7374 GB, free: 116.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/1.012, allocations: 43.81 kB / 0.7375 GB, free: 116.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0133/1.025, allocations: 7.673 MB / 0.745 GB, free: 114.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.025, allocations: 3.969 kB / 0.745 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004089/1.026, allocations: 157 kB / 0.7451 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/1.026, allocations: 226.9 kB / 0.7453 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006424/1.033, allocations: 1.655 MB / 0.747 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003807/1.033, allocations: 310 kB / 0.7473 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/1.04, allocations: 0.7511 MB / 0.748 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.041, allocations: 456.1 kB / 0.7484 GB, free: 113.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00163/1.043, allocations: 497.6 kB / 0.7489 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009417/1.044, allocations: 367.2 kB / 0.7492 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.048, allocations: 2.467 MB / 0.7517 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/1.048, allocations: 27.34 kB / 0.7517 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.048, allocations: 0 / 0.7517 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.048, allocations: 10.47 kB / 0.7517 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008519/1.057, allocations: 3.207 MB / 0.7548 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.057, allocations: 0 / 0.7548 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.059, allocations: 328.3 kB / 0.7551 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.411e-05/1.059, allocations: 17.69 kB / 0.7552 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002914/1.059, allocations: 15.11 kB / 0.7552 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.059, allocations: 3.781 kB / 0.7552 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.059, allocations: 3.406 kB / 0.7552 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005794/1.065, allocations: 4.877 MB / 0.7599 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.066, allocations: 464.4 kB / 0.7604 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.067, allocations: 3.844 kB / 0.7604 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.069, allocations: 30.14 kB / 0.7604 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.069, allocations: 84.88 kB / 0.7605 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.07, allocations: 56.72 kB / 0.7605 GB, free: 108.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005342/1.075, allocations: 2.541 MB / 0.763 GB, free: 107.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007829/1.083, allocations: 1.222 MB / 0.7642 GB, free: 106.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006771/1.084, allocations: 148.3 kB / 0.7644 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007937/1.091, allocations: 4.835 MB / 0.7691 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.092, allocations: 0 / 0.7691 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/1.093, allocations: 1.275 MB / 0.7703 GB, free: 101 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.096, allocations: 373.3 kB / 0.7707 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/1.116, allocations: 8.67 MB / 0.7792 GB, free: 92.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007407/1.124, allocations: 4.015 MB / 0.7831 GB, free: 89.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/1.124, allocations: 0 / 0.7831 GB, free: 89.89 MB / 474.7 MB Notification: Performance of Templates: time 0.07508/1.199, allocations: 37.39 MB / 0.8196 GB, free: 59.72 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)