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.001103/0.001103, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001212/0.001212, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04394/0.04394, allocations: 9.11 MB / 300.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 68.12 kB / 363.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2369, allocations: 51.42 MB / 414.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.007234/0.2442, allocations: 8.487 MB / 423.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004789/0.249, allocations: 2.61 MB / 425.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007836/0.2498, allocations: 31.94 kB / 425.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.2506, allocations: 353.7 kB / 426.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.2527, allocations: 1.272 MB / 427.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.2529, allocations: 123.7 kB / 427.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2549, allocations: 2.445 MB / 430.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.2556, allocations: 0.8383 MB / 431 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.2563, allocations: 0.8676 MB / 431.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.2573, allocations: 1.261 MB / 433.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.2575, allocations: 224 kB / 433.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000888/0.2584, allocations: 0.745 MB / 434.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.259, allocations: 1.173 MB / 435.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009226/0.26, allocations: 1.522 MB / 436.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003723/0.2637, allocations: 4.838 MB / 441.6 MB, free: 14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2637, allocations: 0 / 441.6 MB, free: 14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2637, allocations: 0 / 441.6 MB, free: 14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.149e-05/0.2638, allocations: 0 / 441.6 MB, free: 14 MB / 318.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.01475/0.2786, allocations: 4.805 MB / 446.4 MB, free: 9.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2786, allocations: 8.031 kB / 446.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/0.2847, allocations: 1.759 MB / 448.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.2877, allocations: 1.388 MB / 449.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2879, allocations: 143.8 kB / 449.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.2883, allocations: 191.8 kB / 449.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.3008, allocations: 8.147 MB / 458 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.349e-05/0.3009, allocations: 23.72 kB / 458 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.3012, allocations: 95.86 kB / 458.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/0.3041, allocations: 1.829 MB / 460 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.3191, allocations: 7.808 MB / 467.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03451/0.3536, allocations: 24.65 MB / 492.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/0.3623, allocations: 2.655 MB / 495.1 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.3638, allocations: 1.004 MB / 496.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006417/0.3702, allocations: 4.34 MB / 0.4887 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3703, allocations: 47.56 kB / 0.4887 GB, free: 1.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=142): time 3.236e-06/0.3703, allocations: 3.938 kB / 0.4887 GB, free: 1.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.01546/0.3858, allocations: 7.506 MB / 0.4961 GB, free: 9.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.3858, allocations: 64.72 kB / 0.4961 GB, free: 9.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.3893, allocations: 2.503 MB / 0.4986 GB, free: 7.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.3894, allocations: 45.7 kB / 0.4986 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.3908, allocations: 2 MB / 0.5006 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005416/0.3914, allocations: 0.6129 MB / 0.5012 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009755/0.3923, allocations: 0.7662 MB / 0.5019 GB, free: 3.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3925, allocations: 305.1 kB / 0.5022 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.3947, allocations: 1.331 MB / 0.5035 GB, free: 2.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2199/0.6145, allocations: 3.393 MB / 0.5068 GB, free: 85.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/0.6218, allocations: 5.103 MB / 0.5118 GB, free: 81.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.699e-05/0.6219, allocations: 20.62 kB / 0.5118 GB, free: 81.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008942/0.6308, allocations: 5.03 MB / 0.5167 GB, free: 79.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.6309, allocations: 35.47 kB / 0.5168 GB, free: 79.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/0.631, allocations: 70.41 kB / 0.5168 GB, free: 79.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/0.6319, allocations: 423 kB / 0.5172 GB, free: 79.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.6342, allocations: 0.8381 MB / 0.5181 GB, free: 79.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.64, allocations: 5.915 MB / 0.5238 GB, free: 75.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.6427, allocations: 188.6 kB / 0.524 GB, free: 75.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.643, allocations: 226.3 kB / 0.5242 GB, free: 75.59 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.00188/0.6449, allocations: 1.534 MB / 0.5257 GB, free: 74.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.6452, allocations: 221.7 kB / 0.5259 GB, free: 74.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.6485, allocations: 2.357 MB / 0.5282 GB, free: 73.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.374e-05/0.6486, allocations: 31.59 kB / 0.5283 GB, free: 73.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6486, allocations: 4 kB / 0.5283 GB, free: 73.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6486, allocations: 7.5 kB / 0.5283 GB, free: 73.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008852/0.6575, allocations: 6.077 MB / 0.5342 GB, free: 68.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.6576, allocations: 288 / 0.5342 GB, free: 68.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.6584, allocations: 223.7 kB / 0.5344 GB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/0.6591, allocations: 276.2 kB / 0.5347 GB, free: 68.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.6592, allocations: 31.28 kB / 0.5347 GB, free: 68.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.663, allocations: 4.689 MB / 0.5393 GB, free: 63.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6631, allocations: 4 kB / 0.5393 GB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.6672, allocations: 3.541 MB / 0.5428 GB, free: 59.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.6679, allocations: 298.3 kB / 0.5431 GB, free: 59.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.6681, allocations: 32 kB / 0.5431 GB, free: 59.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.6689, allocations: 55.94 kB / 0.5431 GB, free: 59.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6691, allocations: 101.1 kB / 0.5432 GB, free: 59.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.349e-05/0.6692, allocations: 48.75 kB / 0.5433 GB, free: 59.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002027/0.6713, allocations: 1.622 MB / 0.5449 GB, free: 57.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6713, allocations: 4 kB / 0.5449 GB, free: 57.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002775/0.6741, allocations: 0.6899 MB / 0.5455 GB, free: 56.77 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.0003284/0.6744, allocations: 167 kB / 0.5457 GB, free: 56.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005062/0.6795, allocations: 3.522 MB / 0.5491 GB, free: 53.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6795, allocations: 0 / 0.5491 GB, free: 53.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.681, allocations: 1.322 MB / 0.5504 GB, free: 51.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.6828, allocations: 381.5 kB / 0.5508 GB, free: 51.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.6928, allocations: 6.525 MB / 0.5572 GB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.6953, allocations: 2.557 MB / 0.5597 GB, free: 42.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002634/0.6979, allocations: 1.161 MB / 0.5608 GB, free: 41.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.6984, allocations: 175.4 kB / 0.561 GB, free: 40.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6984, allocations: 0 / 0.561 GB, free: 40.9 MB / 382.1 MB Notification: Performance of Templates: time 0.04125/0.7396, allocations: 25.64 MB / 0.586 GB, free: 15.45 MB / 382.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 -s gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)