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.001015/0.001015, allocations: 100.1 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.001122/0.001122, 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.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2336/0.2336, allocations: 9.095 MB / 300.1 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 8 kB / 363 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1509, allocations: 52.43 MB / 415.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2371/0.3881, allocations: 19.93 MB / 435.4 MB, free: 33.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.401, allocations: 5.345 MB / 440.7 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004354/0.4054, allocations: 84.41 kB / 440.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.4084, allocations: 0.9502 MB / 441.7 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00982/0.4182, allocations: 2.995 MB / 444.7 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.4194, allocations: 107.6 kB / 444.8 MB, free: 28.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.4219, allocations: 1.363 MB / 446.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.4227, allocations: 0.7562 MB / 447 MB, free: 27.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.4233, allocations: 0.6441 MB / 447.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008621/0.4242, allocations: 0.9357 MB / 448.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.4244, allocations: 123.8 kB / 448.7 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.4255, allocations: 0.5847 MB / 449.2 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006679/0.4261, allocations: 0.999 MB / 450.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.4265, allocations: 0.6214 MB / 450.9 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.4294, allocations: 3.579 MB / 454.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.4294, allocations: 0 / 454.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4294, allocations: 0 / 454.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.4295, allocations: 0 / 454.4 MB, free: 25.21 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.01388/0.4434, allocations: 4.289 MB / 458.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4435, allocations: 9.625 kB / 458.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007726/0.4512, allocations: 2.176 MB / 460.9 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.4555, allocations: 1.358 MB / 462.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.4557, allocations: 136.3 kB / 462.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.4569, allocations: 191.7 kB / 462.6 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4732, allocations: 8.166 MB / 470.8 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.942e-05/0.4733, allocations: 24.25 kB / 470.8 MB, free: 18.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/0.4736, allocations: 88.25 kB / 470.9 MB, free: 18.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003402/0.477, allocations: 1.839 MB / 472.7 MB, free: 18.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.4967, allocations: 7.813 MB / 480.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/0.5333, allocations: 24.54 MB / 0.4932 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009217/0.5425, allocations: 2.667 MB / 0.4958 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.5443, allocations: 1.396 MB / 0.4972 GB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.5443, allocations: 47.88 kB / 0.4972 GB, free: 5.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.917e-06/0.5443, allocations: 0 / 0.4972 GB, free: 5.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=189): time 0.02682/0.5712, allocations: 9.43 MB / 0.5064 GB, free: 11.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.5713, allocations: 72.72 kB / 0.5065 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.5751, allocations: 2.423 MB / 0.5089 GB, free: 8.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.5753, allocations: 49.7 kB / 0.5089 GB, free: 8.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.5769, allocations: 1.935 MB / 0.5108 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008772/0.5778, allocations: 0.6783 MB / 0.5115 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.578, allocations: 76 kB / 0.5116 GB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003795/0.5784, allocations: 482.5 kB / 0.512 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.5806, allocations: 1.347 MB / 0.5133 GB, free: 4.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.5846, allocations: 3.383 MB / 0.5166 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.5879, allocations: 2.179 MB / 0.5188 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.5879, allocations: 24 kB / 0.5188 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.008807/0.5967, allocations: 5.055 MB / 0.5237 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.5968, allocations: 36 kB / 0.5238 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.856e-05/0.5969, allocations: 72 kB / 0.5238 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.598, allocations: 454.2 kB / 0.5243 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/0.6007, allocations: 0.8461 MB / 0.5251 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/0.6077, allocations: 5.564 MB / 0.5305 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/0.6105, allocations: 188 kB / 0.5307 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/0.6109, allocations: 228 kB / 0.5309 GB, free: 1.016 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 (462): * Single equations (assignments): 456 * 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.002596/0.6135, allocations: 1.539 MB / 0.5324 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.6139, allocations: 221.1 kB / 0.5326 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/0.6183, allocations: 2.747 MB / 0.5353 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.791e-05/0.6184, allocations: 27.98 kB / 0.5353 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6184, allocations: 7.953 kB / 0.5353 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.6185, allocations: 11.97 kB / 0.5354 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.6306, allocations: 6.705 MB / 0.5419 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6307, allocations: 7.938 kB / 0.5419 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/0.6317, allocations: 252.4 kB / 0.5422 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007916/0.6325, allocations: 296.1 kB / 0.5424 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.6326, allocations: 39.98 kB / 0.5425 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.6376, allocations: 4.435 MB / 0.5468 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/0.6377, allocations: 11.94 kB / 0.5468 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.6441, allocations: 4.26 MB / 0.551 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009939/0.6452, allocations: 318.2 kB / 0.5513 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.6454, allocations: 35.95 kB / 0.5513 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009265/0.6464, allocations: 67.92 kB / 0.5514 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.6467, allocations: 125 kB / 0.5515 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.6468, allocations: 52 kB / 0.5515 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.6497, allocations: 1.583 MB / 0.5531 GB, free: 9.504 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6497, allocations: 192 / 0.5531 GB, free: 9.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003392/0.6531, allocations: 0.707 MB / 0.5538 GB, free: 8.797 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (143): * Single equations (assignments): 137 * 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.0004555/0.6536, allocations: 178.8 kB / 0.554 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006442/0.66, allocations: 3.588 MB / 0.5575 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.66, allocations: 4 kB / 0.5575 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00217/0.6622, allocations: 1.424 MB / 0.5589 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.6644, allocations: 341 kB / 0.5592 GB, free: 3.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.678, allocations: 8.041 MB / 0.567 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.6811, allocations: 2.63 MB / 0.5696 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00303/0.6842, allocations: 1.219 MB / 0.5708 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.6846, allocations: 175.4 kB / 0.571 GB, free: 7.031 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6846, allocations: 4 kB / 0.571 GB, free: 7.027 MB / 446.1 MB Notification: Performance of Templates: time 0.2777/0.9624, allocations: 25.91 MB / 0.5963 GB, free: 116 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)