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.001457/0.001457, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00136/0.00136, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2082/0.2082, allocations: 7.981 MB / 299 MB, free: 3.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 12 kB / 361.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 52.21 MB / 413.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.2876/0.4095, allocations: 81.13 MB / 495 MB, free: 7.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04217/0.4517, allocations: 18.39 MB / 0.5013 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02173/0.4735, allocations: 449.3 kB / 0.5018 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01458/0.4881, allocations: 4.154 MB / 0.5058 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03896/0.5271, allocations: 10.95 MB / 0.5165 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007632/0.5348, allocations: 0.8395 MB / 0.5173 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007774/0.5426, allocations: 2.118 MB / 0.5194 GB, free: 224 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005552/0.5482, allocations: 3.003 MB / 0.5223 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.5504, allocations: 1.027 MB / 0.5233 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.5524, allocations: 1.112 MB / 0.5244 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.5527, allocations: 116 kB / 0.5245 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.5532, allocations: 156 kB / 0.5247 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000429/0.5536, allocations: 0.5174 MB / 0.5252 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.5542, allocations: 0.547 MB / 0.5257 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.5574, allocations: 3.082 MB / 0.5287 GB, free: 6.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5574, allocations: 0 / 0.5287 GB, free: 6.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.5574, allocations: 0 / 0.5287 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001145/0.5576, allocations: 3.938 kB / 0.5287 GB, free: 6.703 MB / 398.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.005958/0.5635, allocations: 2.666 MB / 0.5313 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5636, allocations: 12.02 kB / 0.5314 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008302/0.5644, allocations: 327 kB / 0.5317 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/0.5672, allocations: 1.596 MB / 0.5332 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.5673, allocations: 193 kB / 0.5334 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004333/0.5678, allocations: 263.8 kB / 0.5337 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004998/0.5728, allocations: 2.715 MB / 0.5363 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-05/0.5729, allocations: 23.73 kB / 0.5363 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.5731, allocations: 104 kB / 0.5364 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.5733, allocations: 120 kB / 0.5366 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.5771, allocations: 2.004 MB / 0.5385 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.5914, allocations: 10.48 MB / 0.5487 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.5931, allocations: 0.9098 MB / 0.5496 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.5932, allocations: 13 kB / 0.5496 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5932, allocations: 43.56 kB / 0.5497 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=99): time 3.787e-06/0.5933, allocations: 0 / 0.5497 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.01252/0.6058, allocations: 5.825 MB / 0.5554 GB, free: 10.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.6059, allocations: 90.11 kB / 0.5555 GB, free: 10.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.6085, allocations: 1.895 MB / 0.5573 GB, free: 8.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.6087, allocations: 65.7 kB / 0.5574 GB, free: 8.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.6099, allocations: 1.365 MB / 0.5587 GB, free: 7.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.6103, allocations: 442.2 kB / 0.5591 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.6104, allocations: 47.92 kB / 0.5592 GB, free: 6.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6106, allocations: 386.2 kB / 0.5595 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.6119, allocations: 0.6992 MB / 0.5602 GB, free: 5.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.6137, allocations: 1.566 MB / 0.5618 GB, free: 3.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.6151, allocations: 0.8151 MB / 0.5626 GB, free: 2.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.6151, allocations: 12 kB / 0.5626 GB, free: 2.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00525/0.6203, allocations: 2.779 MB / 0.5653 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.6204, allocations: 20 kB / 0.5653 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.6205, allocations: 31.94 kB / 0.5653 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.6227, allocations: 1.345 MB / 0.5666 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.6241, allocations: 419.2 kB / 0.567 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.6264, allocations: 1.719 MB / 0.5687 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6288, allocations: 259.5 kB / 0.569 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.629, allocations: 119.9 kB / 0.5691 GB, free: 12.05 MB / 446.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_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 () * 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 (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 41} Notification: Performance of prepare postOptimizeDAE: time 0.001383/0.6304, allocations: 0.6416 MB / 0.5697 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.6309, allocations: 213.3 kB / 0.5699 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.6343, allocations: 1.742 MB / 0.5716 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6344, allocations: 12 kB / 0.5716 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6344, allocations: 0 / 0.5716 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6344, allocations: 7.969 kB / 0.5716 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008654/0.6431, allocations: 4.568 MB / 0.5761 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6431, allocations: 0 / 0.5761 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.6437, allocations: 159.7 kB / 0.5762 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.6458, allocations: 1.222 MB / 0.5774 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.6459, allocations: 47.95 kB / 0.5775 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.648, allocations: 1.513 MB / 0.579 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6481, allocations: 7.938 kB / 0.579 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2088/0.8569, allocations: 2.694 MB / 0.5816 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009985/0.8579, allocations: 430.2 kB / 0.582 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.8582, allocations: 45.03 kB / 0.5821 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/0.8592, allocations: 133.1 kB / 0.5822 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/0.8596, allocations: 238.2 kB / 0.5824 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.8597, allocations: 48.97 kB / 0.5825 GB, free: 127.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.8613, allocations: 1.21 MB / 0.5836 GB, free: 127.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8613, allocations: 0 / 0.5836 GB, free: 127.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001613/0.8629, allocations: 469.3 kB / 0.5841 GB, free: 127.1 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 (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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003158/0.8632, allocations: 179.2 kB / 0.5843 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.8663, allocations: 1.769 MB / 0.586 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8664, allocations: 2.406 kB / 0.586 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8679, allocations: 0.8112 MB / 0.5868 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.8696, allocations: 293.5 kB / 0.5871 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.8779, allocations: 5.219 MB / 0.5922 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.879, allocations: 1.665 MB / 0.5938 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.8801, allocations: 317.3 kB / 0.5941 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.8803, allocations: 120.7 kB / 0.5942 GB, free: 123.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.834e-06/0.8804, allocations: 0 / 0.5942 GB, free: 123.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05333/0.9337, allocations: 26.3 MB / 0.6199 GB, free: 119.9 MB / 446.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)