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.00628/0.006279, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002802/0.002802, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04479/0.04479, allocations: 9.133 MB / 299.6 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 59.89 kB / 414.6 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1183, allocations: 51.44 MB / 466.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.0102/0.1285, allocations: 8.49 MB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005302/0.1339, allocations: 2.597 MB / 477.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007916/0.1347, allocations: 31.94 kB / 477.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.1355, allocations: 361.7 kB / 477.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.1383, allocations: 1.307 MB / 478.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1387, allocations: 123.8 kB / 479 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.1413, allocations: 2.444 MB / 481.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.1423, allocations: 0.8382 MB / 482.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009674/0.1433, allocations: 0.8715 MB / 483.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1446, allocations: 1.265 MB / 484.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.1449, allocations: 224 kB / 484.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1461, allocations: 0.7334 MB / 485.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009343/0.1471, allocations: 1.18 MB / 486.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.1483, allocations: 1.514 MB / 488 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.1529, allocations: 4.866 MB / 492.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1529, allocations: 0 / 492.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1529, allocations: 0 / 492.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.409e-05/0.153, allocations: 0 / 492.9 MB, free: 6.691 MB / 366.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.01551/0.1685, allocations: 4.797 MB / 497.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1686, allocations: 12.03 kB / 497.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/0.1751, allocations: 1.759 MB / 499.5 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.178, allocations: 1.384 MB / 0.4891 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.1781, allocations: 143.8 kB / 0.4893 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.1786, allocations: 183.8 kB / 0.4894 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.1912, allocations: 8.159 MB / 0.4974 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.495e-05/0.1913, allocations: 27.72 kB / 0.4974 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.1916, allocations: 87.86 kB / 0.4975 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.1945, allocations: 1.829 MB / 0.4993 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2813/0.4758, allocations: 7.805 MB / 0.5069 GB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04154/0.5173, allocations: 24.66 MB / 0.531 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008212/0.5256, allocations: 2.663 MB / 0.5336 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.5269, allocations: 0.9881 MB / 0.5346 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/0.5319, allocations: 4.352 MB / 0.5388 GB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5319, allocations: 42.25 kB / 0.5389 GB, free: 17.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 2.805e-06/0.5319, allocations: 0 / 0.5389 GB, free: 17.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.0126/0.5445, allocations: 7.506 MB / 0.5462 GB, free: 11.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.5446, allocations: 64.72 kB / 0.5462 GB, free: 11.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.5482, allocations: 2.511 MB / 0.5487 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5483, allocations: 49.7 kB / 0.5487 GB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.5494, allocations: 1.984 MB / 0.5507 GB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.5499, allocations: 0.6161 MB / 0.5513 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009729/0.5509, allocations: 0.7661 MB / 0.552 GB, free: 5.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.5509, allocations: 313 kB / 0.5523 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.553, allocations: 1.335 MB / 0.5536 GB, free: 3.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.5558, allocations: 3.39 MB / 0.5569 GB, free: 15.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007796/0.5636, allocations: 5.097 MB / 0.5619 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.5637, allocations: 20 kB / 0.5619 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009272/0.573, allocations: 5.035 MB / 0.5669 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.5731, allocations: 40.06 kB / 0.5669 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.915e-05/0.5732, allocations: 68 kB / 0.567 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.5744, allocations: 427.2 kB / 0.5674 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.5772, allocations: 0.8344 MB / 0.5682 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/0.5852, allocations: 5.907 MB / 0.574 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.5884, allocations: 192 kB / 0.5741 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.5888, allocations: 228 kB / 0.5744 GB, free: 11.98 MB / 414.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.002862/0.5917, allocations: 1.527 MB / 0.5758 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.5921, allocations: 225.1 kB / 0.5761 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.5964, allocations: 2.357 MB / 0.5784 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/0.5965, allocations: 32.3 kB / 0.5784 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5965, allocations: 4 kB / 0.5784 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5966, allocations: 7.969 kB / 0.5784 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.6071, allocations: 6.079 MB / 0.5843 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6071, allocations: 0 / 0.5843 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009157/0.608, allocations: 219.7 kB / 0.5845 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007189/0.6088, allocations: 281.7 kB / 0.5848 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.6089, allocations: 28 kB / 0.5848 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/0.6139, allocations: 4.693 MB / 0.5894 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6139, allocations: 7.938 kB / 0.5894 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/0.6188, allocations: 3.536 MB / 0.5929 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.6194, allocations: 294.4 kB / 0.5932 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.6196, allocations: 28 kB / 0.5932 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.6204, allocations: 55.94 kB / 0.5932 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.6205, allocations: 105 kB / 0.5933 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.6207, allocations: 48.11 kB / 0.5934 GB, free: 8.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.6228, allocations: 1.626 MB / 0.595 GB, free: 6.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6229, allocations: 0 / 0.595 GB, free: 6.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002582/0.6254, allocations: 0.6911 MB / 0.5957 GB, free: 5.684 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.0003698/0.6258, allocations: 169.6 kB / 0.5958 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005047/0.6309, allocations: 3.512 MB / 0.5992 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6309, allocations: 384 / 0.5992 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.6326, allocations: 1.318 MB / 0.6005 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.6341, allocations: 387.2 kB / 0.6009 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6445, allocations: 6.521 MB / 0.6073 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/0.6473, allocations: 2.552 MB / 0.6098 GB, free: 7.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002802/0.6501, allocations: 1.161 MB / 0.6109 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.6505, allocations: 171.4 kB / 0.6111 GB, free: 5.805 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6505, allocations: 0 / 0.6111 GB, free: 5.805 MB / 446.1 MB Notification: Performance of Templates: time 0.04713/0.6977, allocations: 27.04 MB / 0.6375 GB, free: 10.9 MB / 478.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)