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.001044/0.001044, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001051/0.001051, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04377/0.04377, allocations: 9.118 MB / 300.3 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 415.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09937, allocations: 51.44 MB / 466.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01013/0.1095, allocations: 8.488 MB / 475.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.115, allocations: 2.593 MB / 477.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1164, allocations: 35.94 kB / 477.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1177, allocations: 361.6 kB / 478.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1212, allocations: 1.264 MB / 479.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.1217, allocations: 123.8 kB / 479.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.1252, allocations: 2.443 MB / 482 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1267, allocations: 0.8459 MB / 482.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.1285, allocations: 0.8676 MB / 483.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.1306, allocations: 1.261 MB / 485 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006391/0.1312, allocations: 224 kB / 485.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.133, allocations: 0.745 MB / 486 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.1345, allocations: 1.18 MB / 487.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.1366, allocations: 1.511 MB / 488.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005844/0.1425, allocations: 4.858 MB / 493.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1426, allocations: 0 / 493.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1426, allocations: 0 / 493.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001244/0.1427, allocations: 0 / 493.5 MB, free: 6.773 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.01653/0.1592, allocations: 4.805 MB / 498.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1593, allocations: 12.03 kB / 498.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006503/0.1658, allocations: 1.756 MB / 0.4884 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.1689, allocations: 1.392 MB / 0.4897 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.1691, allocations: 135.9 kB / 0.4899 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005715/0.1697, allocations: 199.8 kB / 0.4901 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.1843, allocations: 8.151 MB / 0.498 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.1845, allocations: 23.72 kB / 0.498 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006761/0.1852, allocations: 87.88 kB / 0.4981 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00318/0.1884, allocations: 1.836 MB / 0.4999 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.242/0.4304, allocations: 7.8 MB / 0.5075 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03713/0.4675, allocations: 24.66 MB / 0.5316 GB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/0.4758, allocations: 2.656 MB / 0.5342 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.4773, allocations: 0.9936 MB / 0.5352 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005757/0.4831, allocations: 4.355 MB / 0.5394 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.4832, allocations: 47.06 kB / 0.5395 GB, free: 17.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.047e-06/0.4832, allocations: 0 / 0.5395 GB, free: 17.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01416/0.4973, allocations: 7.509 MB / 0.5468 GB, free: 11.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4974, allocations: 68.72 kB / 0.5469 GB, free: 11.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.5012, allocations: 2.503 MB / 0.5493 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.5014, allocations: 45.7 kB / 0.5494 GB, free: 8.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5025, allocations: 1.992 MB / 0.5513 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.503, allocations: 0.6083 MB / 0.5519 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.5042, allocations: 0.7732 MB / 0.5527 GB, free: 5.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.5042, allocations: 313.1 kB / 0.553 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.5061, allocations: 1.331 MB / 0.5543 GB, free: 3.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.5089, allocations: 3.382 MB / 0.5576 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006356/0.5153, allocations: 5.112 MB / 0.5625 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/0.5154, allocations: 20 kB / 0.5626 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009613/0.5251, allocations: 5.026 MB / 0.5675 GB, free: 4.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/0.5252, allocations: 39.98 kB / 0.5675 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.5253, allocations: 72 kB / 0.5676 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.5264, allocations: 425.1 kB / 0.568 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.5292, allocations: 0.8344 MB / 0.5688 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/0.5366, allocations: 5.905 MB / 0.5746 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.5396, allocations: 191.9 kB / 0.5748 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006947/0.5403, allocations: 235.7 kB / 0.575 GB, free: 12.05 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.003043/0.5434, allocations: 1.539 MB / 0.5765 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/0.5439, allocations: 221.1 kB / 0.5767 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.5486, allocations: 2.35 MB / 0.579 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/0.5487, allocations: 27.98 kB / 0.579 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.5488, allocations: 8 kB / 0.579 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.5488, allocations: 7.969 kB / 0.579 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.5614, allocations: 6.074 MB / 0.585 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.5614, allocations: 11.47 kB / 0.585 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.5624, allocations: 223.7 kB / 0.5852 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.5632, allocations: 265.5 kB / 0.5854 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.5633, allocations: 35.98 kB / 0.5855 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005304/0.5686, allocations: 4.687 MB / 0.59 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5687, allocations: 11.94 kB / 0.5901 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/0.5745, allocations: 3.532 MB / 0.5935 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008037/0.5753, allocations: 294.4 kB / 0.5938 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/0.5759, allocations: 32 kB / 0.5938 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.577, allocations: 55.94 kB / 0.5939 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.5773, allocations: 97.23 kB / 0.594 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.5774, allocations: 48 kB / 0.594 GB, free: 8.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002932/0.5804, allocations: 1.634 MB / 0.5956 GB, free: 6.441 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5804, allocations: 0 / 0.5956 GB, free: 6.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003376/0.5838, allocations: 0.6886 MB / 0.5963 GB, free: 5.762 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.0004868/0.5843, allocations: 165.7 kB / 0.5964 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006344/0.5906, allocations: 3.51 MB / 0.5999 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5907, allocations: 0 / 0.5999 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.5928, allocations: 1.321 MB / 0.6012 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.595, allocations: 378.8 kB / 0.6015 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.6078, allocations: 6.89 MB / 0.6082 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/0.6112, allocations: 2.553 MB / 0.6107 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.612, allocations: 211.4 kB / 0.6109 GB, free: 6.637 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6121, allocations: 0 / 0.6109 GB, free: 6.637 MB / 446.1 MB Notification: Performance of Templates: time 0.0892/0.7013, allocations: 71.43 MB / 0.6807 GB, free: 15.27 MB / 0.5137 GB 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)