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.0009944/0.0009943, allocations: 98.92 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.00104/0.00104, 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.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3995/0.3995, allocations: 38.04 MB / 308.4 MB, free: 10.38 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.0006197/0.00062, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, allocations: 57.53 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2795/0.417, allocations: 43.03 MB / 477 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.4414, allocations: 10.24 MB / 487.2 MB, free: 23.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/0.4527, allocations: 207.4 kB / 487.4 MB, free: 23.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008057/0.4608, allocations: 2.117 MB / 489.5 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02407/0.4849, allocations: 6.211 MB / 495.7 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.4888, allocations: 0.5094 MB / 496.2 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006543/0.4954, allocations: 2.118 MB / 498.4 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00711/0.5025, allocations: 4.482 MB / 0.4911 GB, free: 16.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.505, allocations: 0.9993 MB / 0.492 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.5079, allocations: 1.362 MB / 0.4934 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008166/0.5087, allocations: 142.5 kB / 0.4935 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.511, allocations: 0.759 MB / 0.4942 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.5129, allocations: 1.551 MB / 0.4958 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.5141, allocations: 0.8364 MB / 0.4966 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5245, allocations: 5.537 MB / 0.502 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5246, allocations: 0 / 0.502 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5246, allocations: 5.219 kB / 0.502 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003192/0.5249, allocations: 0 / 0.502 GB, free: 13.71 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.01985/0.5448, allocations: 4.545 MB / 0.5064 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.5449, allocations: 9.688 kB / 0.5064 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009235/0.5541, allocations: 2.231 MB / 0.5086 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00856/0.5627, allocations: 2.526 MB / 0.5111 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.5631, allocations: 236.4 kB / 0.5113 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/0.5657, allocations: 320.2 kB / 0.5116 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.5924, allocations: 10.79 MB / 0.5221 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.5926, allocations: 43.59 kB / 0.5222 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005101/0.5931, allocations: 155.8 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003339/0.5964, allocations: 1.986 MB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/0.6182, allocations: 9.697 MB / 0.5337 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05978/0.6781, allocations: 39.29 MB / 0.5721 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.6918, allocations: 3.974 MB / 0.576 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.693, allocations: 0.6789 MB / 0.5767 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.6931, allocations: 47.56 kB / 0.5767 GB, free: 7.711 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 6.372e-06/0.6931, allocations: 0 / 0.5767 GB, free: 7.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=157): time 0.04978/0.7429, allocations: 14.29 MB / 0.5906 GB, free: 9.254 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.743, allocations: 153.4 kB / 0.5908 GB, free: 9.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006964/0.7499, allocations: 4.191 MB / 0.5949 GB, free: 4.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005479/0.7505, allocations: 45.7 kB / 0.5949 GB, free: 4.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.7532, allocations: 3.126 MB / 0.598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.7543, allocations: 0.6173 MB / 0.5986 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.7545, allocations: 116 kB / 0.5987 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003503/0.7549, allocations: 0.5499 MB / 0.5992 GB, free: 344 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.7582, allocations: 2.08 MB / 0.6013 GB, free: 14.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005375/0.7636, allocations: 5.753 MB / 0.6069 GB, free: 6.637 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/0.7696, allocations: 3.381 MB / 0.6102 GB, free: 3.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-05/0.7698, allocations: 36 kB / 0.6102 GB, free: 3.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02155/0.7913, allocations: 8.362 MB / 0.6184 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.7916, allocations: 60 kB / 0.6184 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/0.7918, allocations: 135.9 kB / 0.6186 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.7945, allocations: 0.9239 MB / 0.6195 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/0.8, allocations: 1.372 MB / 0.6208 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007641/0.8077, allocations: 4.971 MB / 0.6257 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007344/0.8151, allocations: 323.6 kB / 0.626 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/0.8169, allocations: 372 kB / 0.6263 GB, free: 2.57 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 (718): * Single equations (assignments): 714 * 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.006091/0.823, allocations: 2.096 MB / 0.6284 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000963/0.824, allocations: 347.4 kB / 0.6287 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3092/1.133, allocations: 3.164 MB / 0.6318 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/1.133, allocations: 23.88 kB / 0.6318 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.133, allocations: 3.438 kB / 0.6318 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/1.133, allocations: 6.844 kB / 0.6318 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.149, allocations: 7.982 MB / 0.6396 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.149, allocations: 6.969 kB / 0.6396 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.151, allocations: 309.4 kB / 0.6399 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/1.153, allocations: 0.7135 MB / 0.6406 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.153, allocations: 39.38 kB / 0.6407 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/1.158, allocations: 4.538 MB / 0.6451 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.158, allocations: 6.219 kB / 0.6451 GB, free: 140.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008567/1.166, allocations: 5.877 MB / 0.6508 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.169, allocations: 0.6358 MB / 0.6515 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007204/1.169, allocations: 29.52 kB / 0.6515 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.171, allocations: 102.4 kB / 0.6516 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/1.171, allocations: 100.4 kB / 0.6517 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.171, allocations: 53.44 kB / 0.6517 GB, free: 137.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004798/1.176, allocations: 2.635 MB / 0.6543 GB, free: 136.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.176, allocations: 2.406 kB / 0.6543 GB, free: 136.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007662/1.184, allocations: 0.9777 MB / 0.6553 GB, free: 136.8 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.0009708/1.185, allocations: 178.3 kB / 0.6554 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.195, allocations: 4.989 MB / 0.6603 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.195, allocations: 2.938 kB / 0.6603 GB, free: 135 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/1.198, allocations: 1.555 MB / 0.6618 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/1.201, allocations: 390.7 kB / 0.6622 GB, free: 134.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.222, allocations: 10.63 MB / 0.6726 GB, free: 128.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004473/1.226, allocations: 3.331 MB / 0.6758 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004866/1.231, allocations: 1.904 MB / 0.6777 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/1.232, allocations: 259.6 kB / 0.6779 GB, free: 127.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/1.232, allocations: 3.875 kB / 0.6779 GB, free: 127.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06331/1.295, allocations: 35.25 MB / 0.7124 GB, free: 98.88 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: