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.009234/0.009234, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.00132/0.00132, allocations: 188.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.202/0.202, allocations: 39.96 MB / 309.9 MB, free: 4.039 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.001433/0.001433, allocations: 67.91 kB / 435.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 56.88 MB / 492.6 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01591/0.1413, allocations: 15.96 MB / 0.4967 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.1495, allocations: 3.858 MB / 0.5005 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.1524, allocations: 87.75 kB / 0.5005 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006018/0.1584, allocations: 3.095 MB / 0.5036 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.164, allocations: 1.749 MB / 0.5053 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1656, allocations: 471.2 kB / 0.5057 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006457/0.1721, allocations: 4.04 MB / 0.5097 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006068/0.1782, allocations: 3.596 MB / 0.5132 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2913/0.4695, allocations: 1.886 MB / 0.515 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.4753, allocations: 3 MB / 0.5179 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00223/0.4775, allocations: 0.4887 MB / 0.5184 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.481, allocations: 0.9175 MB / 0.5193 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00405/0.485, allocations: 2.254 MB / 0.5215 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006923/0.492, allocations: 2.793 MB / 0.5242 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5061, allocations: 8.706 MB / 0.5327 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5062, allocations: 1.656 kB / 0.5328 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5062, allocations: 0.625 kB / 0.5328 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003975/0.5066, allocations: 0 / 0.5328 GB, free: 4.133 MB / 398.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.09108/0.5977, allocations: 11.11 MB / 0.5436 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5978, allocations: 11.39 kB / 0.5436 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007913/0.6057, allocations: 1.865 MB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008403/0.6141, allocations: 3.277 MB / 0.5486 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.6145, allocations: 293.9 kB / 0.5489 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004168/0.6187, allocations: 413.8 kB / 0.5493 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0822/0.7009, allocations: 19.55 MB / 0.5684 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/0.7012, allocations: 47.91 kB / 0.5684 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/0.7035, allocations: 180.2 kB / 0.5686 GB, free: 9.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006058/0.7095, allocations: 2.343 MB / 0.5709 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05852/0.7681, allocations: 22.39 MB / 0.5928 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08669/0.8548, allocations: 52.36 MB / 0.6439 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07357/0.9284, allocations: 9.177 MB / 0.6529 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004777/0.9333, allocations: 3.03 MB / 0.6558 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00209/0.9354, allocations: 359.9 kB / 0.6562 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.9355, allocations: 51.88 kB / 0.6562 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=212): time 4.95e-06/0.9355, allocations: 0 / 0.6562 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=212): time 0.1403/1.076, allocations: 16.09 MB / 0.6719 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/1.076, allocations: 156.5 kB / 0.6721 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009107/1.085, allocations: 4.701 MB / 0.6767 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007112/1.086, allocations: 53.7 kB / 0.6767 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00294/1.089, allocations: 3.491 MB / 0.6801 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.091, allocations: 0.8337 MB / 0.6809 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002671/1.093, allocations: 1.542 MB / 0.6824 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.093, allocations: 305.1 kB / 0.6827 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.098, allocations: 3.175 MB / 0.6858 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00865/1.107, allocations: 7.458 MB / 0.6931 GB, free: 7.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/1.123, allocations: 11.49 MB / 0.7043 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.123, allocations: 43.94 kB / 0.7044 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02339/1.147, allocations: 10.6 MB / 0.7147 GB, free: 112 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/1.147, allocations: 72 kB / 0.7148 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003346/1.147, allocations: 156.2 kB / 0.7149 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/1.148, allocations: 200 kB / 0.7151 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007143/1.155, allocations: 1.801 MB / 0.7169 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/1.155, allocations: 298.8 kB / 0.7172 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007965/1.163, allocations: 0.9239 MB / 0.7181 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.165, allocations: 0.5154 MB / 0.7186 GB, free: 12.14 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007266/1.173, allocations: 2.323 MB / 0.7209 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.174, allocations: 402.8 kB / 0.7212 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009363/1.184, allocations: 4.866 MB / 0.726 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-05/1.184, allocations: 24 kB / 0.726 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.184, allocations: 4 kB / 0.726 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.184, allocations: 11.95 kB / 0.726 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3471/1.531, allocations: 11.53 MB / 0.7373 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.531, allocations: 9.312 kB / 0.7373 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/1.534, allocations: 0.5967 MB / 0.7379 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/1.534, allocations: 15.81 kB / 0.7379 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/1.534, allocations: 150 kB / 0.738 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-05/1.534, allocations: 21.95 kB / 0.7381 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.534, allocations: 12.72 kB / 0.7381 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.546, allocations: 8.909 MB / 0.7468 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.548, allocations: 0.5054 MB / 0.7473 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007125/1.549, allocations: 47.41 kB / 0.7473 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.551, allocations: 82.97 kB / 0.7474 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/1.552, allocations: 242.1 kB / 0.7476 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003156/1.552, allocations: 164.4 kB / 0.7478 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006036/1.558, allocations: 2.953 MB / 0.7507 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/1.558, allocations: 0 / 0.7507 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009204/1.567, allocations: 1.371 MB / 0.752 GB, free: 194.1 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/1.568, allocations: 192.5 kB / 0.7522 GB, free: 194 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.579, allocations: 7.129 MB / 0.7591 GB, free: 192 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.579, allocations: 0 / 0.7591 GB, free: 192 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.581, allocations: 2.438 MB / 0.7615 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.585, allocations: 0.5727 MB / 0.7621 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.605, allocations: 11.95 MB / 0.7738 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00383/1.608, allocations: 3.592 MB / 0.7773 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005684/1.614, allocations: 2.298 MB / 0.7795 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.616, allocations: 0.5899 MB / 0.7801 GB, free: 174 MB / 0.5762 GB Notification: Performance of SimCode: time 2.645e-06/1.616, allocations: 0 / 0.7801 GB, free: 174 MB / 0.5762 GB Notification: Performance of Templates: time 0.1259/1.742, allocations: 56.33 MB / 0.8351 GB, free: 118.1 MB / 0.5762 GB 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)