Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.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.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") translateModel(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 113.5 kB / 16.41 MB, free: 6.488 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.001242/0.001242, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04602/0.04602, allocations: 8.016 MB / 299.2 MB, free: 7.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 59.89 kB / 413.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.141, allocations: 51.22 MB / 465 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.0279/0.1689, allocations: 21.63 MB / 486.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.1835, allocations: 5.777 MB / 492.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005873/0.1894, allocations: 171.5 kB / 492.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.193, allocations: 0.8725 MB / 493.4 MB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.1975, allocations: 0.713 MB / 494.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.2078, allocations: 4.31 MB / 498.5 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007508/0.2153, allocations: 3.231 MB / 0.4899 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006841/0.2221, allocations: 3.329 MB / 0.4932 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.2249, allocations: 1.382 MB / 0.4945 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.2279, allocations: 1.521 MB / 0.496 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008138/0.2287, allocations: 372 kB / 0.4964 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009974/0.2297, allocations: 427.9 kB / 0.4968 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008336/0.2306, allocations: 0.8373 MB / 0.4976 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.2325, allocations: 1.602 MB / 0.4992 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.2382, allocations: 4.106 MB / 0.5032 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2383, allocations: 3.938 kB / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2383, allocations: 0 / 0.5032 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.2384, allocations: 0 / 0.5032 GB, free: 1.043 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: 667 * Number of variables: 667 Notification: Performance of Generate backend data structure: time 0.2548/0.4932, allocations: 3.232 MB / 0.5063 GB, free: 47.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4932, allocations: 9.812 kB / 0.5063 GB, free: 47.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.4943, allocations: 340.2 kB / 0.5067 GB, free: 47.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.4997, allocations: 1.739 MB / 0.5084 GB, free: 46.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.5, allocations: 182.6 kB / 0.5085 GB, free: 46.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.501, allocations: 266.2 kB / 0.5088 GB, free: 46.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007636/0.5087, allocations: 2.747 MB / 0.5115 GB, free: 44.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002471/0.5089, allocations: 22.7 kB / 0.5115 GB, free: 44.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005399/0.5095, allocations: 103.1 kB / 0.5116 GB, free: 44.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.5097, allocations: 117.8 kB / 0.5117 GB, free: 44.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005313/0.515, allocations: 2.01 MB / 0.5137 GB, free: 43.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.5315, allocations: 10.34 MB / 0.5238 GB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.5333, allocations: 0.8725 MB / 0.5246 GB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/0.5342, allocations: 0.5275 MB / 0.5251 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.693e-05/0.5343, allocations: 14.88 kB / 0.5251 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.5343, allocations: 46.28 kB / 0.5252 GB, free: 35.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.806e-06/0.5343, allocations: 0 / 0.5252 GB, free: 35.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.01287/0.5472, allocations: 5.721 MB / 0.5308 GB, free: 32.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5472, allocations: 93.95 kB / 0.5309 GB, free: 32.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.5498, allocations: 1.906 MB / 0.5327 GB, free: 30.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.5499, allocations: 68.56 kB / 0.5328 GB, free: 30.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.5507, allocations: 1.406 MB / 0.5342 GB, free: 29.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.551, allocations: 459.8 kB / 0.5346 GB, free: 29.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/0.5515, allocations: 423.8 kB / 0.535 GB, free: 28.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.5516, allocations: 309 kB / 0.5353 GB, free: 28.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.5526, allocations: 0.6992 MB / 0.536 GB, free: 27.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.554, allocations: 1.581 MB / 0.5375 GB, free: 25.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.5563, allocations: 2.167 MB / 0.5396 GB, free: 23.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/0.5563, allocations: 8 kB / 0.5396 GB, free: 23.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004387/0.5607, allocations: 2.735 MB / 0.5423 GB, free: 20.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.5608, allocations: 19.94 kB / 0.5423 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.5608, allocations: 32.94 kB / 0.5424 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.5626, allocations: 1.347 MB / 0.5437 GB, free: 18.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5638, allocations: 415.3 kB / 0.5441 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5657, allocations: 1.713 MB / 0.5458 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5678, allocations: 208.2 kB / 0.546 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.5679, allocations: 112 kB / 0.5461 GB, free: 16.52 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.00132/0.5693, allocations: 0.6492 MB / 0.5467 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.5698, allocations: 226.5 kB / 0.5469 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.5731, allocations: 1.723 MB / 0.5486 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5731, allocations: 16 kB / 0.5486 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5732, allocations: 2.719 kB / 0.5486 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5732, allocations: 3.984 kB / 0.5486 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007719/0.5809, allocations: 4.461 MB / 0.553 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5809, allocations: 0 / 0.553 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.5815, allocations: 151.8 kB / 0.5531 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.5831, allocations: 1.227 MB / 0.5543 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.761e-05/0.5832, allocations: 43.95 kB / 0.5544 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.5851, allocations: 1.519 MB / 0.5558 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5851, allocations: 7.938 kB / 0.5558 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.589, allocations: 2.582 MB / 0.5584 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.5899, allocations: 431.4 kB / 0.5588 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/0.5904, allocations: 52 kB / 0.5588 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.5917, allocations: 95.95 kB / 0.5589 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.592, allocations: 200.5 kB / 0.5591 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.5921, allocations: 51.95 kB / 0.5592 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001908/0.594, allocations: 1.222 MB / 0.5604 GB, free: 1.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.594, allocations: 4 kB / 0.5604 GB, free: 1.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001905/0.5959, allocations: 464 kB / 0.5608 GB, free: 1.219 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.0003659/0.5963, allocations: 197.2 kB / 0.561 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.5997, allocations: 1.675 MB / 0.5626 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5997, allocations: 4.062 kB / 0.5626 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.6016, allocations: 0.7523 MB / 0.5634 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.6041, allocations: 329.8 kB / 0.5637 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6142, allocations: 4.342 MB / 0.5679 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.6158, allocations: 1.605 MB / 0.5695 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.6168, allocations: 320.6 kB / 0.5698 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.6171, allocations: 135.4 kB / 0.5699 GB, free: 7.805 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6171, allocations: 3.938 kB / 0.5699 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Templates: time 0.05524/0.6723, allocations: 29.37 MB / 0.5986 GB, free: 10.57 MB / 430.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)