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.001266/0.001266, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001294/0.001294, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04419/0.04419, allocations: 9.112 MB / 300.3 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 415.3 MB, free: 21.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 51.44 MB / 466.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.0112/0.1138, allocations: 8.78 MB / 475.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.1198, allocations: 2.748 MB / 478.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.1212, allocations: 35.94 kB / 478.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009275/0.1222, allocations: 361.5 kB / 478.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.1256, allocations: 1.412 MB / 480.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.1263, allocations: 179.6 kB / 480.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003732/0.13, allocations: 2.545 MB / 482.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.1317, allocations: 0.8817 MB / 483.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.1334, allocations: 0.9027 MB / 484.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.1351, allocations: 1.335 MB / 485.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005621/0.1357, allocations: 232 kB / 486.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1375, allocations: 0.8855 MB / 487 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.1388, allocations: 1.219 MB / 488.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.1406, allocations: 1.577 MB / 489.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.1462, allocations: 5.072 MB / 494.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1462, allocations: 0 / 494.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1462, allocations: 0 / 494.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.1463, allocations: 3.938 kB / 494.9 MB, free: 5.355 MB / 366.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.01676/0.1631, allocations: 5.043 MB / 499.9 MB, free: 252 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1632, allocations: 12.03 kB / 500 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/0.1699, allocations: 1.767 MB / 0.49 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.1735, allocations: 1.429 MB / 0.4914 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1737, allocations: 152 kB / 0.4915 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006266/0.1743, allocations: 199.9 kB / 0.4917 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.1891, allocations: 8.464 MB / 0.5 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.457e-05/0.1893, allocations: 35.7 kB / 0.5 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.1896, allocations: 91.86 kB / 0.5001 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003086/0.1927, allocations: 1.883 MB / 0.5019 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2283/0.421, allocations: 8.139 MB / 0.5099 GB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.4568, allocations: 25.91 MB / 0.5352 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008902/0.4657, allocations: 2.853 MB / 0.538 GB, free: 19.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.4673, allocations: 1.08 MB / 0.539 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005655/0.4729, allocations: 5.046 MB / 0.5439 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.473, allocations: 47.88 kB / 0.544 GB, free: 13.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.473, allocations: 0 / 0.544 GB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=175): time 0.0143/0.4873, allocations: 7.991 MB / 0.5518 GB, free: 5.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4874, allocations: 70.22 kB / 0.5518 GB, free: 5.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/0.4902, allocations: 2.614 MB / 0.5544 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4904, allocations: 49.7 kB / 0.5544 GB, free: 2.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.4912, allocations: 2.07 MB / 0.5565 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.4916, allocations: 0.6424 MB / 0.5571 GB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.4926, allocations: 0.8058 MB / 0.5579 GB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4928, allocations: 301.1 kB / 0.5582 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.495, allocations: 1.382 MB / 0.5595 GB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/0.4989, allocations: 3.54 MB / 0.563 GB, free: 9.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.5053, allocations: 5.314 MB / 0.5682 GB, free: 2.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.157e-05/0.5054, allocations: 20 kB / 0.5682 GB, free: 2.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009511/0.5149, allocations: 5.137 MB / 0.5732 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.515, allocations: 42.81 kB / 0.5732 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-05/0.5151, allocations: 74.31 kB / 0.5733 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/0.516, allocations: 321.8 kB / 0.5736 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.519, allocations: 0.9085 MB / 0.5745 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.5229, allocations: 3.28 MB / 0.5777 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.526, allocations: 195.9 kB / 0.5779 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/0.5267, allocations: 243.8 kB / 0.5781 GB, free: 8.418 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 (493): * Single equations (assignments): 487 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002795/0.5295, allocations: 1.572 MB / 0.5797 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/0.53, allocations: 232.9 kB / 0.5799 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.5345, allocations: 2.374 MB / 0.5822 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/0.5347, allocations: 27.98 kB / 0.5822 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.5347, allocations: 4 kB / 0.5822 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.5347, allocations: 11.91 kB / 0.5823 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.5478, allocations: 6.247 MB / 0.5884 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.5479, allocations: 8.062 kB / 0.5884 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.549, allocations: 255.7 kB / 0.5886 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005944/0.5496, allocations: 206.6 kB / 0.5888 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/0.5498, allocations: 39.89 kB / 0.5888 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.5532, allocations: 2.867 MB / 0.5916 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5532, allocations: 4 kB / 0.5916 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.5592, allocations: 3.612 MB / 0.5952 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.56, allocations: 310.1 kB / 0.5955 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/0.5605, allocations: 32.12 kB / 0.5955 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5617, allocations: 71.92 kB / 0.5956 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.5619, allocations: 105.1 kB / 0.5957 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.5621, allocations: 47.94 kB / 0.5957 GB, free: 6.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003219/0.5653, allocations: 1.688 MB / 0.5974 GB, free: 4.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5653, allocations: 0 / 0.5974 GB, free: 4.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003865/0.5692, allocations: 0.7086 MB / 0.5981 GB, free: 3.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000584/0.5698, allocations: 191.9 kB / 0.5982 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006383/0.5762, allocations: 3.504 MB / 0.6017 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.5763, allocations: 4 kB / 0.6017 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.5783, allocations: 1.252 MB / 0.6029 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.5808, allocations: 382.4 kB / 0.6032 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.5942, allocations: 7.156 MB / 0.6102 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.5977, allocations: 2.603 MB / 0.6128 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/0.5987, allocations: 219.4 kB / 0.613 GB, free: 4.262 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5987, allocations: 4 kB / 0.613 GB, free: 4.258 MB / 446.1 MB Notification: Performance of Templates: time 0.09683/0.6955, allocations: 73.74 MB / 0.685 GB, free: 10.59 MB / 0.5137 GB 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)