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/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.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.001298/0.001298, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.001235/0.001236, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.237/1.237, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04174/0.04174, allocations: 9.108 MB / 299.8 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 362.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2104, allocations: 51.42 MB / 413.5 MB, free: 25.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01509/0.2255, allocations: 23.45 MB / 437 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2359, allocations: 5.381 MB / 442.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.2403, allocations: 83.88 kB / 442.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008903/0.2412, allocations: 294.5 kB / 442.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.2439, allocations: 1.172 MB / 443.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.2443, allocations: 115.9 kB / 444 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.2467, allocations: 2.451 MB / 446.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009844/0.2477, allocations: 0.8576 MB / 447.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009413/0.2486, allocations: 0.8638 MB / 448.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.2499, allocations: 1.37 MB / 449.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.2502, allocations: 224 kB / 449.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2513, allocations: 0.749 MB / 450.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008379/0.2521, allocations: 1.184 MB / 451.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2533, allocations: 1.522 MB / 453.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.2565, allocations: 3.782 MB / 457 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2565, allocations: 4 kB / 457 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2565, allocations: 4 kB / 457 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.318e-05/0.2566, allocations: 0 / 457 MB, free: 13.55 MB / 334.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.01497/0.2716, allocations: 4.809 MB / 461.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2716, allocations: 8.031 kB / 461.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006078/0.2777, allocations: 1.756 MB / 463.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.2801, allocations: 1.384 MB / 464.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.2803, allocations: 139.8 kB / 465.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/0.2807, allocations: 191.7 kB / 465.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.2934, allocations: 8.151 MB / 473.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.2935, allocations: 15.88 kB / 473.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.2938, allocations: 91.81 kB / 473.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.2965, allocations: 1.836 MB / 475.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.3115, allocations: 7.804 MB / 483.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03577/0.3473, allocations: 24.74 MB / 0.496 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009007/0.3563, allocations: 2.661 MB / 0.4986 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.358, allocations: 0.9999 MB / 0.4996 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005995/0.364, allocations: 4.346 MB / 0.5038 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3641, allocations: 43.56 kB / 0.5039 GB, free: 1.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 5.44e-06/0.3641, allocations: 0 / 0.5039 GB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.208/0.572, allocations: 7.493 MB / 0.5112 GB, free: 88.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5721, allocations: 67.28 kB / 0.5112 GB, free: 88.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.5756, allocations: 2.508 MB / 0.5137 GB, free: 87.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5758, allocations: 54.56 kB / 0.5137 GB, free: 87.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008713/0.5767, allocations: 1.989 MB / 0.5157 GB, free: 86.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.577, allocations: 0.614 MB / 0.5163 GB, free: 85.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007768/0.5778, allocations: 0.7691 MB / 0.517 GB, free: 85.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.5778, allocations: 305.1 kB / 0.5173 GB, free: 85.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.5795, allocations: 1.334 MB / 0.5186 GB, free: 84.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5818, allocations: 3.389 MB / 0.5219 GB, free: 81.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/0.5859, allocations: 5.108 MB / 0.5269 GB, free: 77.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/0.586, allocations: 20 kB / 0.527 GB, free: 77.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.006325/0.5923, allocations: 5.035 MB / 0.5319 GB, free: 72.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.5924, allocations: 38.02 kB / 0.5319 GB, free: 72.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/0.5924, allocations: 72 kB / 0.532 GB, free: 72.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/0.5933, allocations: 426.2 kB / 0.5324 GB, free: 72.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5954, allocations: 0.842 MB / 0.5332 GB, free: 71.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.6007, allocations: 5.905 MB / 0.539 GB, free: 65.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.6033, allocations: 188 kB / 0.5391 GB, free: 65.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.6035, allocations: 231.6 kB / 0.5394 GB, free: 64.93 MB / 382.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.001838/0.6054, allocations: 1.535 MB / 0.5409 GB, free: 63.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.6056, allocations: 217.1 kB / 0.5411 GB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.6087, allocations: 2.355 MB / 0.5434 GB, free: 60.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.154e-05/0.6088, allocations: 31.5 kB / 0.5434 GB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6088, allocations: 6.406 kB / 0.5434 GB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6088, allocations: 7.969 kB / 0.5434 GB, free: 60.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/0.6164, allocations: 6.108 MB / 0.5494 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.6165, allocations: 4 kB / 0.5494 GB, free: 54.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.6173, allocations: 224 kB / 0.5496 GB, free: 54.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006116/0.6179, allocations: 276.1 kB / 0.5499 GB, free: 54.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.618, allocations: 39.34 kB / 0.5499 GB, free: 54.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.6216, allocations: 4.693 MB / 0.5545 GB, free: 49.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6216, allocations: 0 / 0.5545 GB, free: 49.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.6256, allocations: 3.538 MB / 0.5579 GB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.6261, allocations: 294.3 kB / 0.5582 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.6264, allocations: 35.98 kB / 0.5583 GB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.6271, allocations: 63.88 kB / 0.5583 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6273, allocations: 89.19 kB / 0.5584 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.6274, allocations: 51.98 kB / 0.5584 GB, free: 44.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.6292, allocations: 1.622 MB / 0.56 GB, free: 43.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6292, allocations: 4 kB / 0.56 GB, free: 43.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002646/0.6318, allocations: 0.6907 MB / 0.5607 GB, free: 42.61 MB / 382.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.000307/0.6321, allocations: 157.9 kB / 0.5609 GB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006782/0.6389, allocations: 5.085 MB / 0.5658 GB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.639, allocations: 0 / 0.5658 GB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.6404, allocations: 1.322 MB / 0.5671 GB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.6421, allocations: 382.4 kB / 0.5675 GB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00992/0.6521, allocations: 8.439 MB / 0.5757 GB, free: 27.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.654, allocations: 2.56 MB / 0.5782 GB, free: 24.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/0.6547, allocations: 203.4 kB / 0.5784 GB, free: 24.41 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6547, allocations: 0 / 0.5784 GB, free: 24.41 MB / 382.1 MB Notification: Performance of Templates: time 0.07617/0.7309, allocations: 71.04 MB / 0.6478 GB, free: 1.457 MB / 430.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)