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.001157/0.001157, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001445/0.001446, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2199/0.2199, allocations: 9.107 MB / 300.2 MB, free: 2.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 8.219 kB / 363.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 52.44 MB / 415.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2799/0.4052, allocations: 21.15 MB / 436.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.4212, allocations: 5.132 MB / 441.8 MB, free: 29.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007148/0.4284, allocations: 85.25 kB / 441.9 MB, free: 29.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005065/0.4335, allocations: 1.003 MB / 442.9 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.4462, allocations: 3.523 MB / 446.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.4478, allocations: 114.8 kB / 446.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004724/0.4526, allocations: 2.672 MB / 449.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.4544, allocations: 0.7448 MB / 450 MB, free: 26.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.4564, allocations: 0.7621 MB / 450.7 MB, free: 25.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.4587, allocations: 1.246 MB / 452 MB, free: 25.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007515/0.4594, allocations: 120.9 kB / 452.1 MB, free: 25.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.4613, allocations: 0.5933 MB / 452.7 MB, free: 25.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.4628, allocations: 1.064 MB / 453.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.4639, allocations: 0.6168 MB / 454.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.4682, allocations: 3.589 MB / 458 MB, free: 23.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4682, allocations: 0 / 458 MB, free: 23.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4682, allocations: 3.25 kB / 458 MB, free: 23.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.4683, allocations: 0 / 458 MB, free: 23.77 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.01289/0.4812, allocations: 4.215 MB / 462.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4813, allocations: 9.25 kB / 462.2 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/0.4886, allocations: 1.798 MB / 464 MB, free: 21.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.4923, allocations: 1.357 MB / 465.3 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4925, allocations: 145 kB / 465.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006233/0.4931, allocations: 185.6 kB / 465.7 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.5103, allocations: 8.145 MB / 473.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.009e-05/0.5105, allocations: 26.95 kB / 473.8 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.5108, allocations: 93.84 kB / 473.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003362/0.5141, allocations: 1.83 MB / 475.8 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.5333, allocations: 7.783 MB / 483.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.5761, allocations: 24.73 MB / 0.4964 GB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/0.585, allocations: 2.667 MB / 0.499 GB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.5869, allocations: 0.9846 MB / 0.4999 GB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007498/0.5944, allocations: 4.36 MB / 0.5042 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.5945, allocations: 43.56 kB / 0.5042 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.979e-06/0.5945, allocations: 0 / 0.5042 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01749/0.612, allocations: 7.486 MB / 0.5115 GB, free: 6.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.6121, allocations: 68.72 kB / 0.5116 GB, free: 6.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.617, allocations: 2.491 MB / 0.514 GB, free: 3.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.6172, allocations: 49.7 kB / 0.5141 GB, free: 3.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.619, allocations: 1.989 MB / 0.516 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008508/0.6198, allocations: 0.6205 MB / 0.5166 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.6201, allocations: 76 kB / 0.5167 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003931/0.6205, allocations: 474.5 kB / 0.5172 GB, free: 448 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.6233, allocations: 1.315 MB / 0.5184 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004466/0.6278, allocations: 3.375 MB / 0.5217 GB, free: 10.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.6317, allocations: 2.134 MB / 0.5238 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-05/0.6318, allocations: 20 kB / 0.5238 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01008/0.6419, allocations: 4.993 MB / 0.5287 GB, free: 3.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.642, allocations: 32 kB / 0.5287 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.6421, allocations: 75.95 kB / 0.5288 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.6431, allocations: 433.7 kB / 0.5292 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.6458, allocations: 0.8383 MB / 0.5301 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007448/0.6533, allocations: 5.443 MB / 0.5354 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.6574, allocations: 192 kB / 0.5356 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009682/0.6584, allocations: 232 kB / 0.5358 GB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 16,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004517/0.6629, allocations: 1.54 MB / 0.5373 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.6636, allocations: 217.2 kB / 0.5375 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.6686, allocations: 2.347 MB / 0.5398 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.6687, allocations: 27.98 kB / 0.5398 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.6688, allocations: 7.984 kB / 0.5398 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.6688, allocations: 5.062 kB / 0.5398 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.6837, allocations: 6.092 MB / 0.5458 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.6838, allocations: 8 kB / 0.5458 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/0.6848, allocations: 228 kB / 0.546 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.6855, allocations: 273.9 kB / 0.5463 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.6857, allocations: 39.92 kB / 0.5463 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/0.6918, allocations: 4.326 MB / 0.5505 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6918, allocations: 7.953 kB / 0.5505 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00669/0.6985, allocations: 3.526 MB / 0.554 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.6997, allocations: 310.3 kB / 0.5543 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/0.7003, allocations: 24 kB / 0.5543 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7014, allocations: 63.94 kB / 0.5543 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.7017, allocations: 93.19 kB / 0.5544 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.7018, allocations: 51.94 kB / 0.5545 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003483/0.7053, allocations: 1.611 MB / 0.5561 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7054, allocations: 0 / 0.5561 GB, free: 6.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003977/0.7093, allocations: 0.6875 MB / 0.5567 GB, free: 6.102 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,64.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004729/0.7098, allocations: 158.9 kB / 0.5569 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006692/0.7165, allocations: 3.475 MB / 0.5603 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.7166, allocations: 4.375 kB / 0.5603 GB, free: 2.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.7187, allocations: 1.328 MB / 0.5616 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.7212, allocations: 366.8 kB / 0.5619 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.7353, allocations: 7.84 MB / 0.5696 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004215/0.7395, allocations: 2.553 MB / 0.5721 GB, free: 6.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003469/0.743, allocations: 1.168 MB / 0.5732 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.7437, allocations: 167.4 kB / 0.5734 GB, free: 4.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7437, allocations: 0 / 0.5734 GB, free: 4.93 MB / 446.1 MB Notification: Performance of Templates: time 0.2459/0.9896, allocations: 25.51 MB / 0.5983 GB, free: 119.2 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)