Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 98.27 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.008142/0.008142, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1838/0.1838, allocations: 9.117 MB / 300.5 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8 kB / 363.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 52.43 MB / 416.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2777/0.4036, allocations: 22.68 MB / 438.8 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.4183, allocations: 5.364 MB / 444.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006511/0.4248, allocations: 84.62 kB / 444.3 MB, free: 27.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.4258, allocations: 300 kB / 444.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.4296, allocations: 1.178 MB / 445.8 MB, free: 27.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.4301, allocations: 103.4 kB / 445.9 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.4342, allocations: 3.376 MB / 449.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.4359, allocations: 0.7553 MB / 450 MB, free: 25.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.4375, allocations: 0.7234 MB / 450.7 MB, free: 25.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.4394, allocations: 1.258 MB / 452 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.4399, allocations: 124.9 kB / 452.1 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.4416, allocations: 0.681 MB / 452.8 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.4428, allocations: 1.101 MB / 453.9 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.4444, allocations: 1.441 MB / 455.3 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.4495, allocations: 4.39 MB / 459.7 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4495, allocations: 0 / 459.7 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4495, allocations: 0 / 459.7 MB, free: 22.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.4497, allocations: 0 / 459.7 MB, free: 22.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01534/0.4651, allocations: 4.199 MB / 463.9 MB, free: 20.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4651, allocations: 9.062 kB / 463.9 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007178/0.4723, allocations: 1.799 MB / 465.7 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.4757, allocations: 1.372 MB / 467.1 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.4759, allocations: 141.8 kB / 467.2 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000516/0.4764, allocations: 192.9 kB / 467.4 MB, free: 19.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.4911, allocations: 8.159 MB / 475.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.121e-05/0.4912, allocations: 20.72 kB / 475.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.4916, allocations: 93.17 kB / 475.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.4951, allocations: 1.829 MB / 477.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.5137, allocations: 7.817 MB / 485.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/0.5522, allocations: 24.75 MB / 0.4981 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009034/0.5613, allocations: 2.691 MB / 0.5007 GB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5628, allocations: 0.9896 MB / 0.5017 GB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005927/0.5687, allocations: 4.348 MB / 0.506 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5688, allocations: 47.55 kB / 0.506 GB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 3.086e-06/0.5688, allocations: 0 / 0.506 GB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01521/0.584, allocations: 7.502 MB / 0.5133 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5841, allocations: 72.7 kB / 0.5134 GB, free: 4.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/0.5881, allocations: 2.511 MB / 0.5159 GB, free: 2.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.5883, allocations: 45.7 kB / 0.5159 GB, free: 2.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.5899, allocations: 1.985 MB / 0.5178 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.5906, allocations: 0.6131 MB / 0.5184 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.591, allocations: 322.2 kB / 0.5187 GB, free: 15.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5911, allocations: 305.1 kB / 0.519 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.5933, allocations: 1.335 MB / 0.5203 GB, free: 13.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/0.5976, allocations: 3.387 MB / 0.5236 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/0.6042, allocations: 5.11 MB / 0.5286 GB, free: 2.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/0.6042, allocations: 20 kB / 0.5286 GB, free: 2.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008638/0.6129, allocations: 5.035 MB / 0.5336 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.613, allocations: 40.25 kB / 0.5336 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.603e-05/0.613, allocations: 72 kB / 0.5337 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6141, allocations: 409.4 kB / 0.5341 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.6167, allocations: 0.8305 MB / 0.5349 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/0.624, allocations: 5.474 MB / 0.5402 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/0.627, allocations: 188 kB / 0.5404 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/0.6273, allocations: 228 kB / 0.5406 GB, free: 6.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002938/0.6303, allocations: 1.534 MB / 0.5421 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/0.6307, allocations: 217.2 kB / 0.5423 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.6351, allocations: 2.361 MB / 0.5446 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/0.6352, allocations: 27.98 kB / 0.5447 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6352, allocations: 4 kB / 0.5447 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.6352, allocations: 11.97 kB / 0.5447 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.6456, allocations: 6.107 MB / 0.5506 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6457, allocations: 3.938 kB / 0.5506 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.6466, allocations: 219.7 kB / 0.5508 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007248/0.6473, allocations: 284.1 kB / 0.5511 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/0.6474, allocations: 36 kB / 0.5512 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.6524, allocations: 4.341 MB / 0.5554 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.6524, allocations: 4 kB / 0.5554 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/0.6581, allocations: 3.53 MB / 0.5588 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/0.6591, allocations: 306.3 kB / 0.5591 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.6593, allocations: 27.94 kB / 0.5592 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/0.6602, allocations: 67.92 kB / 0.5592 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.6604, allocations: 97.06 kB / 0.5593 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.6605, allocations: 55.97 kB / 0.5594 GB, free: 2.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002668/0.6632, allocations: 1.622 MB / 0.561 GB, free: 1 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6632, allocations: 0 / 0.561 GB, free: 1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003354/0.6666, allocations: 0.6874 MB / 0.5616 GB, free: 320 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000417/0.667, allocations: 163 kB / 0.5618 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006359/0.6734, allocations: 3.492 MB / 0.5652 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/0.6734, allocations: 0 / 0.5652 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.6757, allocations: 1.333 MB / 0.5665 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.6786, allocations: 358.2 kB / 0.5668 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6918, allocations: 8.181 MB / 0.5748 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/0.6947, allocations: 2.553 MB / 0.5773 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.243/0.9377, allocations: 1.164 MB / 0.5785 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.9382, allocations: 171.2 kB / 0.5786 GB, free: 119.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.9383, allocations: 0 / 0.5786 GB, free: 119.5 MB / 446.1 MB Notification: Performance of Templates: time 0.07802/1.016, allocations: 26.12 MB / 0.6041 GB, free: 116.7 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)