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.001419/0.001419, allocations: 173.8 kB / 12.73 MB, free: 2.586 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.176/1.176, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008828/0.0008827, allocations: 88.12 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03833/0.03833, allocations: 8.834 MB / 345.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.267e-05, allocations: 0 / 405.6 MB, free: 61.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06853/0.06857, allocations: 52.39 MB / 457.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2855/0.3541, allocations: 88.01 MB / 0.5332 GB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3543, allocations: 81.41 kB / 0.5332 GB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.526, allocations: 73.59 MB / 0.6051 GB, free: 10.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5261, allocations: 0 / 0.6051 GB, free: 10.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.481e-05/0.5262, allocations: 60 kB / 0.6052 GB, free: 10.11 MB / 426.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.0218/0.548, allocations: 4.603 MB / 0.6097 GB, free: 5.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.548, allocations: 12.03 kB / 0.6097 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/0.5568, allocations: 2.004 MB / 0.6116 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.5608, allocations: 2.004 MB / 0.6136 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.5609, allocations: 250.5 kB / 0.6138 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.5617, allocations: 343.8 kB / 0.6142 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.5788, allocations: 9.77 MB / 0.6237 GB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/0.579, allocations: 31.66 kB / 0.6237 GB, free: 6.492 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/0.5795, allocations: 163.8 kB / 0.6239 GB, free: 6.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/0.581, allocations: 1.104 MB / 0.625 GB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.5991, allocations: 10.01 MB / 0.6347 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2382/0.8374, allocations: 32.82 MB / 0.6668 GB, free: 96.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.8529, allocations: 4.058 MB / 0.6707 GB, free: 96.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.8551, allocations: 1.465 MB / 0.6722 GB, free: 96.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007875/0.863, allocations: 8.426 MB / 0.6804 GB, free: 90.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.863, allocations: 53.28 kB / 0.6805 GB, free: 90.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=213): time 3.627e-06/0.863, allocations: 0 / 0.6805 GB, free: 90.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=249): time 0.01872/0.8817, allocations: 10.49 MB / 0.6907 GB, free: 89.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003027/0.8848, allocations: 3.313 MB / 0.6939 GB, free: 87.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.888, allocations: 2.604 MB / 0.6965 GB, free: 87.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.8883, allocations: 61.73 kB / 0.6965 GB, free: 87.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.8896, allocations: 2.391 MB / 0.6989 GB, free: 86.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.8903, allocations: 0.91 MB / 0.6998 GB, free: 85.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.8905, allocations: 103.8 kB / 0.6999 GB, free: 85.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.8907, allocations: 0.5317 MB / 0.7004 GB, free: 85.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8927, allocations: 1.672 MB / 0.702 GB, free: 84.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.8955, allocations: 4.355 MB / 0.7063 GB, free: 80.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/0.8987, allocations: 2.772 MB / 0.709 GB, free: 79.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.8987, allocations: 25.28 kB / 0.709 GB, free: 79.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008014/0.9067, allocations: 6.491 MB / 0.7153 GB, free: 77.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.9068, allocations: 47.09 kB / 0.7154 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.047e-05/0.9069, allocations: 92.41 kB / 0.7155 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.9079, allocations: 0.536 MB / 0.716 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.9108, allocations: 1.146 MB / 0.7171 GB, free: 77.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/0.9165, allocations: 6.338 MB / 0.7233 GB, free: 73.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.9194, allocations: 254.3 kB / 0.7235 GB, free: 73.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/0.9197, allocations: 304.5 kB / 0.7238 GB, free: 73.51 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 () * 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.0004906/0.9202, allocations: 486.2 kB / 0.7243 GB, free: 73.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.9205, allocations: 283 kB / 0.7246 GB, free: 72.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.925, allocations: 3.343 MB / 0.7278 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-05/0.9251, allocations: 38.19 kB / 0.7279 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9251, allocations: 11.36 kB / 0.7279 GB, free: 71.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.9251, allocations: 10.92 kB / 0.7279 GB, free: 71.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.9374, allocations: 10.26 MB / 0.7379 GB, free: 67.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.9375, allocations: 6.594 kB / 0.7379 GB, free: 67.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.9386, allocations: 321.3 kB / 0.7382 GB, free: 67.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.9397, allocations: 0.5162 MB / 0.7387 GB, free: 66.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.9398, allocations: 48.83 kB / 0.7388 GB, free: 66.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006453/0.9463, allocations: 6.813 MB / 0.7454 GB, free: 60.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002488/0.9488, allocations: 3.052 MB / 0.7484 GB, free: 57.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005954/0.9548, allocations: 5.487 MB / 0.7538 GB, free: 52.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006878/0.9555, allocations: 367.6 kB / 0.7541 GB, free: 51.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.9558, allocations: 48.5 kB / 0.7542 GB, free: 51.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.9568, allocations: 93.92 kB / 0.7543 GB, free: 51.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.9571, allocations: 166 kB / 0.7544 GB, free: 51.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.9572, allocations: 72.5 kB / 0.7545 GB, free: 51.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002227/0.9594, allocations: 1.821 MB / 0.7563 GB, free: 50.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9594, allocations: 0 / 0.7563 GB, free: 50.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003084/0.9625, allocations: 0.9462 MB / 0.7572 GB, free: 49.13 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 () * 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.0003325/0.9629, allocations: 197.7 kB / 0.7574 GB, free: 48.95 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.9679, allocations: 4.521 MB / 0.7618 GB, free: 44.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.968, allocations: 0 / 0.7618 GB, free: 44.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.97, allocations: 1.869 MB / 0.7636 GB, free: 43.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.9715, allocations: 402.3 kB / 0.764 GB, free: 42.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008497/0.98, allocations: 7.068 MB / 0.7709 GB, free: 36.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.9823, allocations: 3.02 MB / 0.7738 GB, free: 34.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003092/0.9854, allocations: 1.507 MB / 0.7753 GB, free: 33.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.986, allocations: 225.8 kB / 0.7755 GB, free: 32.86 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.986, allocations: 0 / 0.7755 GB, free: 32.86 MB / 458.7 MB Notification: Performance of Templates: time 0.04604/1.032, allocations: 34.29 MB / 0.809 GB, free: 404 kB / 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)