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.008967/0.008967, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001714/0.001714, allocations: 193.6 kB / 16.67 MB, free: 5.91 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.219/0.219, allocations: 7.973 MB / 298.5 MB, free: 2.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 413.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2807, allocations: 51.22 MB / 464.3 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.02263/0.3033, allocations: 21.52 MB / 485.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.3191, allocations: 5.756 MB / 491.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006211/0.3254, allocations: 175.4 kB / 491.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.3286, allocations: 0.8711 MB / 492.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.3328, allocations: 0.7081 MB / 493.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00849/0.3413, allocations: 4.288 MB / 497.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.347, allocations: 3.283 MB / 0.4892 GB, free: 8.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006373/0.3534, allocations: 4.125 MB / 0.4932 GB, free: 5.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.3557, allocations: 1.374 MB / 0.4945 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.3576, allocations: 1.533 MB / 0.496 GB, free: 2.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.3581, allocations: 372 kB / 0.4964 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.3588, allocations: 435.9 kB / 0.4968 GB, free: 1.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.3595, allocations: 0.814 MB / 0.4976 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.361, allocations: 1.602 MB / 0.4992 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00476/0.3657, allocations: 4.11 MB / 0.5032 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3658, allocations: 4 kB / 0.5032 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3658, allocations: 0 / 0.5032 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.3659, allocations: 3.938 kB / 0.5032 GB, free: 11.04 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.005972/0.3719, allocations: 3.232 MB / 0.5063 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3719, allocations: 12.03 kB / 0.5063 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.3725, allocations: 337.8 kB / 0.5067 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.375, allocations: 1.734 MB / 0.5084 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.3752, allocations: 188.9 kB / 0.5085 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.3755, allocations: 263.9 kB / 0.5088 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/0.3799, allocations: 2.752 MB / 0.5115 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-05/0.38, allocations: 31.78 kB / 0.5115 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.3802, allocations: 99.98 kB / 0.5116 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.3803, allocations: 119.9 kB / 0.5117 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.3839, allocations: 2.012 MB / 0.5137 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.3973, allocations: 10.33 MB / 0.5238 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.399, allocations: 0.9084 MB / 0.5247 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009412/0.3999, allocations: 0.5654 MB / 0.5252 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.325e-05/0.4, allocations: 13 kB / 0.5252 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4001, allocations: 43.5 kB / 0.5253 GB, free: 3.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=99): time 2.906e-06/0.4001, allocations: 0 / 0.5253 GB, free: 3.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=125): time 0.01103/0.4111, allocations: 5.758 MB / 0.5309 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4112, allocations: 94.11 kB / 0.531 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.4135, allocations: 1.907 MB / 0.5328 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/0.4136, allocations: 65.69 kB / 0.5329 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.4146, allocations: 1.408 MB / 0.5343 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.415, allocations: 456.3 kB / 0.5347 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005748/0.4156, allocations: 427.7 kB / 0.5351 GB, free: 9.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.4157, allocations: 305.1 kB / 0.5354 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4169, allocations: 0.6992 MB / 0.5361 GB, free: 8.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4186, allocations: 1.582 MB / 0.5376 GB, free: 6.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.4212, allocations: 2.163 MB / 0.5398 GB, free: 3.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.4213, allocations: 8 kB / 0.5398 GB, free: 3.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004475/0.4257, allocations: 2.762 MB / 0.5425 GB, free: 1.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.4258, allocations: 20 kB / 0.5425 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/0.4258, allocations: 28 kB / 0.5425 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.4279, allocations: 1.345 MB / 0.5438 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4291, allocations: 415.2 kB / 0.5442 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.4314, allocations: 1.725 MB / 0.5459 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.4332, allocations: 203.7 kB / 0.5461 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.4333, allocations: 108 kB / 0.5462 GB, free: 13.2 MB / 430.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.001141/0.4345, allocations: 0.6376 MB / 0.5468 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.4348, allocations: 222.5 kB / 0.547 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.4379, allocations: 1.75 MB / 0.5487 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.438, allocations: 15.94 kB / 0.5488 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.438, allocations: 0 / 0.5488 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.438, allocations: 7.969 kB / 0.5488 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.4451, allocations: 4.472 MB / 0.5531 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4451, allocations: 3.938 kB / 0.5531 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.4457, allocations: 151.8 kB / 0.5533 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.4476, allocations: 1.234 MB / 0.5545 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.871e-05/0.4477, allocations: 43.95 kB / 0.5545 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.4498, allocations: 1.513 MB / 0.556 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4498, allocations: 3.984 kB / 0.556 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.4542, allocations: 2.609 MB / 0.5586 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/0.455, allocations: 431.6 kB / 0.559 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.4553, allocations: 44 kB / 0.559 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.4561, allocations: 99.89 kB / 0.5591 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/0.4566, allocations: 200.7 kB / 0.5593 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-05/0.4567, allocations: 55.89 kB / 0.5593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00174/0.4585, allocations: 1.222 MB / 0.5605 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4585, allocations: 0 / 0.5605 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001707/0.4602, allocations: 471.9 kB / 0.561 GB, free: 13.81 MB / 446.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.0003874/0.4606, allocations: 193.2 kB / 0.5612 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003464/0.4641, allocations: 1.772 MB / 0.5629 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4641, allocations: 0 / 0.5629 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.4657, allocations: 0.8147 MB / 0.5637 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.4675, allocations: 344.9 kB / 0.564 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/0.4757, allocations: 4.352 MB / 0.5683 GB, free: 6.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.4772, allocations: 1.609 MB / 0.5699 GB, free: 4.656 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001545/0.4788, allocations: 308.7 kB / 0.5701 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.4792, allocations: 135.4 kB / 0.5703 GB, free: 4.219 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4792, allocations: 0 / 0.5703 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Templates: time 0.3204/0.7996, allocations: 29.16 MB / 0.5988 GB, free: 115.1 MB / 462.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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)