Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.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/VehicleInterfaces 2.0.0-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/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(VehicleInterfaces.Examples.ConventionalManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle") translateModel(VehicleInterfaces.Examples.ConventionalManualVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 173 kB / 16.12 MB, free: 5.691 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.178/1.178, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0007594/0.0007594, allocations: 96.95 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo): time 0.03721/0.03721, allocations: 7.997 MB / 350.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 12 kB / 413.3 MB, free: 58.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06843/0.06876, allocations: 52.2 MB / 465.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/0.3323, allocations: 110.8 MB / 0.5628 GB, free: 7.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3326, allocations: 93.72 kB / 0.5629 GB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4259/0.7585, allocations: 127.1 MB / 0.687 GB, free: 117.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7586, allocations: 0 / 0.687 GB, free: 117.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.7587, allocations: 89.28 kB / 0.6871 GB, free: 117.4 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004111/0.7628, allocations: 2.933 MB / 0.69 GB, free: 116.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.7629, allocations: 10.5 kB / 0.69 GB, free: 116.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/0.7635, allocations: 400.5 kB / 0.6903 GB, free: 115.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.7658, allocations: 1.942 MB / 0.6922 GB, free: 115.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.766, allocations: 365.6 kB / 0.6926 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.7664, allocations: 291.3 kB / 0.6929 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.7702, allocations: 3.214 MB / 0.696 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-05/0.7703, allocations: 34.23 kB / 0.696 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.7705, allocations: 119.9 kB / 0.6962 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.27e-05/0.7706, allocations: 104.7 kB / 0.6963 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.774, allocations: 2.244 MB / 0.6984 GB, free: 114.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.785, allocations: 12.34 MB / 0.7105 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.7867, allocations: 1.24 MB / 0.7117 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.7878, allocations: 0.8055 MB / 0.7125 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-05/0.7879, allocations: 23.59 kB / 0.7125 GB, free: 108 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.7879, allocations: 51.62 kB / 0.7126 GB, free: 108 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 3.426e-06/0.7879, allocations: 0 / 0.7126 GB, free: 108 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.0127/0.8006, allocations: 8.242 MB / 0.7206 GB, free: 102.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.8007, allocations: 125.2 kB / 0.7207 GB, free: 102.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.8025, allocations: 1.973 MB / 0.7227 GB, free: 101.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8027, allocations: 84.72 kB / 0.7227 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006219/0.8033, allocations: 1.307 MB / 0.724 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.8036, allocations: 0.6053 MB / 0.7246 GB, free: 99.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.8037, allocations: 47.33 kB / 0.7247 GB, free: 99.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.8038, allocations: 393.3 kB / 0.725 GB, free: 99.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.8051, allocations: 0.8176 MB / 0.7258 GB, free: 99.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.8066, allocations: 1.488 MB / 0.7273 GB, free: 97.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.8089, allocations: 2.1 MB / 0.7293 GB, free: 95.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.8089, allocations: 8 kB / 0.7293 GB, free: 95.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.004363/0.8133, allocations: 3.003 MB / 0.7323 GB, free: 92.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.8133, allocations: 16 kB / 0.7323 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.8134, allocations: 24.91 kB / 0.7323 GB, free: 92.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.8153, allocations: 1.411 MB / 0.7337 GB, free: 90.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8163, allocations: 403.3 kB / 0.7341 GB, free: 90.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.8185, allocations: 1.918 MB / 0.7359 GB, free: 88.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.8201, allocations: 291.7 kB / 0.7362 GB, free: 88.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.8202, allocations: 112 kB / 0.7363 GB, free: 88.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 66 (driverEnvironment.ignition.y,transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,transmission.shiftOutput.gear,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 59} Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.8212, allocations: 0.66 MB / 0.737 GB, free: 87.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.8215, allocations: 244.9 kB / 0.7372 GB, free: 87.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.8248, allocations: 2.449 MB / 0.7396 GB, free: 84.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8248, allocations: 19.98 kB / 0.7396 GB, free: 84.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.8248, allocations: 3.938 kB / 0.7396 GB, free: 84.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.8249, allocations: 15.97 kB / 0.7396 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.8324, allocations: 5.654 MB / 0.7452 GB, free: 78.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8324, allocations: 4.281 kB / 0.7452 GB, free: 78.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008056/0.8332, allocations: 227.7 kB / 0.7454 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.8349, allocations: 1.286 MB / 0.7466 GB, free: 77.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.835, allocations: 59.94 kB / 0.7467 GB, free: 77.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.837, allocations: 1.726 MB / 0.7484 GB, free: 75.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.837, allocations: 6.156 kB / 0.7484 GB, free: 75.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.8415, allocations: 3.248 MB / 0.7516 GB, free: 72.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/0.8421, allocations: 0.5055 MB / 0.7521 GB, free: 71.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.8424, allocations: 64 kB / 0.7521 GB, free: 71.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8434, allocations: 191.8 kB / 0.7523 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/0.8439, allocations: 308.7 kB / 0.7526 GB, free: 71.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.844, allocations: 71.94 kB / 0.7527 GB, free: 71.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00132/0.8453, allocations: 1.296 MB / 0.7539 GB, free: 69.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8453, allocations: 4 kB / 0.7539 GB, free: 69.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001261/0.8466, allocations: 0.5273 MB / 0.7544 GB, free: 69.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.body.s,chassis.dragForces.v_rel,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode,driverEnvironment.ignition.y,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward,transmission.clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002846/0.8469, allocations: 232.5 kB / 0.7547 GB, free: 69.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003136/0.85, allocations: 2.225 MB / 0.7568 GB, free: 66.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.85, allocations: 0 / 0.7568 GB, free: 66.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.852, allocations: 1.166 MB / 0.758 GB, free: 65.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.8541, allocations: 350.8 kB / 0.7583 GB, free: 65.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.8622, allocations: 6.581 MB / 0.7647 GB, free: 58.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009257/0.8631, allocations: 1.703 MB / 0.7664 GB, free: 57.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008847/0.864, allocations: 305.4 kB / 0.7667 GB, free: 56.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.8643, allocations: 131.4 kB / 0.7668 GB, free: 56.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8643, allocations: 0 / 0.7668 GB, free: 56.64 MB / 458.7 MB Notification: Performance of Templates: time 0.03829/0.9026, allocations: 31.7 MB / 0.7978 GB, free: 25.27 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe 2>&1)