Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008419, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006273/0.006273, allocations: 169 kB / 16.26 MB, free: 6.652 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.363/1.363, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.2973/0.2973, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0005122/0.0005122, allocations: 20 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 57.51 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.2594/0.3676, allocations: 64.62 MB / 499.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02935/0.397, allocations: 12.99 MB / 0.5002 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.4122, allocations: 276.2 kB / 0.5004 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.4142, allocations: 0.501 MB / 0.5009 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006238/0.4204, allocations: 1.982 MB / 0.5029 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.4221, allocations: 0.6282 MB / 0.5035 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008863/0.431, allocations: 6.506 MB / 0.5098 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.4428, allocations: 6.762 MB / 0.5164 GB, free: 108 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/0.4478, allocations: 1.364 MB / 0.5178 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008225/0.4561, allocations: 2.329 MB / 0.52 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.4579, allocations: 174.3 kB / 0.5202 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4622, allocations: 0.9553 MB / 0.5211 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004329/0.4666, allocations: 2.035 MB / 0.5231 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00833/0.4749, allocations: 2.414 MB / 0.5255 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4882, allocations: 7.994 MB / 0.5333 GB, free: 6.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4883, allocations: 0 / 0.5333 GB, free: 6.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4883, allocations: 0 / 0.5333 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004361/0.4887, allocations: 0 / 0.5333 GB, free: 6.898 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02181/0.5106, allocations: 5.305 MB / 0.5385 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.5106, allocations: 12.03 kB / 0.5385 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/0.5189, allocations: 2.045 MB / 0.5405 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/0.5254, allocations: 2.776 MB / 0.5432 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.5257, allocations: 299.9 kB / 0.5435 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.5274, allocations: 411.7 kB / 0.5439 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.5526, allocations: 12.91 MB / 0.5565 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.5528, allocations: 47.59 kB / 0.5565 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005248/0.5533, allocations: 191.8 kB / 0.5567 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004154/0.5575, allocations: 2.367 MB / 0.559 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.5813, allocations: 11.85 MB / 0.5706 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06131/0.6427, allocations: 48.12 MB / 0.6176 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/0.6611, allocations: 5.73 MB / 0.6232 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/0.666, allocations: 3.615 MB / 0.6267 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.6671, allocations: 0.6909 MB / 0.6274 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.6671, allocations: 63.86 kB / 0.6274 GB, free: 4.176 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 4.709e-06/0.6671, allocations: 0 / 0.6274 GB, free: 4.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.2913/0.9584, allocations: 28.52 MB / 0.6553 GB, free: 137.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.9585, allocations: 157.9 kB / 0.6554 GB, free: 137.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006419/0.965, allocations: 4.519 MB / 0.6599 GB, free: 136 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006912/0.9657, allocations: 61.14 kB / 0.6599 GB, free: 136 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.9677, allocations: 3.544 MB / 0.6634 GB, free: 133.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.9689, allocations: 0.9613 MB / 0.6643 GB, free: 132.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008328/0.9698, allocations: 0.577 MB / 0.6649 GB, free: 132.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.9698, allocations: 302.2 kB / 0.6652 GB, free: 132 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/0.9751, allocations: 3.453 MB / 0.6685 GB, free: 130.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008685/0.9839, allocations: 7.402 MB / 0.6758 GB, free: 124.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/0.9988, allocations: 11.69 MB / 0.6872 GB, free: 116.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/0.999, allocations: 39.75 kB / 0.6872 GB, free: 116.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02215/1.021, allocations: 11.8 MB / 0.6988 GB, free: 111.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/1.021, allocations: 61.56 kB / 0.6988 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/1.022, allocations: 140.1 kB / 0.6989 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/1.024, allocations: 1.132 MB / 0.7001 GB, free: 111.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/1.031, allocations: 1.781 MB / 0.7018 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/1.038, allocations: 6.011 MB / 0.7077 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007155/1.045, allocations: 428.2 kB / 0.7081 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.046, allocations: 456.3 kB / 0.7085 GB, free: 104.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (857): * Single equations (assignments): 853 * 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.005169/1.051, allocations: 2.431 MB / 0.7109 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.052, allocations: 410.7 kB / 0.7113 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.063, allocations: 6.572 MB / 0.7177 GB, free: 96.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.081e-05/1.063, allocations: 24 kB / 0.7177 GB, free: 96.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.063, allocations: 4 kB / 0.7177 GB, free: 96.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.063, allocations: 19.95 kB / 0.7177 GB, free: 96.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/1.089, allocations: 13.79 MB / 0.7312 GB, free: 82.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.089, allocations: 5.875 kB / 0.7312 GB, free: 82.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.092, allocations: 0.5928 MB / 0.7318 GB, free: 82.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002301/1.095, allocations: 0.949 MB / 0.7327 GB, free: 81.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/1.095, allocations: 87.89 kB / 0.7328 GB, free: 81.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.101, allocations: 5.741 MB / 0.7384 GB, free: 75.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.101, allocations: 4 kB / 0.7384 GB, free: 75.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.117, allocations: 11.08 MB / 0.7492 GB, free: 64.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.119, allocations: 0.9485 MB / 0.7502 GB, free: 63.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008895/1.12, allocations: 44.8 kB / 0.7502 GB, free: 63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.122, allocations: 183.8 kB / 0.7504 GB, free: 62.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/1.123, allocations: 201.6 kB / 0.7506 GB, free: 62.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/1.123, allocations: 107.9 kB / 0.7507 GB, free: 62.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003418/1.127, allocations: 2.843 MB / 0.7534 GB, free: 59.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.2e-07/1.127, allocations: 0 / 0.7534 GB, free: 59.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006516/1.133, allocations: 1.264 MB / 0.7547 GB, free: 58.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0005702/1.134, allocations: 193 kB / 0.7549 GB, free: 58.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.011/1.145, allocations: 8.133 MB / 0.7628 GB, free: 50.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/1.145, allocations: 0 / 0.7628 GB, free: 50.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003751/1.149, allocations: 3.222 MB / 0.766 GB, free: 46.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.153, allocations: 495.7 kB / 0.7664 GB, free: 46.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.175, allocations: 15.2 MB / 0.7813 GB, free: 31.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003803/1.179, allocations: 3.801 MB / 0.785 GB, free: 27.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006679/1.186, allocations: 2.376 MB / 0.7873 GB, free: 24.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/1.187, allocations: 427.1 kB / 0.7877 GB, free: 24.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.184e-06/1.187, allocations: 0 / 0.7877 GB, free: 24.5 MB / 494.1 MB Notification: Performance of Templates: time 0.3207/1.508, allocations: 55.21 MB / 0.8416 GB, free: 125.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) Environment - environmentSimulation: