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.5.1-master/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001066/0.001066, allocations: 177.3 kB / 15.95 MB, free: 216 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1-master/package.mo): time 0.1857/0.1857, allocations: 9.101 MB / 300.1 MB, free: 2.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003209, allocations: 8 kB / 363.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 52.42 MB / 415.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.2752/0.405, allocations: 20.2 MB / 435.7 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4202, allocations: 5.473 MB / 441.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006057/0.4264, allocations: 87.84 kB / 441.3 MB, free: 29.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.4303, allocations: 0.9536 MB / 442.2 MB, free: 29.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009333/0.4397, allocations: 3.012 MB / 445.3 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4408, allocations: 154.7 kB / 445.4 MB, free: 27.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.4432, allocations: 1.424 MB / 446.8 MB, free: 27.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.4443, allocations: 0.7893 MB / 447.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008901/0.4452, allocations: 0.6816 MB / 448.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.4462, allocations: 0.9898 MB / 449.3 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.4465, allocations: 131.3 kB / 449.4 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4478, allocations: 0.6946 MB / 450.1 MB, free: 26.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007622/0.4485, allocations: 1.033 MB / 451.1 MB, free: 25.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.4491, allocations: 0.6419 MB / 451.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.4521, allocations: 3.731 MB / 455.5 MB, free: 24.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4521, allocations: 0 / 455.5 MB, free: 24.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4521, allocations: 0 / 455.5 MB, free: 24.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.306e-05/0.4522, allocations: 0 / 455.5 MB, free: 24.5 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.01486/0.4671, allocations: 4.52 MB / 460 MB, free: 22.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4672, allocations: 9.375 kB / 460 MB, free: 22.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001577/0.4687, allocations: 0.5445 MB / 460.6 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00808/0.4768, allocations: 2.177 MB / 462.8 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.4807, allocations: 1.409 MB / 464.2 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4808, allocations: 149.5 kB / 464.3 MB, free: 21.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/0.4816, allocations: 195.2 kB / 464.5 MB, free: 21.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.498, allocations: 8.493 MB / 473 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.475e-05/0.4981, allocations: 30.22 kB / 473 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/0.4985, allocations: 89.81 kB / 473.1 MB, free: 17.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003465/0.502, allocations: 1.882 MB / 475 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.5213, allocations: 8.164 MB / 483.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03804/0.5594, allocations: 25.77 MB / 0.497 GB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.5696, allocations: 2.865 MB / 0.4998 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/0.5716, allocations: 1.743 MB / 0.5015 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.5717, allocations: 47.83 kB / 0.5016 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=181): time 5.42e-06/0.5717, allocations: 0 / 0.5016 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=199): time 0.02959/0.6013, allocations: 10.15 MB / 0.5115 GB, free: 6.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6014, allocations: 77.36 kB / 0.5115 GB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/0.6054, allocations: 2.525 MB / 0.514 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002985/0.6057, allocations: 57.69 kB / 0.5141 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.607, allocations: 2.009 MB / 0.516 GB, free: 1.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.6078, allocations: 0.7129 MB / 0.5167 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.608, allocations: 80 kB / 0.5168 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002857/0.6083, allocations: 491 kB / 0.5173 GB, free: 120 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.6106, allocations: 1.39 MB / 0.5186 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/0.6145, allocations: 3.544 MB / 0.5221 GB, free: 10.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.618, allocations: 2.243 MB / 0.5243 GB, free: 7.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.265e-05/0.6181, allocations: 24 kB / 0.5243 GB, free: 7.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=540) (initialization): time 0.009197/0.6273, allocations: 5.157 MB / 0.5293 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.6274, allocations: 44.03 kB / 0.5294 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-05/0.6275, allocations: 76 kB / 0.5294 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.6283, allocations: 338.5 kB / 0.5298 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.6312, allocations: 0.9124 MB / 0.5307 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.6348, allocations: 3.089 MB / 0.5337 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.6378, allocations: 196 kB / 0.5339 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003971/0.6382, allocations: 240 kB / 0.5341 GB, free: 13.64 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.002585/0.6408, allocations: 1.577 MB / 0.5356 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.6412, allocations: 229 kB / 0.5359 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.6455, allocations: 2.784 MB / 0.5386 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.6456, allocations: 31.98 kB / 0.5386 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6456, allocations: 4 kB / 0.5386 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.6457, allocations: 7.969 kB / 0.5386 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6571, allocations: 6.958 MB / 0.5454 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/0.6572, allocations: 11.98 kB / 0.5454 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6583, allocations: 291.5 kB / 0.5457 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006183/0.659, allocations: 226.2 kB / 0.5459 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.6591, allocations: 39.98 kB / 0.5459 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.6622, allocations: 2.678 MB / 0.5486 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.6622, allocations: 16 kB / 0.5486 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.6684, allocations: 4.473 MB / 0.5529 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/0.6692, allocations: 322.1 kB / 0.5533 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.6695, allocations: 35.98 kB / 0.5533 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/0.6705, allocations: 75.92 kB / 0.5534 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.6707, allocations: 133 kB / 0.5535 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6709, allocations: 56 kB / 0.5535 GB, free: 9.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002623/0.6735, allocations: 1.648 MB / 0.5552 GB, free: 7.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6735, allocations: 0 / 0.5552 GB, free: 7.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003521/0.677, allocations: 0.7187 MB / 0.5559 GB, free: 6.652 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.007575/0.6846, allocations: 6.762 MB / 0.5625 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006738/0.6914, allocations: 3.581 MB / 0.566 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6915, allocations: 0 / 0.566 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.6935, allocations: 1.356 MB / 0.5673 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.6956, allocations: 351.9 kB / 0.5676 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2611/0.9566, allocations: 73.61 MB / 0.6395 GB, free: 53.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.9591, allocations: 2.673 MB / 0.6421 GB, free: 52.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003036/0.9621, allocations: 1.282 MB / 0.6434 GB, free: 52.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/0.9638, allocations: 1.35 MB / 0.6447 GB, free: 52.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.9639, allocations: 0 / 0.6447 GB, free: 52.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.073, allocations: 55.14 MB / 0.6985 GB, free: 22.62 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/1.073, allocations: 217.6 kB / 0.6987 GB, free: 22.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.154, allocations: 0 / 0.6987 GB, free: 22.38 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) Environment - environmentSimulation: