Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007825, allocations: 84.38 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.0009067/0.0009067, 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.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3118/0.3118, allocations: 38.04 MB / 308.4 MB, free: 10.46 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.1. 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.0005718/0.0005719, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1218, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2635/0.3853, allocations: 45.55 MB / 479.5 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.4081, allocations: 9.817 MB / 489.3 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009712/0.4178, allocations: 210.1 kB / 489.5 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006897/0.4248, allocations: 2.339 MB / 491.9 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.4424, allocations: 6.962 MB / 498.8 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.4452, allocations: 0.5113 MB / 499.4 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005392/0.4506, allocations: 4.37 MB / 0.4919 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007168/0.4578, allocations: 4.511 MB / 0.4963 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.4608, allocations: 1.229 MB / 0.4975 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004297/0.4651, allocations: 1.937 MB / 0.4994 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009077/0.466, allocations: 142.6 kB / 0.4996 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.4692, allocations: 0.7819 MB / 0.5003 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003316/0.4725, allocations: 1.661 MB / 0.5019 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.4741, allocations: 0.8331 MB / 0.5028 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006992/0.4811, allocations: 5.534 MB / 0.5082 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4812, allocations: 3.984 kB / 0.5082 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4812, allocations: 1.062 kB / 0.5082 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002283/0.4814, allocations: 0 / 0.5082 GB, free: 10.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01572/0.4971, allocations: 4.437 MB / 0.5125 GB, free: 7.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4972, allocations: 9.812 kB / 0.5125 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007681/0.5049, allocations: 1.936 MB / 0.5144 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006529/0.5114, allocations: 2.312 MB / 0.5167 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.5118, allocations: 241 kB / 0.5169 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.5139, allocations: 319.6 kB / 0.5172 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/0.5376, allocations: 10.72 MB / 0.5277 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002839/0.538, allocations: 47.59 kB / 0.5277 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.5397, allocations: 159.8 kB / 0.5279 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.5432, allocations: 1.974 MB / 0.5298 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/0.5644, allocations: 9.611 MB / 0.5392 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05651/0.621, allocations: 39.21 MB / 0.5775 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.6337, allocations: 3.939 MB / 0.5813 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.6367, allocations: 1.88 MB / 0.5831 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.6378, allocations: 0.675 MB / 0.5838 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.6379, allocations: 55.56 kB / 0.5839 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.658e-06/0.6379, allocations: 0 / 0.5839 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of matching and sorting (n=157): time 0.0456/0.6835, allocations: 13.92 MB / 0.5974 GB, free: 2.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.6836, allocations: 145.5 kB / 0.5976 GB, free: 2.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008236/0.6918, allocations: 4.054 MB / 0.6015 GB, free: 14.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004316/0.6923, allocations: 45.7 kB / 0.6016 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002699/0.695, allocations: 3.122 MB / 0.6046 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.6961, allocations: 0.6211 MB / 0.6052 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006361/0.6967, allocations: 120 kB / 0.6054 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000583/0.6973, allocations: 0.5539 MB / 0.6059 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/0.7013, allocations: 2.084 MB / 0.6079 GB, free: 7.992 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/0.7075, allocations: 5.788 MB / 0.6136 GB, free: 356 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005245/0.7128, allocations: 3.393 MB / 0.6169 GB, free: 12.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.7129, allocations: 40 kB / 0.6169 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01542/0.7283, allocations: 8.381 MB / 0.6251 GB, free: 4.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.7285, allocations: 63.95 kB / 0.6252 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/0.7287, allocations: 139.9 kB / 0.6253 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.731, allocations: 0.9189 MB / 0.6262 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/0.7353, allocations: 1.381 MB / 0.6276 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2606/0.9959, allocations: 4.861 MB / 0.6323 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/1.001, allocations: 324 kB / 0.6326 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009985/1.002, allocations: 377.3 kB / 0.633 GB, free: 107 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.006, allocations: 2.08 MB / 0.635 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.006, allocations: 349.6 kB / 0.6353 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/1.012, allocations: 3.173 MB / 0.6384 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.012, allocations: 16.62 kB / 0.6385 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.012, allocations: 4.406 kB / 0.6385 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.012, allocations: 11.83 kB / 0.6385 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.025, allocations: 7.974 MB / 0.6463 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.025, allocations: 3.062 kB / 0.6463 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.026, allocations: 316.2 kB / 0.6466 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/1.028, allocations: 0.718 MB / 0.6473 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/1.028, allocations: 37.53 kB / 0.6473 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005782/1.034, allocations: 4.423 MB / 0.6516 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.034, allocations: 6.141 kB / 0.6516 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.044, allocations: 5.722 MB / 0.6572 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.046, allocations: 0.6372 MB / 0.6578 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000991/1.047, allocations: 27.92 kB / 0.6579 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.048, allocations: 98.73 kB / 0.658 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/1.049, allocations: 104.1 kB / 0.6581 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.049, allocations: 52.72 kB / 0.6581 GB, free: 104.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006536/1.056, allocations: 2.531 MB / 0.6606 GB, free: 104 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.056, allocations: 0 / 0.6606 GB, free: 104 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008128/1.064, allocations: 0.9535 MB / 0.6615 GB, free: 104 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005623/1.064, allocations: 160.4 kB / 0.6617 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008921/1.073, allocations: 5.004 MB / 0.6666 GB, free: 103.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.073, allocations: 0 / 0.6666 GB, free: 103.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/1.076, allocations: 1.553 MB / 0.6681 GB, free: 103.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.08, allocations: 415.6 kB / 0.6685 GB, free: 103.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.099, allocations: 10.69 MB / 0.6789 GB, free: 98.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/1.103, allocations: 3.244 MB / 0.6821 GB, free: 97.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004248/1.108, allocations: 1.89 MB / 0.6839 GB, free: 97.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/1.108, allocations: 269.8 kB / 0.6842 GB, free: 97.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/1.108, allocations: 0 / 0.6842 GB, free: 97.27 MB / 494.1 MB Notification: Performance of Templates: time 0.0531/1.161, allocations: 34.66 MB / 0.718 GB, free: 66.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: