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.002308/0.002308, allocations: 169.2 kB / 7.64 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.48/1.48, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.0009159/0.0009163, allocations: 96.16 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03791/0.03791, allocations: 8.833 MB / 340.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.951e-05, allocations: 1.312 kB / 398.7 MB, free: 47.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 52.39 MB / 451.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4835, allocations: 87.29 MB / 0.5257 GB, free: 80.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4838, allocations: 78.48 kB / 0.5258 GB, free: 80.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1666/0.6504, allocations: 71.91 MB / 0.596 GB, free: 18.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6505, allocations: 0 / 0.596 GB, free: 18.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002219/0.6507, allocations: 60 kB / 0.5961 GB, free: 18.57 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: 1360 * Number of variables: 1360 Notification: Performance of Generate backend data structure: time 0.03073/0.6815, allocations: 4.607 MB / 0.6006 GB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6816, allocations: 16.02 kB / 0.6006 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.6917, allocations: 1.989 MB / 0.6026 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/0.6974, allocations: 2.016 MB / 0.6045 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.6977, allocations: 108 kB / 0.6046 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/0.6999, allocations: 195.9 kB / 0.6048 GB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01041/0.7103, allocations: 6.616 MB / 0.6113 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.729, allocations: 8.84 MB / 0.6199 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003579/0.7295, allocations: 35.73 kB / 0.6199 GB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002326/0.7318, allocations: 16 kB / 0.62 GB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002355/0.7342, allocations: 1.107 MB / 0.621 GB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/0.7936, allocations: 31.64 MB / 0.6519 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.8038, allocations: 5.461 MB / 0.6573 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.8069, allocations: 1.415 MB / 0.6586 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.8186, allocations: 6.918 MB / 0.6654 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.8187, allocations: 52.56 kB / 0.6655 GB, free: 9.109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 6.051e-06/0.8187, allocations: 0 / 0.6655 GB, free: 9.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.02034/0.8391, allocations: 8.989 MB / 0.6742 GB, free: 52 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.8392, allocations: 77.36 kB / 0.6743 GB, free: 15.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004952/0.8441, allocations: 2.163 MB / 0.6764 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.8444, allocations: 25.7 kB / 0.6764 GB, free: 13.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002281/0.8467, allocations: 2.468 MB / 0.6788 GB, free: 11.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.848, allocations: 0.8477 MB / 0.6797 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.8485, allocations: 0 / 0.6797 GB, free: 10.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006569/0.8492, allocations: 0.5732 MB / 0.6802 GB, free: 9.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/0.8522, allocations: 1.615 MB / 0.6818 GB, free: 8.164 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/0.8572, allocations: 4.404 MB / 0.6861 GB, free: 2.383 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2813/1.139, allocations: 2.731 MB / 0.6888 GB, free: 106.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.139, allocations: 27.47 kB / 0.6888 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01189/1.151, allocations: 5.946 MB / 0.6946 GB, free: 106.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/1.151, allocations: 48.72 kB / 0.6947 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.151, allocations: 97.16 kB / 0.6948 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.152, allocations: 0.5345 MB / 0.6953 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/1.156, allocations: 1.176 MB / 0.6964 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/1.164, allocations: 6.115 MB / 0.7024 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/1.168, allocations: 149.3 kB / 0.7025 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008754/1.169, allocations: 314.4 kB / 0.7028 GB, free: 103.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 (642): * Single equations (assignments): 636 * 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.00073/1.17, allocations: 353.9 kB / 0.7032 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/1.17, allocations: 243.8 kB / 0.7034 GB, free: 103.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/1.175, allocations: 3.058 MB / 0.7064 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.175, allocations: 42.56 kB / 0.7064 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.175, allocations: 6.25 kB / 0.7064 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/1.175, allocations: 15.83 kB / 0.7065 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.19, allocations: 8.787 MB / 0.715 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.19, allocations: 3.594 kB / 0.715 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.191, allocations: 298.1 kB / 0.7153 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/1.192, allocations: 0.5011 MB / 0.7158 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.192, allocations: 14.2 kB / 0.7158 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/1.199, allocations: 6.567 MB / 0.7222 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002558/1.202, allocations: 2.945 MB / 0.7251 GB, free: 98.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005952/1.208, allocations: 4.897 MB / 0.7299 GB, free: 95.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/1.208, allocations: 313.1 kB / 0.7302 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005381/1.209, allocations: 11.16 kB / 0.7302 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.21, allocations: 54.97 kB / 0.7303 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.21, allocations: 157.6 kB / 0.7304 GB, free: 95.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.211, allocations: 63.27 kB / 0.7305 GB, free: 95.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002652/1.213, allocations: 1.432 MB / 0.7319 GB, free: 94.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.213, allocations: 0 / 0.7319 GB, free: 94.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00523/1.218, allocations: 0.797 MB / 0.7326 GB, free: 94.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (169): * Single equations (assignments): 163 * 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.000593/1.219, allocations: 160.5 kB / 0.7328 GB, free: 94.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006848/1.226, allocations: 4.26 MB / 0.737 GB, free: 93.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.226, allocations: 0 / 0.737 GB, free: 93.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/1.229, allocations: 1.729 MB / 0.7386 GB, free: 92.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.23, allocations: 222.5 kB / 0.7389 GB, free: 92.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.245, allocations: 6.819 MB / 0.7455 GB, free: 88.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005628/1.251, allocations: 3.008 MB / 0.7485 GB, free: 85.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004695/1.256, allocations: 1.46 MB / 0.7499 GB, free: 84.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009631/1.257, allocations: 202.5 kB / 0.7501 GB, free: 84.8 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/1.257, allocations: 4 kB / 0.7501 GB, free: 84.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04814/1.305, allocations: 28.19 MB / 0.7776 GB, free: 63.6 MB / 442.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)