Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001185, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.001677/0.001677, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1897/0.1897, allocations: 9.097 MB / 300.1 MB, free: 2.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003556, allocations: 11.98 kB / 363 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 52.42 MB / 415.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2749/0.4056, allocations: 20.2 MB / 435.6 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4177, allocations: 5.475 MB / 441.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006767/0.4245, allocations: 84.66 kB / 441.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004721/0.4293, allocations: 0.9537 MB / 442.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.44, allocations: 3.005 MB / 445.1 MB, free: 28.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.4414, allocations: 149.1 kB / 445.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.4439, allocations: 1.436 MB / 446.7 MB, free: 27.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.4451, allocations: 0.7803 MB / 447.5 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4463, allocations: 0.6833 MB / 448.2 MB, free: 26.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.4475, allocations: 0.9949 MB / 449.2 MB, free: 26.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.4478, allocations: 127.1 kB / 449.3 MB, free: 26.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.4491, allocations: 0.7041 MB / 450 MB, free: 26.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008181/0.45, allocations: 1.029 MB / 451 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.4505, allocations: 0.6389 MB / 451.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.4538, allocations: 3.73 MB / 455.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4538, allocations: 4 kB / 455.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4538, allocations: 0 / 455.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.851e-05/0.4539, allocations: 0 / 455.4 MB, free: 24.62 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01455/0.4685, allocations: 4.519 MB / 459.9 MB, free: 22.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4686, allocations: 7.844 kB / 459.9 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008259/0.4768, allocations: 2.192 MB / 462.1 MB, free: 22.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005884/0.4827, allocations: 1.402 MB / 463.5 MB, free: 21.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.4829, allocations: 146.6 kB / 463.7 MB, free: 21.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008466/0.4838, allocations: 196.9 kB / 463.9 MB, free: 21.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.5042, allocations: 8.497 MB / 472.4 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.5043, allocations: 20.98 kB / 472.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004312/0.5048, allocations: 94.45 kB / 472.5 MB, free: 17.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003628/0.5084, allocations: 1.88 MB / 474.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.5295, allocations: 8.164 MB / 482.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/0.5713, allocations: 25.77 MB / 0.4964 GB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009853/0.5812, allocations: 2.871 MB / 0.4992 GB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/0.5833, allocations: 1.739 MB / 0.5009 GB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.5833, allocations: 55.83 kB / 0.5009 GB, free: 1.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=181): time 3.857e-06/0.5833, allocations: 0 / 0.5009 GB, free: 1.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=199): time 0.03291/0.6163, allocations: 10.16 MB / 0.5109 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.6164, allocations: 73.36 kB / 0.5109 GB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/0.6219, allocations: 2.522 MB / 0.5134 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.6221, allocations: 57.64 kB / 0.5134 GB, free: 3.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.6239, allocations: 2.005 MB / 0.5154 GB, free: 1.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009721/0.6249, allocations: 0.7206 MB / 0.5161 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.6253, allocations: 83.98 kB / 0.5162 GB, free: 1.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004521/0.6257, allocations: 483.1 kB / 0.5166 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.6286, allocations: 1.39 MB / 0.518 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.6334, allocations: 3.541 MB / 0.5215 GB, free: 10.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.6376, allocations: 2.235 MB / 0.5236 GB, free: 8.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-05/0.6377, allocations: 24 kB / 0.5237 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=540) (initialization): time 0.01068/0.6484, allocations: 5.16 MB / 0.5287 GB, free: 3.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.705e-05/0.6486, allocations: 40 kB / 0.5287 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.6487, allocations: 72 kB / 0.5288 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009699/0.6497, allocations: 343.1 kB / 0.5291 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.653, allocations: 0.9124 MB / 0.53 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/0.6571, allocations: 3.083 MB / 0.533 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/0.6608, allocations: 199.9 kB / 0.5332 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/0.6617, allocations: 240 kB / 0.5335 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (499): * Single equations (assignments): 493 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004026/0.6657, allocations: 1.589 MB / 0.535 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/0.6665, allocations: 229 kB / 0.5352 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/0.6722, allocations: 2.784 MB / 0.5379 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.6723, allocations: 31.98 kB / 0.538 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.6724, allocations: 4 kB / 0.538 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.6724, allocations: 7.969 kB / 0.538 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.6882, allocations: 6.954 MB / 0.5448 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.6883, allocations: 8 kB / 0.5448 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.6898, allocations: 287.6 kB / 0.5451 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000783/0.6906, allocations: 238 kB / 0.5453 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/0.6908, allocations: 43.98 kB / 0.5453 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.6945, allocations: 2.665 MB / 0.5479 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6945, allocations: 4.188 kB / 0.5479 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/0.7022, allocations: 4.473 MB / 0.5523 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.7035, allocations: 330 kB / 0.5526 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006869/0.7042, allocations: 35.98 kB / 0.5527 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.7057, allocations: 83.91 kB / 0.5527 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.706, allocations: 121 kB / 0.5528 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.7062, allocations: 68.11 kB / 0.5529 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004075/0.7103, allocations: 1.648 MB / 0.5545 GB, free: 7.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7103, allocations: 0 / 0.5545 GB, free: 7.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00469/0.715, allocations: 0.7227 MB / 0.5552 GB, free: 7.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (161): * Single equations (assignments): 155 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008325/0.7159, allocations: 192 kB / 0.5554 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007077/0.723, allocations: 3.57 MB / 0.5589 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.723, allocations: 4 kB / 0.5589 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.7255, allocations: 1.357 MB / 0.5602 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.7283, allocations: 348.7 kB / 0.5606 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.7456, allocations: 8.406 MB / 0.5688 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/0.7498, allocations: 2.676 MB / 0.5714 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003894/0.7538, allocations: 1.287 MB / 0.5726 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/0.7546, allocations: 187.4 kB / 0.5728 GB, free: 4.977 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7546, allocations: 0 / 0.5728 GB, free: 4.977 MB / 446.1 MB Notification: Performance of Templates: time 0.2512/1.006, allocations: 25.85 MB / 0.5981 GB, free: 119.2 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)