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.001043/0.001043, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001393/0.001393, allocations: 177.3 kB / 15.95 MB, free: 216 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.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3479/0.3479, allocations: 40 MB / 310.4 MB, free: 9.629 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.000593/0.0005932, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1327, allocations: 57.95 MB / 436.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.2753/0.408, allocations: 73.53 MB / 0.4983 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03661/0.4446, allocations: 15.68 MB / 0.5136 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02133/0.466, allocations: 354.7 kB / 0.514 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01906/0.4851, allocations: 3.653 MB / 0.5175 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0422/0.5273, allocations: 10.28 MB / 0.5276 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.5335, allocations: 484.4 kB / 0.528 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007436/0.541, allocations: 2.408 MB / 0.5304 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007418/0.5484, allocations: 4.507 MB / 0.5348 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.5511, allocations: 1.184 MB / 0.5359 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/0.5547, allocations: 1.997 MB / 0.5379 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009218/0.5556, allocations: 188.8 kB / 0.5381 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.5574, allocations: 0.5579 MB / 0.5386 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.5593, allocations: 1.738 MB / 0.5403 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.561, allocations: 0.9907 MB / 0.5413 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009208/0.5702, allocations: 6.724 MB / 0.5479 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5702, allocations: 4 kB / 0.5479 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5703, allocations: 7.922 kB / 0.5479 GB, free: 5.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003223/0.5706, allocations: 0 / 0.5479 GB, free: 5.742 MB / 414.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.08019/0.6508, allocations: 9.669 MB / 0.5573 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.6508, allocations: 12.03 kB / 0.5573 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009356/0.6602, allocations: 2.173 MB / 0.5594 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.6705, allocations: 3.124 MB / 0.5625 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.671, allocations: 295.5 kB / 0.5628 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004051/0.675, allocations: 405.3 kB / 0.5632 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06189/0.737, allocations: 19.53 MB / 0.5822 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003965/0.7374, allocations: 55.48 kB / 0.5823 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003758/0.7412, allocations: 183.8 kB / 0.5825 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006292/0.7475, allocations: 2.345 MB / 0.5847 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05842/0.806, allocations: 22.39 MB / 0.6066 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3635/1.17, allocations: 52.44 MB / 0.6578 GB, free: 112.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06377/1.233, allocations: 9.197 MB / 0.6668 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/1.235, allocations: 343.9 kB / 0.6671 GB, free: 111 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.235, allocations: 57.17 kB / 0.6672 GB, free: 111 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 8.316e-06/1.235, allocations: 2.812 kB / 0.6672 GB, free: 111 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1319/1.367, allocations: 16.37 MB / 0.6832 GB, free: 108.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.367, allocations: 153 kB / 0.6833 GB, free: 108.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00945/1.377, allocations: 4.667 MB / 0.6879 GB, free: 106.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006585/1.378, allocations: 53.55 kB / 0.6879 GB, free: 106.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002444/1.38, allocations: 3.497 MB / 0.6913 GB, free: 103.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.382, allocations: 0.8408 MB / 0.6922 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.382, allocations: 137 kB / 0.6923 GB, free: 103.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003508/1.382, allocations: 0.5817 MB / 0.6929 GB, free: 102.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/1.386, allocations: 3.147 MB / 0.6959 GB, free: 101.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/1.392, allocations: 7.41 MB / 0.7032 GB, free: 95.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.398, allocations: 4.69 MB / 0.7078 GB, free: 93.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/1.398, allocations: 41.66 kB / 0.7078 GB, free: 93.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01896/1.417, allocations: 10.55 MB / 0.7181 GB, free: 82.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.417, allocations: 68 kB / 0.7182 GB, free: 82.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003315/1.417, allocations: 152 kB / 0.7183 GB, free: 82.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/1.418, allocations: 231.9 kB / 0.7185 GB, free: 82.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006927/1.425, allocations: 1.797 MB / 0.7203 GB, free: 80.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/1.425, allocations: 303.5 kB / 0.7206 GB, free: 80.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009456/1.435, allocations: 0.9162 MB / 0.7215 GB, free: 79.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.436, allocations: 0.5154 MB / 0.722 GB, free: 78.65 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.006599/1.443, allocations: 2.312 MB / 0.7242 GB, free: 76.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.444, allocations: 406.7 kB / 0.7246 GB, free: 75.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00729/1.452, allocations: 4.85 MB / 0.7294 GB, free: 71.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/1.452, allocations: 31.23 kB / 0.7294 GB, free: 71.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/1.452, allocations: 9.125 kB / 0.7294 GB, free: 71.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.452, allocations: 15.95 kB / 0.7294 GB, free: 71.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.473, allocations: 11.52 MB / 0.7407 GB, free: 59.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.473, allocations: 8 kB / 0.7407 GB, free: 59.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.476, allocations: 0.6045 MB / 0.7413 GB, free: 58.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.872e-05/1.476, allocations: 16 kB / 0.7413 GB, free: 58.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/1.476, allocations: 143.8 kB / 0.7414 GB, free: 58.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.353e-05/1.476, allocations: 12 kB / 0.7414 GB, free: 58.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.476, allocations: 16.8 kB / 0.7414 GB, free: 58.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/1.486, allocations: 9.838 MB / 0.751 GB, free: 48.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.488, allocations: 0.5148 MB / 0.7515 GB, free: 47.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.489, allocations: 48 kB / 0.7516 GB, free: 47.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/1.492, allocations: 98.14 kB / 0.7517 GB, free: 47.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/1.493, allocations: 232.9 kB / 0.7519 GB, free: 47.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004036/1.493, allocations: 167.8 kB / 0.7521 GB, free: 47.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006349/1.5, allocations: 2.923 MB / 0.7549 GB, free: 44.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.102e-06/1.5, allocations: 0 / 0.7549 GB, free: 44.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008815/1.509, allocations: 1.367 MB / 0.7563 GB, free: 42.98 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.001346/1.51, allocations: 185.8 kB / 0.7564 GB, free: 42.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01135/1.521, allocations: 7.064 MB / 0.7633 GB, free: 35.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/1.521, allocations: 4 kB / 0.7633 GB, free: 35.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.524, allocations: 2.435 MB / 0.7657 GB, free: 33.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.528, allocations: 498.3 kB / 0.7662 GB, free: 32.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.553, allocations: 14.1 MB / 0.78 GB, free: 18.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.557, allocations: 3.694 MB / 0.7836 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00595/1.562, allocations: 2.302 MB / 0.7858 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/1.564, allocations: 0.5886 MB / 0.7864 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 1.202e-06/1.564, allocations: 0 / 0.7864 GB, free: 12 MB / 494.1 MB Notification: Performance of Templates: time 0.3619/1.926, allocations: 56.37 MB / 0.8414 GB, free: 146.9 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: