Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001031/0.001032, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007288/0.007288, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.626/1.626, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4204/0.4204, allocations: 40.01 MB / 310.7 MB, free: 9.547 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.000623/0.0006227, allocations: 16 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1544, allocations: 57.95 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3213/0.4758, allocations: 48.96 MB / 486.4 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02846/0.5043, allocations: 10.29 MB / 496.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01455/0.519, allocations: 211.2 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.5215, allocations: 426.2 kB / 497.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006271/0.5277, allocations: 1.771 MB / 499 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.5293, allocations: 0.5256 MB / 499.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009684/0.539, allocations: 5.509 MB / 0.4932 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.5503, allocations: 5.21 MB / 0.4983 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.5546, allocations: 1.124 MB / 0.4994 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005707/0.5604, allocations: 1.958 MB / 0.5013 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001948/0.5624, allocations: 141.2 kB / 0.5015 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.5667, allocations: 0.928 MB / 0.5024 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004586/0.5713, allocations: 1.716 MB / 0.5041 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006776/0.5781, allocations: 2.002 MB / 0.506 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.5933, allocations: 6.673 MB / 0.5125 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.5934, allocations: 0 / 0.5125 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.5934, allocations: 0 / 0.5125 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004927/0.5939, allocations: 0 / 0.5125 GB, free: 5.531 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.02726/0.6212, allocations: 4.392 MB / 0.5168 GB, free: 2.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.98e-05/0.6213, allocations: 9.875 kB / 0.5168 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00996/0.6313, allocations: 1.941 MB / 0.5187 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008835/0.6402, allocations: 2.357 MB / 0.521 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000484/0.6407, allocations: 238.8 kB / 0.5213 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002961/0.6437, allocations: 324.1 kB / 0.5216 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03284/0.6765, allocations: 10.76 MB / 0.5321 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.6769, allocations: 35.69 kB / 0.5321 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/0.6795, allocations: 155.8 kB / 0.5322 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.684, allocations: 1.982 MB / 0.5342 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/0.7111, allocations: 9.654 MB / 0.5436 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.076/0.7872, allocations: 39.23 MB / 0.5819 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/0.8023, allocations: 3.947 MB / 0.5858 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/0.8059, allocations: 1.888 MB / 0.5876 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.8072, allocations: 0.6789 MB / 0.5883 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.834e-05/0.8073, allocations: 47.56 kB / 0.5883 GB, free: 10.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.721e-06/0.8073, allocations: 0 / 0.5883 GB, free: 10.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05609/0.8634, allocations: 13.95 MB / 0.6019 GB, free: 12.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.8636, allocations: 149.5 kB / 0.6021 GB, free: 12.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/0.8742, allocations: 4.07 MB / 0.6061 GB, free: 8.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005509/0.8748, allocations: 49.7 kB / 0.6061 GB, free: 8.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003553/0.8784, allocations: 3.118 MB / 0.6092 GB, free: 5.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.8796, allocations: 0.6172 MB / 0.6098 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.8812, allocations: 0.495 MB / 0.6102 GB, free: 4.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8814, allocations: 309.1 kB / 0.6105 GB, free: 3.812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/0.886, allocations: 2.108 MB / 0.6126 GB, free: 1.699 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007935/0.894, allocations: 5.808 MB / 0.6183 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.323/1.217, allocations: 8.585 MB / 0.6267 GB, free: 139.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002177/1.217, allocations: 42.08 kB / 0.6267 GB, free: 139.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01771/1.235, allocations: 8.438 MB / 0.6349 GB, free: 139 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/1.235, allocations: 61.59 kB / 0.635 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/1.235, allocations: 134 kB / 0.6351 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/1.238, allocations: 0.9119 MB / 0.636 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/1.242, allocations: 1.374 MB / 0.6373 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/1.248, allocations: 4.855 MB / 0.6421 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/1.253, allocations: 324.6 kB / 0.6424 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/1.253, allocations: 379.2 kB / 0.6428 GB, free: 136.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004099/1.257, allocations: 2.089 MB / 0.6448 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/1.258, allocations: 347.6 kB / 0.6451 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/1.264, allocations: 3.167 MB / 0.6482 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.264, allocations: 22.41 kB / 0.6482 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.264, allocations: 7.062 kB / 0.6483 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.264, allocations: 8.672 kB / 0.6483 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/1.28, allocations: 7.981 MB / 0.6561 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.28, allocations: 4.125 kB / 0.6561 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.281, allocations: 312.4 kB / 0.6564 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/1.284, allocations: 0.714 MB / 0.6571 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/1.284, allocations: 43.27 kB / 0.6571 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/1.292, allocations: 4.432 MB / 0.6614 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/1.292, allocations: 6.141 kB / 0.6614 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.303, allocations: 5.732 MB / 0.667 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.306, allocations: 0.6369 MB / 0.6677 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004602/1.306, allocations: 31.59 kB / 0.6677 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.307, allocations: 99.45 kB / 0.6678 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.308, allocations: 102.7 kB / 0.6679 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.308, allocations: 51.42 kB / 0.6679 GB, free: 126.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005062/1.313, allocations: 2.554 MB / 0.6704 GB, free: 125.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.313, allocations: 1.375 kB / 0.6704 GB, free: 125.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005986/1.319, allocations: 0.9546 MB / 0.6714 GB, free: 125.7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004334/1.319, allocations: 165.4 kB / 0.6715 GB, free: 125.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007565/1.327, allocations: 5.027 MB / 0.6764 GB, free: 123.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.327, allocations: 0 / 0.6764 GB, free: 123.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.329, allocations: 1.559 MB / 0.6779 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.332, allocations: 421.1 kB / 0.6783 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.35, allocations: 11.13 MB / 0.6892 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/1.354, allocations: 3.241 MB / 0.6924 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004962/1.359, allocations: 1.886 MB / 0.6942 GB, free: 111.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007639/1.36, allocations: 271.3 kB / 0.6945 GB, free: 111.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.874e-06/1.36, allocations: 0 / 0.6945 GB, free: 111.6 MB / 494.1 MB Notification: Performance of Templates: time 0.06951/1.429, allocations: 35.39 MB / 0.729 GB, free: 76.77 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: