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.005725/0.005725, allocations: 170.9 kB / 15.11 MB, free: 5.969 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.319/1.319, allocations: 223.2 MB / 239 MB, free: 1.773 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.0009112/0.0009112, allocations: 96.89 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.0391/0.0391, allocations: 7.977 MB / 349.3 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8.219 kB / 412 MB, free: 88.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09967, allocations: 52.21 MB / 464.2 MB, free: 43.21 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5229, allocations: 110.7 MB / 0.5614 GB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5232, allocations: 96.11 kB / 0.5615 GB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3057/0.8289, allocations: 127.2 MB / 0.6856 GB, free: 12.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.829, allocations: 0 / 0.6856 GB, free: 12.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003807/0.8294, allocations: 87.97 kB / 0.6857 GB, free: 12.41 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.009048/0.8385, allocations: 2.976 MB / 0.6886 GB, free: 9.375 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8385, allocations: 8.031 kB / 0.6886 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.8406, allocations: 399.5 kB / 0.689 GB, free: 8.973 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/0.8466, allocations: 1.875 MB / 0.6909 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.8473, allocations: 365.8 kB / 0.6912 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.8487, allocations: 283.8 kB / 0.6915 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009638/0.8584, allocations: 3.201 MB / 0.6946 GB, free: 2.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.8588, allocations: 35.64 kB / 0.6946 GB, free: 2.875 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007948/0.8596, allocations: 116 kB / 0.6947 GB, free: 2.762 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.8597, allocations: 103.9 kB / 0.6948 GB, free: 2.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.8661, allocations: 2.251 MB / 0.697 GB, free: 404 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/1.166, allocations: 12.32 MB / 0.7091 GB, free: 108.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/1.168, allocations: 1.236 MB / 0.7103 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.168, allocations: 20.91 kB / 0.7103 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.168, allocations: 51.88 kB / 0.7104 GB, free: 108.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=149): time 4.388e-06/1.168, allocations: 0 / 0.7104 GB, free: 108.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=179): time 0.01708/1.185, allocations: 8.277 MB / 0.7184 GB, free: 106.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.185, allocations: 121.9 kB / 0.7185 GB, free: 106.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/1.188, allocations: 1.729 MB / 0.7202 GB, free: 106 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002293/1.188, allocations: 81.2 kB / 0.7203 GB, free: 106 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.189, allocations: 1.304 MB / 0.7216 GB, free: 105.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000466/1.19, allocations: 0.6041 MB / 0.7222 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.19, allocations: 46.34 kB / 0.7222 GB, free: 105.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/1.19, allocations: 401.6 kB / 0.7226 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.192, allocations: 0.8145 MB / 0.7234 GB, free: 104.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.193, allocations: 1.478 MB / 0.7248 GB, free: 104.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/1.195, allocations: 0.8636 MB / 0.7257 GB, free: 104.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/1.195, allocations: 8.062 kB / 0.7257 GB, free: 104.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.006186/1.201, allocations: 3.015 MB / 0.7286 GB, free: 103.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/1.201, allocations: 12.91 kB / 0.7287 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.032e-05/1.201, allocations: 28.61 kB / 0.7287 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/1.204, allocations: 1.408 MB / 0.7301 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.205, allocations: 407.9 kB / 0.7304 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/1.207, allocations: 1.911 MB / 0.7323 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/1.21, allocations: 301 kB / 0.7326 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/1.21, allocations: 112.6 kB / 0.7327 GB, free: 103.2 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.001578/1.212, allocations: 0.6519 MB / 0.7333 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/1.212, allocations: 240 kB / 0.7336 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/1.216, allocations: 2.46 MB / 0.736 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.216, allocations: 18.25 kB / 0.736 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.216, allocations: 0 / 0.736 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.216, allocations: 6.844 kB / 0.736 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.227, allocations: 5.663 MB / 0.7415 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.227, allocations: 7.391 kB / 0.7415 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009094/1.228, allocations: 227 kB / 0.7418 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/1.23, allocations: 1.291 MB / 0.743 GB, free: 99.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.23, allocations: 62.59 kB / 0.7431 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.232, allocations: 1.717 MB / 0.7447 GB, free: 98.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.232, allocations: 3.938 kB / 0.7448 GB, free: 98.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/1.237, allocations: 3.444 MB / 0.7481 GB, free: 97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.239, allocations: 0.5012 MB / 0.7486 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/1.239, allocations: 63.58 kB / 0.7487 GB, free: 96.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.241, allocations: 194.1 kB / 0.7488 GB, free: 96.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/1.241, allocations: 313.4 kB / 0.7491 GB, free: 96.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.241, allocations: 76.64 kB / 0.7492 GB, free: 96.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002186/1.244, allocations: 1.285 MB / 0.7505 GB, free: 96 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.244, allocations: 2.812 kB / 0.7505 GB, free: 96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002051/1.246, allocations: 0.5264 MB / 0.751 GB, free: 95.94 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.0004479/1.246, allocations: 231.2 kB / 0.7512 GB, free: 95.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003984/1.25, allocations: 2.236 MB / 0.7534 GB, free: 94.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.25, allocations: 0 / 0.7534 GB, free: 94.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.252, allocations: 1.158 MB / 0.7545 GB, free: 94.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.254, allocations: 326.8 kB / 0.7548 GB, free: 94.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.266, allocations: 6.569 MB / 0.7613 GB, free: 90.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/1.267, allocations: 1.759 MB / 0.763 GB, free: 89.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001367/1.269, allocations: 310.5 kB / 0.7633 GB, free: 89.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.269, allocations: 132.6 kB / 0.7634 GB, free: 89.76 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/1.269, allocations: 0 / 0.7634 GB, free: 89.76 MB / 458.7 MB Notification: Performance of Templates: time 0.04959/1.319, allocations: 31.51 MB / 0.7942 GB, free: 71.34 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)