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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.5 MB / 229.6 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009703, allocations: 95.59 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03664/0.03664, allocations: 8.824 MB / 340.1 MB, free: 6.391 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.741e-05, allocations: 1.062 kB / 398.7 MB, free: 47.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 52.38 MB / 451.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.5402, allocations: 88.26 MB / 0.5267 GB, free: 81.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5405, allocations: 78.03 kB / 0.5268 GB, free: 81.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1274/0.6679, allocations: 58.67 MB / 0.5841 GB, free: 31.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.668, allocations: 3.938 kB / 0.5841 GB, free: 31.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.728e-05/0.6681, allocations: 52 kB / 0.5841 GB, free: 30.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01478/0.6828, allocations: 3.297 MB / 0.5873 GB, free: 27.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6829, allocations: 12.03 kB / 0.5873 GB, free: 27.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008812/0.6917, allocations: 1.922 MB / 0.5892 GB, free: 25.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.696, allocations: 1.723 MB / 0.5909 GB, free: 23.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.6962, allocations: 92 kB / 0.591 GB, free: 23.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009868/0.6972, allocations: 167.9 kB / 0.5912 GB, free: 23.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007685/0.7049, allocations: 5.352 MB / 0.5964 GB, free: 18.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.7151, allocations: 7.06 MB / 0.6033 GB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.133e-05/0.7153, allocations: 23.78 kB / 0.6033 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.7156, allocations: 8 kB / 0.6033 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.7168, allocations: 0.8607 MB / 0.6041 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.7488, allocations: 23.74 MB / 0.6273 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.7528, allocations: 3.068 MB / 0.6303 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.7541, allocations: 0.8759 MB / 0.6312 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005204/0.7593, allocations: 3.132 MB / 0.6342 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7594, allocations: 47.98 kB / 0.6343 GB, free: 10.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.346e-06/0.7594, allocations: 3.938 kB / 0.6343 GB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.009402/0.7688, allocations: 5.189 MB / 0.6394 GB, free: 4.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7689, allocations: 64.72 kB / 0.6394 GB, free: 4.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.7717, allocations: 1.801 MB / 0.6412 GB, free: 2.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/0.7718, allocations: 29.7 kB / 0.6412 GB, free: 2.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.7731, allocations: 2.073 MB / 0.6432 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.7736, allocations: 0.5434 MB / 0.6438 GB, free: 228 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.7737, allocations: 4 kB / 0.6438 GB, free: 224 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003419/0.7741, allocations: 0.5033 MB / 0.6443 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.7758, allocations: 1.187 MB / 0.6454 GB, free: 14.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.779, allocations: 3.32 MB / 0.6487 GB, free: 10.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.7819, allocations: 2.026 MB / 0.6506 GB, free: 8.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/0.7819, allocations: 20 kB / 0.6507 GB, free: 8.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.008065/0.79, allocations: 4.35 MB / 0.6549 GB, free: 3.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.837e-05/0.7901, allocations: 36 kB / 0.6549 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.7903, allocations: 76 kB / 0.655 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.7914, allocations: 364.3 kB / 0.6554 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.7955, allocations: 0.8499 MB / 0.6562 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.8034, allocations: 4.541 MB / 0.6606 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/0.8081, allocations: 99.98 kB / 0.6607 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/0.8093, allocations: 243.9 kB / 0.6609 GB, free: 13.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 346 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 461 * 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 {(4,81.2%) 15,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.8107, allocations: 297 kB / 0.6612 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007272/0.8115, allocations: 189.5 kB / 0.6614 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005339/0.8168, allocations: 1.846 MB / 0.6632 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001459/0.817, allocations: 23.98 kB / 0.6632 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.817, allocations: 7.953 kB / 0.6632 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.8171, allocations: 11.97 kB / 0.6633 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.832, allocations: 4.558 MB / 0.6677 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.832, allocations: 0 / 0.6677 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.8333, allocations: 183.7 kB / 0.6679 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/0.8342, allocations: 219.7 kB / 0.6681 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.8344, allocations: 11.95 kB / 0.6681 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.84, allocations: 3.727 MB / 0.6717 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.84, allocations: 3.938 kB / 0.6717 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.8454, allocations: 2.84 MB / 0.6745 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008079/0.8463, allocations: 262.6 kB / 0.6748 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/0.8468, allocations: 4 kB / 0.6748 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8479, allocations: 27.95 kB / 0.6748 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.8481, allocations: 89.14 kB / 0.6749 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8482, allocations: 40 kB / 0.6749 GB, free: 14.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002799/0.851, allocations: 1.204 MB / 0.6761 GB, free: 13.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.851, allocations: 0 / 0.6761 GB, free: 13.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00431/0.8554, allocations: 0.5859 MB / 0.6767 GB, free: 12.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 100 * 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 {(4,81.2%) 13,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005135/0.8559, allocations: 143 kB / 0.6768 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005639/0.8616, allocations: 3.02 MB / 0.6798 GB, free: 9.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.8616, allocations: 8.062 kB / 0.6798 GB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.8633, allocations: 1.073 MB / 0.6808 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.8649, allocations: 196.7 kB / 0.681 GB, free: 8.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.8782, allocations: 5.041 MB / 0.6859 GB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004617/0.8829, allocations: 2.585 MB / 0.6884 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.2707/1.154, allocations: 1.101 MB / 0.6895 GB, free: 111.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/1.154, allocations: 154.1 kB / 0.6897 GB, free: 111.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/1.154, allocations: 0.75 kB / 0.6897 GB, free: 111.4 MB / 442.7 MB Notification: Performance of Templates: time 0.04286/1.197, allocations: 19.38 MB / 0.7086 GB, free: 110.8 MB / 442.7 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)