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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 109 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04009/0.04009, allocations: 8.935 MB / 349 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.67 kB / 411.1 MB, free: 57.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 51.39 MB / 462.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2209/0.333, allocations: 23.36 MB / 485.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3444, allocations: 5.393 MB / 491.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.349, allocations: 82 kB / 491.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.3504, allocations: 303.6 kB / 491.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.355, allocations: 1.183 MB / 492.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3556, allocations: 100.6 kB / 492.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004495/0.3601, allocations: 3.393 MB / 496.3 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.3618, allocations: 0.7695 MB / 497.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.3638, allocations: 0.7317 MB / 497.8 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.3663, allocations: 1.275 MB / 499.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007862/0.3671, allocations: 128.1 kB / 499.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.3692, allocations: 0.6919 MB / 499.9 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.3709, allocations: 1.093 MB / 0.4893 GB, free: 7.152 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.3726, allocations: 1.425 MB / 0.4906 GB, free: 6.137 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.3773, allocations: 4.492 MB / 0.495 GB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3773, allocations: 0 / 0.495 GB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3773, allocations: 0 / 0.495 GB, free: 3.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.433e-05/0.3774, allocations: 0 / 0.495 GB, free: 3.254 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01539/0.3928, allocations: 4.805 MB / 0.4997 GB, free: 284 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.3929, allocations: 9.875 kB / 0.4997 GB, free: 284 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007032/0.3999, allocations: 1.755 MB / 0.5014 GB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.4035, allocations: 1.369 MB / 0.5028 GB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4037, allocations: 143.8 kB / 0.5029 GB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.4042, allocations: 194.2 kB / 0.5031 GB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.417, allocations: 8.151 MB / 0.5111 GB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.37e-05/0.4171, allocations: 23.72 kB / 0.5111 GB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.4174, allocations: 90.3 kB / 0.5112 GB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/0.4203, allocations: 1.831 MB / 0.513 GB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.4378, allocations: 7.802 MB / 0.5206 GB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0354/0.4732, allocations: 24.64 MB / 0.5446 GB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008545/0.4818, allocations: 2.663 MB / 0.5472 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.4833, allocations: 0.9924 MB / 0.5482 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006128/0.4895, allocations: 4.351 MB / 0.5525 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4895, allocations: 43.56 kB / 0.5525 GB, free: 11.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=142): time 3.927e-06/0.4895, allocations: 3.938 kB / 0.5525 GB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.01416/0.5037, allocations: 7.492 MB / 0.5598 GB, free: 3.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5038, allocations: 64.72 kB / 0.5599 GB, free: 3.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.5071, allocations: 2.51 MB / 0.5623 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5072, allocations: 45.7 kB / 0.5624 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.5083, allocations: 1.992 MB / 0.5643 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/0.5088, allocations: 0.6089 MB / 0.5649 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000941/0.5098, allocations: 0.7682 MB / 0.5657 GB, free: 13.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.5099, allocations: 301.1 kB / 0.566 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.5118, allocations: 1.335 MB / 0.5673 GB, free: 11.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.515, allocations: 3.386 MB / 0.5706 GB, free: 7.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/0.5207, allocations: 5.106 MB / 0.5756 GB, free: 1.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/0.5208, allocations: 20 kB / 0.5756 GB, free: 1.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.008571/0.5294, allocations: 5.014 MB / 0.5805 GB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.5294, allocations: 35.94 kB / 0.5805 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.296e-05/0.5295, allocations: 72 kB / 0.5806 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.5305, allocations: 424.5 kB / 0.581 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.5329, allocations: 0.8305 MB / 0.5818 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.5393, allocations: 5.465 MB / 0.5871 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.5423, allocations: 187.9 kB / 0.5873 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.5428, allocations: 228 kB / 0.5875 GB, free: 4.875 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (455): * Single equations (assignments): 449 * 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.002494/0.5453, allocations: 1.541 MB / 0.589 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.5456, allocations: 221.2 kB / 0.5892 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.5495, allocations: 2.357 MB / 0.5915 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/0.5496, allocations: 27.98 kB / 0.5916 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5497, allocations: 4 kB / 0.5916 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5497, allocations: 3.984 kB / 0.5916 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5601, allocations: 6.121 MB / 0.5976 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5601, allocations: 4 kB / 0.5976 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.561, allocations: 223.7 kB / 0.5978 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007086/0.5618, allocations: 266.7 kB / 0.598 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.5619, allocations: 31.98 kB / 0.5981 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.5665, allocations: 4.336 MB / 0.6023 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5665, allocations: 4 kB / 0.6023 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/0.5927, allocations: 17.66 MB / 0.6195 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.5932, allocations: 290.4 kB / 0.6198 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.5934, allocations: 31.98 kB / 0.6198 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.5942, allocations: 55.94 kB / 0.6199 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.5944, allocations: 101.1 kB / 0.62 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.5945, allocations: 54.27 kB / 0.62 GB, free: 2.684 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002314/0.5969, allocations: 1.622 MB / 0.6216 GB, free: 1.043 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5969, allocations: 0 / 0.6216 GB, free: 1.043 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00326/0.6001, allocations: 0.8867 MB / 0.6225 GB, free: 160 kB / 442.7 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.000385/0.6005, allocations: 153.3 kB / 0.6226 GB, free: 16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005531/0.6061, allocations: 3.499 MB / 0.6261 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6061, allocations: 384 / 0.6261 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.608, allocations: 1.329 MB / 0.6274 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.6101, allocations: 358.3 kB / 0.6277 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.6242, allocations: 9.544 MB / 0.637 GB, free: 1.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1766/0.8009, allocations: 2.605 MB / 0.6396 GB, free: 152.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003424/0.8043, allocations: 1.177 MB / 0.6407 GB, free: 152.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.8049, allocations: 175.8 kB / 0.6409 GB, free: 152.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.492e-06/0.8049, allocations: 0 / 0.6409 GB, free: 152.2 MB / 458.7 MB Notification: Performance of Templates: time 0.04772/0.8526, allocations: 30.61 MB / 0.6708 GB, free: 138.2 MB / 458.7 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)