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.001045/0.001046, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.352/1.352, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0009694/0.0009694, allocations: 92.3 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03615/0.03615, allocations: 7.832 MB / 339.1 MB, free: 7.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.631e-05, allocations: 3.406 kB / 397.5 MB, free: 48.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 52.21 MB / 449.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4594, allocations: 105.9 MB / 0.5426 GB, free: 25.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4596, allocations: 86.08 kB / 0.5427 GB, free: 25.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.313/0.7726, allocations: 137.3 MB / 0.6768 GB, free: 7.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.7726, allocations: 3.938 kB / 0.6768 GB, free: 7.148 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001936/0.7728, allocations: 75.97 kB / 0.6768 GB, free: 7.07 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: 632 * Number of variables: 632 Notification: Performance of Generate backend data structure: time 0.00419/0.777, allocations: 2.355 MB / 0.6791 GB, free: 4.656 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7771, allocations: 8.031 kB / 0.6791 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.7779, allocations: 364 kB / 0.6795 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.7806, allocations: 1.717 MB / 0.6812 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.7807, allocations: 80 kB / 0.6812 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.781, allocations: 163.7 kB / 0.6814 GB, free: 2.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002872/0.7839, allocations: 1.63 MB / 0.683 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.7878, allocations: 2.439 MB / 0.6854 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.7879, allocations: 27.73 kB / 0.6854 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.788, allocations: 4 kB / 0.6854 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.7882, allocations: 103.9 kB / 0.6855 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.801, allocations: 10.65 MB / 0.6959 GB, free: 2.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.8024, allocations: 0.948 MB / 0.6968 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.8033, allocations: 0.5716 MB / 0.6974 GB, free: 1.262 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.8034, allocations: 21.36 kB / 0.6974 GB, free: 1.242 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.8034, allocations: 51.88 kB / 0.6975 GB, free: 1.184 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 4.067e-06/0.8034, allocations: 0 / 0.6975 GB, free: 1.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.2375/1.041, allocations: 4.276 MB / 0.7016 GB, free: 123.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.041, allocations: 93.98 kB / 0.7017 GB, free: 123.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.043, allocations: 1.164 MB / 0.7029 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.043, allocations: 50.69 kB / 0.7029 GB, free: 122.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009743/1.044, allocations: 1.209 MB / 0.7041 GB, free: 122.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/1.044, allocations: 465 kB / 0.7045 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/1.044, allocations: 0 / 0.7045 GB, free: 122.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/1.044, allocations: 374.4 kB / 0.7049 GB, free: 121.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/1.045, allocations: 0.552 MB / 0.7054 GB, free: 121.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.047, allocations: 1.093 MB / 0.7065 GB, free: 121.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.048, allocations: 0.6308 MB / 0.7071 GB, free: 121.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.048, allocations: 5.406 kB / 0.7071 GB, free: 121.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003967/1.052, allocations: 2.072 MB / 0.7091 GB, free: 121.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.052, allocations: 18.44 kB / 0.7092 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/1.052, allocations: 21.39 kB / 0.7092 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/1.054, allocations: 1.123 MB / 0.7103 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.055, allocations: 307.8 kB / 0.7106 GB, free: 121.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.057, allocations: 1.877 MB / 0.7124 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.059, allocations: 183.2 kB / 0.7126 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.059, allocations: 93.47 kB / 0.7127 GB, free: 120.5 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.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_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: 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.0003873/1.06, allocations: 207.2 kB / 0.7129 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/1.06, allocations: 184 kB / 0.713 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/1.063, allocations: 1.835 MB / 0.7148 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.063, allocations: 15.38 kB / 0.7148 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.063, allocations: 0 / 0.7148 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/1.063, allocations: 9.516 kB / 0.7148 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/1.07, allocations: 4.274 MB / 0.719 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.07, allocations: 0 / 0.719 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/1.071, allocations: 157.8 kB / 0.7192 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/1.073, allocations: 1.026 MB / 0.7202 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.073, allocations: 30.69 kB / 0.7202 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/1.076, allocations: 1.672 MB / 0.7218 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.076, allocations: 0 / 0.7218 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/1.081, allocations: 2.521 MB / 0.7243 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.082, allocations: 398.8 kB / 0.7247 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005616/1.083, allocations: 32.62 kB / 0.7247 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.085, allocations: 111 kB / 0.7248 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/1.085, allocations: 241.6 kB / 0.725 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.085, allocations: 59.94 kB / 0.7251 GB, free: 118.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002007/1.087, allocations: 0.8394 MB / 0.7259 GB, free: 118.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.653e-06/1.087, allocations: 3.031 kB / 0.7259 GB, free: 118.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002875/1.09, allocations: 384 kB / 0.7263 GB, free: 118.1 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.0005564/1.091, allocations: 176.7 kB / 0.7265 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003776/1.095, allocations: 1.566 MB / 0.728 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.095, allocations: 0 / 0.728 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.097, allocations: 0.7968 MB / 0.7288 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.099, allocations: 233.8 kB / 0.729 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.109, allocations: 3.197 MB / 0.7321 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.111, allocations: 1.636 MB / 0.7337 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001274/1.112, allocations: 245.6 kB / 0.7339 GB, free: 116.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.112, allocations: 100.6 kB / 0.734 GB, free: 116.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/1.113, allocations: 0 / 0.734 GB, free: 116.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0416/1.154, allocations: 23.14 MB / 0.7566 GB, free: 111.8 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)