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.001545/0.001545, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002089, allocations: 197 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1657/0.1657, allocations: 9.117 MB / 299.5 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 362 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 51.43 MB / 413.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.0104/0.1394, allocations: 8.497 MB / 421.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.24/0.3795, allocations: 2.592 MB / 424.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.3808, allocations: 32.75 kB / 424.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.3817, allocations: 353.5 kB / 424.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.3846, allocations: 1.268 MB / 426.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.385, allocations: 121.2 kB / 426.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.3877, allocations: 2.429 MB / 428.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3889, allocations: 0.8356 MB / 429.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.3902, allocations: 0.8661 MB / 430.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.3916, allocations: 1.27 MB / 431.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003689/0.392, allocations: 226.1 kB / 431.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.3934, allocations: 0.7325 MB / 432.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008929/0.3943, allocations: 1.184 MB / 433.8 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.3954, allocations: 1.516 MB / 435.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.3996, allocations: 4.626 MB / 439.9 MB, free: 32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3997, allocations: 0 / 439.9 MB, free: 32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3997, allocations: 3.375 kB / 439.9 MB, free: 32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.948e-05/0.3998, allocations: 0 / 439.9 MB, free: 32 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.01626/0.416, allocations: 4.812 MB / 444.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4161, allocations: 13.69 kB / 444.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006381/0.4225, allocations: 1.752 MB / 446.5 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.4254, allocations: 1.377 MB / 447.9 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4255, allocations: 141.4 kB / 448 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004841/0.426, allocations: 185.2 kB / 448.2 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4398, allocations: 8.152 MB / 456.3 MB, free: 25.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/0.4399, allocations: 29.19 kB / 456.4 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.4402, allocations: 88.03 kB / 456.5 MB, free: 25.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/0.4434, allocations: 1.83 MB / 458.3 MB, free: 25.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/0.4625, allocations: 7.804 MB / 466.1 MB, free: 22.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.5007, allocations: 24.75 MB / 490.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.5091, allocations: 2.653 MB / 493.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5104, allocations: 0.9963 MB / 494.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005785/0.5162, allocations: 4.352 MB / 498.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.5163, allocations: 49.34 kB / 498.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=142): time 3.606e-06/0.5163, allocations: 0 / 498.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.015/0.5313, allocations: 7.499 MB / 0.4945 GB, free: 4.562 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.5314, allocations: 68.72 kB / 0.4946 GB, free: 4.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.5349, allocations: 2.507 MB / 0.497 GB, free: 1.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.535, allocations: 45.7 kB / 0.4971 GB, free: 1.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.5364, allocations: 1.994 MB / 0.499 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.5369, allocations: 0.6115 MB / 0.4996 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009983/0.5379, allocations: 0.7726 MB / 0.5004 GB, free: 14.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5381, allocations: 305.1 kB / 0.5007 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.54, allocations: 1.339 MB / 0.502 GB, free: 12.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.5433, allocations: 3.383 MB / 0.5053 GB, free: 8.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/0.5493, allocations: 5.097 MB / 0.5103 GB, free: 2.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.5493, allocations: 20 kB / 0.5103 GB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008243/0.5576, allocations: 5.036 MB / 0.5152 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.5577, allocations: 36 kB / 0.5152 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/0.5577, allocations: 72.09 kB / 0.5153 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.5588, allocations: 426.9 kB / 0.5157 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.5612, allocations: 0.8305 MB / 0.5165 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.5684, allocations: 5.921 MB / 0.5223 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.5714, allocations: 191.9 kB / 0.5225 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005403/0.572, allocations: 228 kB / 0.5227 GB, free: 5.367 MB / 398.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.003215/0.5752, allocations: 1.54 MB / 0.5242 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.5758, allocations: 217.5 kB / 0.5244 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.5803, allocations: 2.35 MB / 0.5267 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/0.5804, allocations: 27.98 kB / 0.5267 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.5804, allocations: 15.98 kB / 0.5267 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.5805, allocations: 7.922 kB / 0.5268 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5927, allocations: 6.109 MB / 0.5327 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5927, allocations: 4 kB / 0.5327 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/0.5936, allocations: 220 kB / 0.5329 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007131/0.5944, allocations: 285.3 kB / 0.5332 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.5945, allocations: 35.98 kB / 0.5332 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.5996, allocations: 4.686 MB / 0.5378 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5996, allocations: 4 kB / 0.5378 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.6053, allocations: 3.533 MB / 0.5413 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008506/0.6061, allocations: 286.4 kB / 0.5415 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.6067, allocations: 32 kB / 0.5416 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6078, allocations: 59.92 kB / 0.5416 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.608, allocations: 101.2 kB / 0.5417 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6081, allocations: 58.64 kB / 0.5418 GB, free: 1.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003177/0.6113, allocations: 1.626 MB / 0.5434 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6113, allocations: 0 / 0.5434 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003179/0.6145, allocations: 0.6836 MB / 0.544 GB, free: 15.02 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 (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.0003641/0.6149, allocations: 169.6 kB / 0.5442 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008559/0.6234, allocations: 5.075 MB / 0.5492 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6235, allocations: 0 / 0.5492 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.6253, allocations: 1.325 MB / 0.5505 GB, free: 8.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.6273, allocations: 381.1 kB / 0.5508 GB, free: 8.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.638, allocations: 6.595 MB / 0.5573 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.6407, allocations: 2.56 MB / 0.5598 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00293/0.6437, allocations: 1.157 MB / 0.5609 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.6441, allocations: 171.4 kB / 0.561 GB, free: 13.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6441, allocations: 4 kB / 0.5611 GB, free: 13.5 MB / 446.1 MB Notification: Performance of Templates: time 0.2382/0.8823, allocations: 27.39 MB / 0.5878 GB, free: 118.5 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)