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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 98.38 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03909/0.03909, allocations: 7.975 MB / 348 MB, free: 1.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009588/0.0009588, allocations: 51.42 kB / 410 MB, free: 58.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08456, allocations: 51.21 MB / 461.2 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.2626/0.3472, allocations: 94.87 MB / 0.543 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04095/0.3882, allocations: 18.12 MB / 0.5607 GB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02047/0.4087, allocations: 450.9 kB / 0.5611 GB, free: 8.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.4117, allocations: 0.7223 MB / 0.5618 GB, free: 8.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.4149, allocations: 0.5778 MB / 0.5624 GB, free: 7.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007449/0.4223, allocations: 4.264 MB / 0.5666 GB, free: 3.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004945/0.4273, allocations: 3.197 MB / 0.5697 GB, free: 52 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.4324, allocations: 3.072 MB / 0.5727 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.4342, allocations: 1.21 MB / 0.5739 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.4361, allocations: 1.454 MB / 0.5753 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.4365, allocations: 216 kB / 0.5755 GB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.4371, allocations: 287.9 kB / 0.5758 GB, free: 9.746 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.4377, allocations: 0.6811 MB / 0.5764 GB, free: 9.062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.439, allocations: 1.453 MB / 0.5778 GB, free: 7.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.4421, allocations: 3.89 MB / 0.5816 GB, free: 3.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4421, allocations: 4 kB / 0.5816 GB, free: 3.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4421, allocations: 0 / 0.5816 GB, free: 3.695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.431e-05/0.4422, allocations: 4 kB / 0.5817 GB, free: 3.691 MB / 394.7 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.005636/0.4478, allocations: 3.157 MB / 0.5847 GB, free: 480 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4479, allocations: 8.875 kB / 0.5847 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.4484, allocations: 324 kB / 0.5851 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.4507, allocations: 1.655 MB / 0.5867 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.4508, allocations: 189 kB / 0.5868 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.4512, allocations: 271.7 kB / 0.5871 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.4553, allocations: 2.748 MB / 0.5898 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.997e-05/0.4554, allocations: 23.8 kB / 0.5898 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.4556, allocations: 104 kB / 0.5899 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.4557, allocations: 119.9 kB / 0.59 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/0.4591, allocations: 2.008 MB / 0.592 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.4728, allocations: 10.4 MB / 0.6021 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.4748, allocations: 0.9243 MB / 0.6031 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/0.4757, allocations: 0.5658 MB / 0.6036 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4758, allocations: 13 kB / 0.6036 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4759, allocations: 47.5 kB / 0.6037 GB, free: 12.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.126e-06/0.4759, allocations: 0 / 0.6037 GB, free: 12.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=125): time 0.01056/0.4864, allocations: 5.665 MB / 0.6092 GB, free: 6.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.4866, allocations: 98.03 kB / 0.6093 GB, free: 6.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.4891, allocations: 1.902 MB / 0.6111 GB, free: 4.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.4892, allocations: 69.73 kB / 0.6112 GB, free: 4.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.4903, allocations: 1.369 MB / 0.6125 GB, free: 3.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.4907, allocations: 426.3 kB / 0.613 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006039/0.4913, allocations: 431.4 kB / 0.6134 GB, free: 2.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4914, allocations: 301.1 kB / 0.6137 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4926, allocations: 0.7031 MB / 0.6143 GB, free: 1.305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.4943, allocations: 1.582 MB / 0.6159 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.4968, allocations: 2.17 MB / 0.618 GB, free: 12.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.4968, allocations: 8 kB / 0.618 GB, free: 12.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004609/0.5015, allocations: 2.739 MB / 0.6207 GB, free: 9.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5015, allocations: 22.03 kB / 0.6207 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.5016, allocations: 31.94 kB / 0.6207 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.5037, allocations: 1.353 MB / 0.6221 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.5048, allocations: 415.2 kB / 0.6225 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.507, allocations: 1.721 MB / 0.6241 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5087, allocations: 207.5 kB / 0.6243 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.5088, allocations: 112 kB / 0.6244 GB, free: 6.078 MB / 442.7 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.001119/0.51, allocations: 0.6376 MB / 0.6251 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.5103, allocations: 217.2 kB / 0.6253 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.5134, allocations: 1.742 MB / 0.627 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5135, allocations: 12 kB / 0.627 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.5135, allocations: 11.92 kB / 0.627 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5135, allocations: 3.984 kB / 0.627 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/0.5211, allocations: 4.502 MB / 0.6314 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.5211, allocations: 3.984 kB / 0.6314 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.5217, allocations: 155.7 kB / 0.6315 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.5236, allocations: 1.227 MB / 0.6327 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.5237, allocations: 39.95 kB / 0.6328 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.5257, allocations: 1.521 MB / 0.6343 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5258, allocations: 3.938 kB / 0.6343 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2186/0.7443, allocations: 19.26 MB / 0.6531 GB, free: 158.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.745, allocations: 424.7 kB / 0.6535 GB, free: 158.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.7452, allocations: 44.89 kB / 0.6535 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.746, allocations: 102.7 kB / 0.6536 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.7465, allocations: 199.1 kB / 0.6538 GB, free: 158.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/0.7466, allocations: 45.14 kB / 0.6539 GB, free: 158.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001688/0.7483, allocations: 1.228 MB / 0.6551 GB, free: 158.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7483, allocations: 4.375 kB / 0.6551 GB, free: 158.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00223/0.7505, allocations: 0.6639 MB / 0.6557 GB, free: 158.1 MB / 458.7 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.0003679/0.7509, allocations: 209.5 kB / 0.6559 GB, free: 157.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.7541, allocations: 1.771 MB / 0.6576 GB, free: 157.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7541, allocations: 1.531 kB / 0.6576 GB, free: 157.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.7557, allocations: 0.8074 MB / 0.6584 GB, free: 157 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.7574, allocations: 309.5 kB / 0.6587 GB, free: 156.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.7668, allocations: 6.374 MB / 0.6649 GB, free: 153.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.7682, allocations: 1.658 MB / 0.6666 GB, free: 152.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.7693, allocations: 324.9 kB / 0.6669 GB, free: 152.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.7695, allocations: 137.4 kB / 0.667 GB, free: 152.3 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.7696, allocations: 0 / 0.667 GB, free: 152.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04375/0.8133, allocations: 33.96 MB / 0.7002 GB, free: 123.5 MB / 458.7 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)