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.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.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(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.000874/0.000874, allocations: 169.3 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.351/1.351, allocations: 221.5 MB / 229.6 MB, free: 7.523 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.0008775/0.000878, allocations: 95.3 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03685/0.03685, allocations: 7.843 MB / 339.1 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.228e-05, allocations: 0 / 397.5 MB, free: 48.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 52.21 MB / 449.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4819, allocations: 109.9 MB / 0.5465 GB, free: 25.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4822, allocations: 84.95 kB / 0.5466 GB, free: 25.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2899/0.7721, allocations: 126.6 MB / 0.6703 GB, free: 13.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7721, allocations: 0 / 0.6703 GB, free: 13.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000228/0.7723, allocations: 83.97 kB / 0.6703 GB, free: 13.74 MB / 442.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.00527/0.7776, allocations: 2.677 MB / 0.6729 GB, free: 11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7777, allocations: 15.97 kB / 0.673 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009308/0.7786, allocations: 399.6 kB / 0.6733 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.7817, allocations: 1.852 MB / 0.6752 GB, free: 8.691 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.7821, allocations: 273.8 kB / 0.6754 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.7824, allocations: 175.8 kB / 0.6756 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003621/0.7861, allocations: 1.932 MB / 0.6775 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.7907, allocations: 2.733 MB / 0.6801 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.7908, allocations: 35.64 kB / 0.6802 GB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.791, allocations: 4 kB / 0.6802 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.7911, allocations: 108 kB / 0.6803 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.8073, allocations: 11.84 MB / 0.6918 GB, free: 6.914 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.809, allocations: 1.1 MB / 0.6929 GB, free: 5.789 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.8101, allocations: 0.7169 MB / 0.6936 GB, free: 5.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.8102, allocations: 21.3 kB / 0.6936 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.8102, allocations: 43.88 kB / 0.6937 GB, free: 4.992 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 3.777e-06/0.8102, allocations: 0 / 0.6937 GB, free: 4.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.241/1.051, allocations: 5.769 MB / 0.6993 GB, free: 115.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.051, allocations: 123.2 kB / 0.6994 GB, free: 115.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/1.053, allocations: 1.32 MB / 0.7007 GB, free: 115.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.054, allocations: 52.67 kB / 0.7008 GB, free: 115.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009622/1.055, allocations: 1.327 MB / 0.7021 GB, free: 115 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/1.055, allocations: 0.5813 MB / 0.7026 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.055, allocations: 1.281 kB / 0.7026 GB, free: 114.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/1.055, allocations: 397 kB / 0.703 GB, free: 114.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.056, allocations: 0.7077 MB / 0.7037 GB, free: 114.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.058, allocations: 1.36 MB / 0.705 GB, free: 113.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/1.059, allocations: 0.7963 MB / 0.7058 GB, free: 113.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.06, allocations: 5.906 kB / 0.7058 GB, free: 113.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.005079/1.065, allocations: 2.64 MB / 0.7084 GB, free: 113.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/1.065, allocations: 19.09 kB / 0.7084 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/1.065, allocations: 24.61 kB / 0.7084 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/1.068, allocations: 1.352 MB / 0.7097 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.069, allocations: 409 kB / 0.7101 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/1.072, allocations: 2.086 MB / 0.7122 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.074, allocations: 250.1 kB / 0.7124 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/1.074, allocations: 111.3 kB / 0.7125 GB, free: 112.9 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transmission.clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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 () * 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.0004626/1.075, allocations: 231 kB / 0.7127 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.075, allocations: 213 kB / 0.7129 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/1.079, allocations: 2.243 MB / 0.7151 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.079, allocations: 19.56 kB / 0.7152 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.079, allocations: 0.75 kB / 0.7152 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.079, allocations: 11.77 kB / 0.7152 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/1.087, allocations: 5.114 MB / 0.7202 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/1.087, allocations: 3.75 kB / 0.7202 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/1.088, allocations: 237.9 kB / 0.7204 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/1.09, allocations: 1.239 MB / 0.7216 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/1.09, allocations: 34.16 kB / 0.7216 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/1.092, allocations: 1.864 MB / 0.7235 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.092, allocations: 5.5 kB / 0.7235 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/1.097, allocations: 3.112 MB / 0.7265 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009485/1.098, allocations: 475.1 kB / 0.7269 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/1.098, allocations: 35.81 kB / 0.727 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.1, allocations: 164.9 kB / 0.7271 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/1.1, allocations: 313.7 kB / 0.7274 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.1, allocations: 72.47 kB / 0.7275 GB, free: 110.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001769/1.102, allocations: 0.9576 MB / 0.7284 GB, free: 110.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.102, allocations: 0 / 0.7284 GB, free: 110.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002103/1.104, allocations: 462.7 kB / 0.7289 GB, free: 110.1 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) * 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.0004216/1.105, allocations: 187.4 kB / 0.7291 GB, free: 110 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003389/1.108, allocations: 1.997 MB / 0.731 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.108, allocations: 4.062 kB / 0.731 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/1.11, allocations: 1.059 MB / 0.7321 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.112, allocations: 282 kB / 0.7323 GB, free: 109.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.123, allocations: 4.42 MB / 0.7366 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/1.125, allocations: 1.761 MB / 0.7384 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001237/1.126, allocations: 280.6 kB / 0.7386 GB, free: 107.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.127, allocations: 119 kB / 0.7387 GB, free: 107.1 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/1.127, allocations: 0 / 0.7387 GB, free: 107.1 MB / 458.7 MB Notification: Performance of Templates: time 0.04298/1.17, allocations: 28.36 MB / 0.7664 GB, free: 101.2 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)