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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 108.8 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 184 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.08322/0.08322, allocations: 8.006 MB / 299.2 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.91 kB / 413.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 51.21 MB / 465 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalAutomaticVehicle): time 0.02642/0.1296, allocations: 21.5 MB / 486.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1443, allocations: 5.743 MB / 492.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.1495, allocations: 171.5 kB / 492.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.1524, allocations: 0.8647 MB / 493.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.155, allocations: 0.709 MB / 494 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008058/0.1631, allocations: 4.294 MB / 498.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.1682, allocations: 3.231 MB / 0.4897 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005174/0.1734, allocations: 3.179 MB / 0.4928 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.1754, allocations: 1.343 MB / 0.4941 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.1772, allocations: 1.498 MB / 0.4956 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.1776, allocations: 360 kB / 0.4959 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006615/0.1783, allocations: 419.9 kB / 0.4963 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007407/0.179, allocations: 0.8061 MB / 0.4971 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.1806, allocations: 1.563 MB / 0.4987 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.1853, allocations: 4.009 MB / 0.5026 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1853, allocations: 0 / 0.5026 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1853, allocations: 0 / 0.5026 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.184e-05/0.1853, allocations: 3.938 kB / 0.5026 GB, free: 1.684 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.2794/0.4648, allocations: 3.171 MB / 0.5057 GB, free: 47.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.4649, allocations: 9.281 kB / 0.5057 GB, free: 47.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000831/0.4657, allocations: 329.2 kB / 0.506 GB, free: 46.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.4692, allocations: 1.712 MB / 0.5077 GB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.4693, allocations: 180.8 kB / 0.5078 GB, free: 46.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.4698, allocations: 259.5 kB / 0.5081 GB, free: 45.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/0.4754, allocations: 2.666 MB / 0.5107 GB, free: 44.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.459e-05/0.4755, allocations: 22.38 kB / 0.5107 GB, free: 44.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.4757, allocations: 102.2 kB / 0.5108 GB, free: 44.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.4759, allocations: 115.2 kB / 0.5109 GB, free: 44.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00438/0.4803, allocations: 1.964 MB / 0.5128 GB, free: 43.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.496, allocations: 10.13 MB / 0.5227 GB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.4977, allocations: 0.8622 MB / 0.5236 GB, free: 36.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009736/0.4987, allocations: 0.5317 MB / 0.5241 GB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.4988, allocations: 10.06 kB / 0.5241 GB, free: 36.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4988, allocations: 45.56 kB / 0.5241 GB, free: 35.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.806e-06/0.4988, allocations: 0 / 0.5241 GB, free: 35.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.0119/0.5107, allocations: 5.716 MB / 0.5297 GB, free: 32.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5108, allocations: 89.95 kB / 0.5298 GB, free: 32.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.5132, allocations: 1.889 MB / 0.5317 GB, free: 31.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.5133, allocations: 73.16 kB / 0.5317 GB, free: 31.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008441/0.5142, allocations: 1.368 MB / 0.5331 GB, free: 30.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.5145, allocations: 454.2 kB / 0.5335 GB, free: 29.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.515, allocations: 429.8 kB / 0.5339 GB, free: 29.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.515, allocations: 309.1 kB / 0.5342 GB, free: 29.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.5161, allocations: 0.6955 MB / 0.5349 GB, free: 28.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.5174, allocations: 1.581 MB / 0.5364 GB, free: 26.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.5196, allocations: 2.161 MB / 0.5385 GB, free: 24.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.5196, allocations: 16 kB / 0.5386 GB, free: 24.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004142/0.5237, allocations: 2.728 MB / 0.5412 GB, free: 21.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.5238, allocations: 30.62 kB / 0.5412 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.5238, allocations: 28 kB / 0.5413 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.5256, allocations: 1.345 MB / 0.5426 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.5267, allocations: 419.2 kB / 0.543 GB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.5286, allocations: 1.723 MB / 0.5447 GB, free: 17.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.5307, allocations: 199.7 kB / 0.5449 GB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.5309, allocations: 112 kB / 0.545 GB, free: 17.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 57 (controlBus.driverBus.ignition,brakes.brake_4.mode,$PRE.brakes.brake_4.mode,brakes.brake_4.locked,brakes.brake_4.startBackward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startForward,brakes.brake_4.free,brakes.brake_3.mode,$PRE.brakes.brake_3.mode,brakes.brake_3.locked,brakes.brake_3.startBackward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startForward,brakes.brake_3.free,brakes.brake_2.mode,$PRE.brakes.brake_2.mode,brakes.brake_2.locked,brakes.brake_2.startBackward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startForward,brakes.brake_2.free,brakes.brake_1.mode,$PRE.brakes.brake_1.mode,brakes.brake_1.locked,brakes.brake_1.startBackward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startForward,brakes.brake_1.free,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 (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.532, allocations: 0.6384 MB / 0.5456 GB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.5324, allocations: 230.4 kB / 0.5458 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.5354, allocations: 1.723 MB / 0.5475 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5354, allocations: 12 kB / 0.5475 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5354, allocations: 0 / 0.5475 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5354, allocations: 11.97 kB / 0.5475 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007483/0.5429, allocations: 4.396 MB / 0.5518 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5429, allocations: 8.156 kB / 0.5518 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.5435, allocations: 162.6 kB / 0.552 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.5451, allocations: 1.229 MB / 0.5532 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.5452, allocations: 39.95 kB / 0.5532 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.5471, allocations: 1.515 MB / 0.5547 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5471, allocations: 4 kB / 0.5547 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.551, allocations: 2.59 MB / 0.5572 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.5521, allocations: 431.5 kB / 0.5576 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.5526, allocations: 52.05 kB / 0.5577 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.5538, allocations: 95.89 kB / 0.5578 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.5542, allocations: 196.7 kB / 0.558 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.5543, allocations: 51.95 kB / 0.558 GB, free: 3.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002019/0.5563, allocations: 1.222 MB / 0.5592 GB, free: 2.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5563, allocations: 0 / 0.5592 GB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002133/0.5585, allocations: 463.9 kB / 0.5596 GB, free: 2.199 MB / 382.1 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,controlBus.driverBus.ignition) * Number of discrete states: 12 (brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,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_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,34)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000396/0.5589, allocations: 185 kB / 0.5598 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.562, allocations: 1.684 MB / 0.5615 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.562, allocations: 0 / 0.5615 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.5638, allocations: 0.7566 MB / 0.5622 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.5664, allocations: 334.8 kB / 0.5625 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.5773, allocations: 4.269 MB / 0.5667 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.5796, allocations: 1.589 MB / 0.5682 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001312/0.5809, allocations: 316.7 kB / 0.5686 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.5813, allocations: 131.4 kB / 0.5687 GB, free: 8.879 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5813, allocations: 0 / 0.5687 GB, free: 8.879 MB / 398.1 MB Notification: Performance of Templates: time 0.05669/0.638, allocations: 29.3 MB / 0.5973 GB, free: 11.73 MB / 430.1 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalAutomaticVehicle.pipe 2>&1)