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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4101/0.4101, allocations: 39.99 MB / 310.4 MB, free: 9.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005629/0.0005629, allocations: 18.97 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 57.96 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3409/0.4786, allocations: 77.98 MB / 0.5027 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04775/0.5264, allocations: 14.88 MB / 0.5172 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02448/0.551, allocations: 354.1 kB / 0.5176 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01734/0.5683, allocations: 4.035 MB / 0.5215 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04364/0.612, allocations: 11.2 MB / 0.5325 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.6186, allocations: 458.6 kB / 0.5329 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.6295, allocations: 4.738 MB / 0.5375 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007216/0.6368, allocations: 4.534 MB / 0.542 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.6401, allocations: 1.412 MB / 0.5433 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.645, allocations: 2.656 MB / 0.5459 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.6461, allocations: 188 kB / 0.5461 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.6482, allocations: 0.5657 MB / 0.5467 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.6505, allocations: 1.858 MB / 0.5485 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.6524, allocations: 0.9869 MB / 0.5494 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.6631, allocations: 6.735 MB / 0.556 GB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.6632, allocations: 0 / 0.556 GB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.6632, allocations: 0 / 0.556 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003935/0.6636, allocations: 0 / 0.556 GB, free: 13.7 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.0679/0.7315, allocations: 9.364 MB / 0.5652 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.7315, allocations: 8.031 kB / 0.5652 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00725/0.7388, allocations: 1.908 MB / 0.567 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/0.7464, allocations: 3.186 MB / 0.5701 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.7467, allocations: 291.5 kB / 0.5704 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003076/0.7498, allocations: 413.3 kB / 0.5708 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05146/0.8013, allocations: 19.52 MB / 0.5899 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.8015, allocations: 55.48 kB / 0.5899 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008959/0.8024, allocations: 179.9 kB / 0.5901 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005055/0.8074, allocations: 2.349 MB / 0.5924 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05371/0.8612, allocations: 22.37 MB / 0.6142 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.378/1.239, allocations: 52.5 MB / 0.6655 GB, free: 113.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05889/1.298, allocations: 9.187 MB / 0.6745 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006186/1.304, allocations: 3.011 MB / 0.6774 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/1.306, allocations: 359.9 kB / 0.6778 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.306, allocations: 55.31 kB / 0.6778 GB, free: 110.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 5.76e-06/1.306, allocations: 3.578 kB / 0.6778 GB, free: 110.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1131/1.419, allocations: 16.16 MB / 0.6936 GB, free: 108.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.42, allocations: 152.4 kB / 0.6937 GB, free: 108.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008801/1.428, allocations: 4.667 MB / 0.6983 GB, free: 106.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001082/1.429, allocations: 57.58 kB / 0.6984 GB, free: 106.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004263/1.434, allocations: 3.491 MB / 0.7018 GB, free: 104 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002205/1.436, allocations: 0.8372 MB / 0.7026 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/1.437, allocations: 138.2 kB / 0.7027 GB, free: 103.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005991/1.437, allocations: 0.595 MB / 0.7033 GB, free: 102.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004552/1.442, allocations: 3.144 MB / 0.7064 GB, free: 99.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/1.448, allocations: 7.436 MB / 0.7136 GB, free: 89.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/1.454, allocations: 4.688 MB / 0.7182 GB, free: 85.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-05/1.454, allocations: 44 kB / 0.7182 GB, free: 85.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01699/1.471, allocations: 10.55 MB / 0.7285 GB, free: 74.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.471, allocations: 72.92 kB / 0.7286 GB, free: 74.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002045/1.471, allocations: 152 kB / 0.7288 GB, free: 74.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/1.471, allocations: 224 kB / 0.729 GB, free: 74.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006137/1.478, allocations: 1.801 MB / 0.7307 GB, free: 72.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001759/1.478, allocations: 294.9 kB / 0.731 GB, free: 72.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.485, allocations: 0.924 MB / 0.7319 GB, free: 71.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.486, allocations: 0.5124 MB / 0.7324 GB, free: 70.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * 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.005675/1.492, allocations: 2.314 MB / 0.7347 GB, free: 68.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.493, allocations: 402.8 kB / 0.7351 GB, free: 67.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/1.499, allocations: 4.865 MB / 0.7398 GB, free: 62.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/1.499, allocations: 27.94 kB / 0.7398 GB, free: 62.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/1.499, allocations: 4 kB / 0.7398 GB, free: 62.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.499, allocations: 11.95 kB / 0.7399 GB, free: 62.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.516, allocations: 11.52 MB / 0.7511 GB, free: 51.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.516, allocations: 4.75 kB / 0.7511 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/1.518, allocations: 0.6045 MB / 0.7517 GB, free: 50.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/1.518, allocations: 27.27 kB / 0.7517 GB, free: 50.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.518, allocations: 147.8 kB / 0.7519 GB, free: 50.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/1.518, allocations: 24.72 kB / 0.7519 GB, free: 50.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.518, allocations: 11.94 kB / 0.7519 GB, free: 50.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00907/1.528, allocations: 8.886 MB / 0.7606 GB, free: 41.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.529, allocations: 0.5109 MB / 0.7611 GB, free: 40.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/1.53, allocations: 48 kB / 0.7611 GB, free: 40.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.531, allocations: 83.97 kB / 0.7612 GB, free: 40.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/1.532, allocations: 232.8 kB / 0.7614 GB, free: 40.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.532, allocations: 167.8 kB / 0.7616 GB, free: 40.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004394/1.536, allocations: 2.927 MB / 0.7644 GB, free: 37.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.203e-06/1.536, allocations: 0 / 0.7644 GB, free: 37.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007585/1.544, allocations: 1.37 MB / 0.7658 GB, free: 36.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 205 * 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.0005485/1.545, allocations: 193.3 kB / 0.766 GB, free: 35.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009578/1.554, allocations: 7.055 MB / 0.7729 GB, free: 28.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/1.554, allocations: 0 / 0.7729 GB, free: 28.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/1.557, allocations: 2.445 MB / 0.7752 GB, free: 26.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/1.561, allocations: 0.5316 MB / 0.7758 GB, free: 25.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.582, allocations: 14.11 MB / 0.7895 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/1.586, allocations: 3.6 MB / 0.7931 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005988/1.592, allocations: 2.302 MB / 0.7953 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.594, allocations: 0.5886 MB / 0.7959 GB, free: 5.184 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-05/1.594, allocations: 0 / 0.7959 GB, free: 5.184 MB / 494.1 MB Notification: Performance of Templates: time 0.3765/1.97, allocations: 56.41 MB / 0.851 GB, free: 153.6 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: