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.00873/0.00873, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001952/0.001953, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1672/0.1672, allocations: 7.978 MB / 298.5 MB, free: 2.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.09 kB / 413.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3123, allocations: 51.21 MB / 464.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.02283/0.3351, allocations: 21.53 MB / 485.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.3514, allocations: 5.757 MB / 491.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007803/0.3593, allocations: 176.1 kB / 491.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.3628, allocations: 0.865 MB / 492.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.3673, allocations: 0.6823 MB / 493.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009953/0.3773, allocations: 4.284 MB / 497.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006975/0.3843, allocations: 3.284 MB / 0.4891 GB, free: 8.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009116/0.3934, allocations: 4.134 MB / 0.4932 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.3964, allocations: 1.351 MB / 0.4945 GB, free: 3.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004057/0.4005, allocations: 1.536 MB / 0.496 GB, free: 2.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.4023, allocations: 372 kB / 0.4963 GB, free: 1.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.4043, allocations: 431.9 kB / 0.4968 GB, free: 1.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.4058, allocations: 0.8179 MB / 0.4976 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/0.4082, allocations: 1.602 MB / 0.4991 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.4133, allocations: 4.106 MB / 0.5031 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4133, allocations: 0 / 0.5031 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4133, allocations: 0 / 0.5031 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.27e-05/0.4134, allocations: 3.938 kB / 0.5031 GB, free: 10.97 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.005992/0.4194, allocations: 3.239 MB / 0.5063 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4195, allocations: 8.031 kB / 0.5063 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004797/0.42, allocations: 345.8 kB / 0.5066 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.4225, allocations: 1.726 MB / 0.5083 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.4226, allocations: 196.9 kB / 0.5085 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.423, allocations: 259.9 kB / 0.5088 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004441/0.4274, allocations: 2.752 MB / 0.5114 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-05/0.4275, allocations: 27.86 kB / 0.5115 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4277, allocations: 100 kB / 0.5116 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.4278, allocations: 123.9 kB / 0.5117 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.4314, allocations: 2.008 MB / 0.5136 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.4444, allocations: 10.33 MB / 0.5237 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4461, allocations: 0.9122 MB / 0.5246 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/0.447, allocations: 0.5708 MB / 0.5252 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.4471, allocations: 12.98 kB / 0.5252 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.4472, allocations: 47.55 kB / 0.5252 GB, free: 3.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.4472, allocations: 0 / 0.5252 GB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=125): time 0.01142/0.4586, allocations: 5.749 MB / 0.5308 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4587, allocations: 90.11 kB / 0.5309 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.4613, allocations: 1.907 MB / 0.5328 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.4614, allocations: 69.69 kB / 0.5329 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.4625, allocations: 1.408 MB / 0.5342 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.4629, allocations: 468.3 kB / 0.5347 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006053/0.4635, allocations: 423.7 kB / 0.5351 GB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4636, allocations: 305.1 kB / 0.5354 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.4648, allocations: 0.6992 MB / 0.5361 GB, free: 8.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4666, allocations: 1.582 MB / 0.5376 GB, free: 6.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.4694, allocations: 2.159 MB / 0.5397 GB, free: 3.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.4694, allocations: 11.98 kB / 0.5397 GB, free: 3.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004976/0.4744, allocations: 2.756 MB / 0.5424 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4745, allocations: 21.66 kB / 0.5424 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-05/0.4745, allocations: 35.98 kB / 0.5425 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4767, allocations: 1.341 MB / 0.5438 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.478, allocations: 415.3 kB / 0.5442 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.4804, allocations: 1.725 MB / 0.5459 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.4822, allocations: 199.7 kB / 0.5461 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4824, allocations: 112 kB / 0.5462 GB, free: 13.12 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.001181/0.4836, allocations: 0.6376 MB / 0.5468 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.484, allocations: 230.5 kB / 0.547 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.4876, allocations: 1.75 MB / 0.5487 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.4877, allocations: 12 kB / 0.5487 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4877, allocations: 0 / 0.5487 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.4877, allocations: 7.969 kB / 0.5487 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008754/0.4964, allocations: 4.468 MB / 0.5531 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4965, allocations: 7.875 kB / 0.5531 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.4971, allocations: 151.8 kB / 0.5532 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.4992, allocations: 1.227 MB / 0.5544 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4993, allocations: 43.95 kB / 0.5545 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.5015, allocations: 1.517 MB / 0.556 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5015, allocations: 4 kB / 0.556 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.5061, allocations: 2.602 MB / 0.5585 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.5072, allocations: 435.6 kB / 0.5589 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005391/0.5078, allocations: 55.75 kB / 0.559 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.509, allocations: 95.88 kB / 0.5591 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/0.5095, allocations: 200.7 kB / 0.5593 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5096, allocations: 47.95 kB / 0.5593 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002467/0.512, allocations: 1.23 MB / 0.5605 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5121, allocations: 0 / 0.5605 GB, free: 14.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002178/0.5142, allocations: 467.9 kB / 0.561 GB, free: 13.73 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.0004567/0.5147, allocations: 185.3 kB / 0.5611 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.5184, allocations: 1.781 MB / 0.5629 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5185, allocations: 0 / 0.5629 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.5203, allocations: 0.8118 MB / 0.5637 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.5226, allocations: 324.3 kB / 0.564 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5332, allocations: 4.359 MB / 0.5682 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/0.5354, allocations: 1.609 MB / 0.5698 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001252/0.5366, allocations: 320.6 kB / 0.5701 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.537, allocations: 131.4 kB / 0.5702 GB, free: 4.141 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.537, allocations: 0 / 0.5702 GB, free: 4.141 MB / 446.1 MB Notification: Performance of Templates: time 0.337/0.874, allocations: 29.15 MB / 0.5987 GB, free: 115 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)