Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.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.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") translateModel(VehicleInterfaces.Examples.ConventionalAutomaticVehicle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 173.9 kB / 12.73 MB, free: 2.59 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.321/1.321, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009239/0.0009239, allocations: 88.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03853/0.03853, allocations: 7.832 MB / 344.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.619e-05, allocations: 8 kB / 404.4 MB, free: 62.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 52.21 MB / 456.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4944, allocations: 106.9 MB / 0.5502 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4947, allocations: 83.72 kB / 0.5503 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5732/1.068, allocations: 137.7 MB / 0.6848 GB, free: 125 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.068, allocations: 0 / 0.6848 GB, free: 125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002084/1.068, allocations: 77.86 kB / 0.6849 GB, free: 125 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: 632 * Number of variables: 632 Notification: Performance of Generate backend data structure: time 0.005081/1.073, allocations: 2.357 MB / 0.6872 GB, free: 123.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.073, allocations: 7.719 kB / 0.6872 GB, free: 123.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/1.075, allocations: 355.2 kB / 0.6875 GB, free: 123.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/1.078, allocations: 1.725 MB / 0.6892 GB, free: 123.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.078, allocations: 185.7 kB / 0.6894 GB, free: 123.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/1.078, allocations: 255.8 kB / 0.6896 GB, free: 123.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/1.082, allocations: 2.783 MB / 0.6923 GB, free: 122.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-05/1.082, allocations: 26.91 kB / 0.6924 GB, free: 122.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/1.083, allocations: 106.2 kB / 0.6925 GB, free: 122.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/1.083, allocations: 95.88 kB / 0.6925 GB, free: 122.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/1.086, allocations: 1.795 MB / 0.6943 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/1.098, allocations: 11.14 MB / 0.7052 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.1, allocations: 1.016 MB / 0.7062 GB, free: 115.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/1.1, allocations: 0.5991 MB / 0.7068 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/1.101, allocations: 22.53 kB / 0.7068 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/1.101, allocations: 47.88 kB / 0.7068 GB, free: 115.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 3.376e-06/1.101, allocations: 0 / 0.7068 GB, free: 115.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.007456/1.108, allocations: 4.569 MB / 0.7113 GB, free: 112.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.108, allocations: 92.8 kB / 0.7114 GB, free: 112.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/1.11, allocations: 1.576 MB / 0.7129 GB, free: 111.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.11, allocations: 73.7 kB / 0.713 GB, free: 111.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/1.111, allocations: 1.2 MB / 0.7142 GB, free: 109.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/1.111, allocations: 480.9 kB / 0.7146 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/1.112, allocations: 36 kB / 0.7146 GB, free: 109.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.075e-05/1.112, allocations: 377.8 kB / 0.715 GB, free: 109 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/1.113, allocations: 0.5937 MB / 0.7156 GB, free: 108.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.114, allocations: 1.133 MB / 0.7167 GB, free: 107 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/1.115, allocations: 0.6481 MB / 0.7173 GB, free: 106.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.115, allocations: 4 kB / 0.7173 GB, free: 106.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003645/1.118, allocations: 2.289 MB / 0.7196 GB, free: 104.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.118, allocations: 12 kB / 0.7196 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/1.118, allocations: 24 kB / 0.7196 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/1.12, allocations: 1.131 MB / 0.7207 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/1.121, allocations: 311.5 kB / 0.721 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/1.123, allocations: 1.714 MB / 0.7227 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.125, allocations: 227.7 kB / 0.7229 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.125, allocations: 99.72 kB / 0.723 GB, free: 100.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.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,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 (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {4 54} Notification: Performance of prepare postOptimizeDAE: time 0.0003419/1.125, allocations: 240.4 kB / 0.7232 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/1.126, allocations: 221.3 kB / 0.7234 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/1.129, allocations: 1.977 MB / 0.7254 GB, free: 98.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.129, allocations: 14.69 kB / 0.7254 GB, free: 98.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.129, allocations: 0 / 0.7254 GB, free: 98.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.129, allocations: 7.969 kB / 0.7254 GB, free: 98.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/1.137, allocations: 4.671 MB / 0.7299 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.137, allocations: 0 / 0.7299 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/1.137, allocations: 151.8 kB / 0.7301 GB, free: 93.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/1.139, allocations: 1.044 MB / 0.7311 GB, free: 92.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/1.139, allocations: 47.95 kB / 0.7312 GB, free: 92.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/1.141, allocations: 1.551 MB / 0.7327 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.141, allocations: 4 kB / 0.7327 GB, free: 90.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/1.145, allocations: 2.655 MB / 0.7353 GB, free: 87.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/1.145, allocations: 454 kB / 0.7357 GB, free: 87.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.146, allocations: 54.88 kB / 0.7357 GB, free: 87.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/1.147, allocations: 124 kB / 0.7359 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/1.147, allocations: 248.8 kB / 0.7361 GB, free: 87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.147, allocations: 59.89 kB / 0.7362 GB, free: 86.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001539/1.149, allocations: 1.196 MB / 0.7373 GB, free: 85.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.149, allocations: 0 / 0.7373 GB, free: 85.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001361/1.15, allocations: 444 kB / 0.7378 GB, free: 85.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (chassis.body.s,chassis.dragForces.v_rel) * Number of discrete variables: 21 (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) * Number of discrete states: 12 (brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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 {4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/1.15, allocations: 197 kB / 0.7379 GB, free: 85.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/1.153, allocations: 1.672 MB / 0.7396 GB, free: 83.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.153, allocations: 192 / 0.7396 GB, free: 83.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.154, allocations: 0.8332 MB / 0.7404 GB, free: 82.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.156, allocations: 287.8 kB / 0.7407 GB, free: 82.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.166, allocations: 3.304 MB / 0.7439 GB, free: 78.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/1.168, allocations: 1.643 MB / 0.7455 GB, free: 77.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001698/1.17, allocations: 271.3 kB / 0.7458 GB, free: 77.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.17, allocations: 115.4 kB / 0.7459 GB, free: 76.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/1.17, allocations: 0 / 0.7459 GB, free: 76.91 MB / 458.7 MB Notification: Performance of Templates: time 0.05987/1.23, allocations: 26.36 MB / 0.7716 GB, free: 50.92 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe 2>&1)