Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00805/0.00805, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239 MB, free: 1.785 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.001002/0.001002, allocations: 100.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04051/0.04051, allocations: 8.946 MB / 350.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 10.7 kB / 413.1 MB, free: 88.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 52.39 MB / 465.5 MB, free: 41.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.5671, allocations: 88.01 MB / 0.5406 GB, free: 16.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5674, allocations: 84.86 kB / 0.5406 GB, free: 16.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1751/0.7425, allocations: 73.52 MB / 0.6124 GB, free: 4.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7426, allocations: 4 kB / 0.6124 GB, free: 4.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001665/0.7427, allocations: 60 kB / 0.6125 GB, free: 4.398 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1360 * Number of variables: 1360 Notification: Performance of Generate backend data structure: time 0.03013/0.7729, allocations: 4.705 MB / 0.6171 GB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7729, allocations: 8.031 kB / 0.6171 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.7832, allocations: 1.996 MB / 0.6191 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007133/0.7904, allocations: 2.009 MB / 0.621 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.7907, allocations: 252.1 kB / 0.6213 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00245/0.7932, allocations: 337.5 kB / 0.6216 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02928/0.8225, allocations: 9.857 MB / 0.6312 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.8227, allocations: 39.58 kB / 0.6312 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009357/0.8236, allocations: 151.9 kB / 0.6314 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.8256, allocations: 1.107 MB / 0.6325 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.8512, allocations: 10.14 MB / 0.6424 GB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05681/0.9081, allocations: 32.84 MB / 0.6744 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/0.9259, allocations: 4.111 MB / 0.6785 GB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.9386, allocations: 8.41 MB / 0.6867 GB, free: 8.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.9387, allocations: 56.56 kB / 0.6867 GB, free: 7.957 MB / 458.7 MB Notification: Performance of pre-optimization done (n=213): time 5.5e-06/0.9387, allocations: 0 / 0.6867 GB, free: 7.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=249): time 0.3377/1.276, allocations: 12.01 MB / 0.6984 GB, free: 111.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003525/1.28, allocations: 3.418 MB / 0.7018 GB, free: 110 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.284, allocations: 2.632 MB / 0.7044 GB, free: 109.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/1.285, allocations: 65.47 kB / 0.7044 GB, free: 109.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.286, allocations: 2.396 MB / 0.7068 GB, free: 108.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008482/1.287, allocations: 0.9025 MB / 0.7076 GB, free: 108 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.287, allocations: 105.6 kB / 0.7077 GB, free: 108 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/1.288, allocations: 0.5252 MB / 0.7083 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/1.29, allocations: 1.719 MB / 0.7099 GB, free: 107.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/1.295, allocations: 4.419 MB / 0.7142 GB, free: 104.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/1.3, allocations: 2.785 MB / 0.717 GB, free: 104.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/1.3, allocations: 26.88 kB / 0.717 GB, free: 104.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01265/1.313, allocations: 6.595 MB / 0.7234 GB, free: 103.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/1.313, allocations: 49.19 kB / 0.7235 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.313, allocations: 94.38 kB / 0.7236 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.314, allocations: 0.5327 MB / 0.7241 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.318, allocations: 1.153 MB / 0.7252 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008889/1.327, allocations: 6.536 MB / 0.7316 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004724/1.332, allocations: 255.3 kB / 0.7318 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009034/1.333, allocations: 307.5 kB / 0.7321 GB, free: 100.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 624 * 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 {(6,55.6%) 24,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003732/1.336, allocations: 1.817 MB / 0.7339 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.337, allocations: 281.2 kB / 0.7342 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/1.342, allocations: 3.4 MB / 0.7375 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.342, allocations: 41.42 kB / 0.7375 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.342, allocations: 7.562 kB / 0.7375 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/1.342, allocations: 10.83 kB / 0.7376 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.357, allocations: 10.3 MB / 0.7476 GB, free: 94.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.357, allocations: 9.672 kB / 0.7476 GB, free: 94.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.359, allocations: 319.9 kB / 0.7479 GB, free: 94.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/1.36, allocations: 0.5277 MB / 0.7484 GB, free: 94.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.36, allocations: 47.56 kB / 0.7485 GB, free: 94.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007724/1.368, allocations: 7.074 MB / 0.7554 GB, free: 90.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002981/1.371, allocations: 3.15 MB / 0.7585 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006834/1.378, allocations: 5.556 MB / 0.7639 GB, free: 85.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009918/1.379, allocations: 371.1 kB / 0.7643 GB, free: 84.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.379, allocations: 44.67 kB / 0.7643 GB, free: 84.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.38, allocations: 95.95 kB / 0.7644 GB, free: 84.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.38, allocations: 164.6 kB / 0.7645 GB, free: 84.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.38, allocations: 73.14 kB / 0.7646 GB, free: 84.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002711/1.383, allocations: 1.857 MB / 0.7664 GB, free: 84.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.383, allocations: 0 / 0.7664 GB, free: 84.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004329/1.388, allocations: 0.9477 MB / 0.7674 GB, free: 84.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,idealWheelFront.phi_roll,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,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 (181): * Single equations (assignments): 175 * 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 {(6,55.6%) 24,(3,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/1.388, allocations: 196.3 kB / 0.7675 GB, free: 83.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007459/1.395, allocations: 4.624 MB / 0.7721 GB, free: 80.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.395, allocations: 0 / 0.7721 GB, free: 80.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/1.398, allocations: 1.892 MB / 0.7739 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.4, allocations: 388 kB / 0.7743 GB, free: 78.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.415, allocations: 9.971 MB / 0.784 GB, free: 69.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/1.418, allocations: 3.016 MB / 0.787 GB, free: 66.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003823/1.422, allocations: 1.511 MB / 0.7884 GB, free: 65.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/1.423, allocations: 225.7 kB / 0.7886 GB, free: 65.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.744e-06/1.423, allocations: 0 / 0.7886 GB, free: 65.58 MB / 458.7 MB Notification: Performance of Templates: time 0.05737/1.48, allocations: 34.29 MB / 0.8221 GB, free: 37.79 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1)