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.001231/0.001231, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001298/0.001297, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04384/0.04384, allocations: 8.021 MB / 299.1 MB, free: 7.199 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 63.91 kB / 361.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2215, allocations: 51.21 MB / 412.5 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.01765/0.2391, allocations: 21.55 MB / 434 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2495, allocations: 5.746 MB / 439.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.2533, allocations: 175.5 kB / 439.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.256, allocations: 0.8608 MB / 440.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.2589, allocations: 0.6895 MB / 441.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00816/0.2671, allocations: 4.283 MB / 445.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004989/0.2721, allocations: 3.263 MB / 449 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006473/0.2786, allocations: 4.118 MB / 453.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.2805, allocations: 1.355 MB / 454.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.2827, allocations: 1.533 MB / 456 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008443/0.2836, allocations: 368 kB / 456.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2847, allocations: 435.7 kB / 456.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.2857, allocations: 0.8179 MB / 457.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.2878, allocations: 1.602 MB / 459.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004461/0.2923, allocations: 4.034 MB / 463.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2923, allocations: 0 / 463.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2923, allocations: 4 kB / 463.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001449/0.2925, allocations: 0 / 463.3 MB, free: 7.715 MB / 334.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.006179/0.2986, allocations: 3.161 MB / 466.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2987, allocations: 8.031 kB / 466.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.2992, allocations: 328 kB / 466.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.3014, allocations: 1.655 MB / 468.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.3016, allocations: 192.9 kB / 468.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.302, allocations: 263.8 kB / 468.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.3063, allocations: 2.744 MB / 471.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-05/0.3064, allocations: 23.8 kB / 471.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.3066, allocations: 104 kB / 471.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.3067, allocations: 123.9 kB / 471.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.3103, allocations: 2.008 MB / 473.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.3239, allocations: 10.4 MB / 484.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.3255, allocations: 0.9058 MB / 485.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009785/0.3265, allocations: 0.5629 MB / 485.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.91e-05/0.3266, allocations: 17 kB / 485.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3267, allocations: 47.55 kB / 485.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/0.3267, allocations: 0 / 485.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01169/0.3384, allocations: 5.674 MB / 491.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3384, allocations: 90.11 kB / 491.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.3412, allocations: 1.902 MB / 493.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.3413, allocations: 73.72 kB / 493.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.3424, allocations: 1.376 MB / 494.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.3428, allocations: 430.2 kB / 495.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/0.3434, allocations: 431.5 kB / 495.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.3435, allocations: 305.1 kB / 496.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.3448, allocations: 0.6953 MB / 496.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.3467, allocations: 1.582 MB / 498.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.3495, allocations: 2.163 MB / 0.4888 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/0.3495, allocations: 8 kB / 0.4888 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004904/0.3545, allocations: 2.75 MB / 0.4915 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.3545, allocations: 20 kB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.3546, allocations: 28 kB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/0.3567, allocations: 1.345 MB / 0.4928 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.358, allocations: 419.2 kB / 0.4932 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.3604, allocations: 1.717 MB / 0.4949 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.3622, allocations: 207.5 kB / 0.4951 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.3624, allocations: 112 kB / 0.4952 GB, free: 10.11 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.001159/0.3636, allocations: 0.6401 MB / 0.4958 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.364, allocations: 213.3 kB / 0.496 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.3675, allocations: 1.742 MB / 0.4977 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.3676, allocations: 15.94 kB / 0.4977 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3676, allocations: 4 kB / 0.4977 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.3676, allocations: 7.969 kB / 0.4978 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008107/0.3757, allocations: 4.505 MB / 0.5022 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3757, allocations: 160 / 0.5022 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.3764, allocations: 155.8 kB / 0.5023 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.3783, allocations: 1.231 MB / 0.5035 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.3785, allocations: 39.95 kB / 0.5035 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1628/0.5413, allocations: 1.514 MB / 0.505 GB, free: 91.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.5413, allocations: 1.969 kB / 0.505 GB, free: 91.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.5458, allocations: 2.591 MB / 0.5076 GB, free: 91.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.5465, allocations: 425.6 kB / 0.508 GB, free: 90.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.5468, allocations: 54.7 kB / 0.508 GB, free: 90.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.5477, allocations: 95.58 kB / 0.5081 GB, free: 90.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/0.5481, allocations: 198.2 kB / 0.5083 GB, free: 90.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.5482, allocations: 49.27 kB / 0.5083 GB, free: 90.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.5497, allocations: 1.227 MB / 0.5095 GB, free: 90.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5497, allocations: 1.406 kB / 0.5095 GB, free: 90.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001511/0.5512, allocations: 464.6 kB / 0.51 GB, free: 90.24 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.0002817/0.5515, allocations: 186 kB / 0.5102 GB, free: 90.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00368/0.5552, allocations: 1.812 MB / 0.5119 GB, free: 89.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5552, allocations: 0.5 kB / 0.5119 GB, free: 89.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.5568, allocations: 0.8055 MB / 0.5127 GB, free: 89.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.5585, allocations: 338.9 kB / 0.513 GB, free: 89.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.5655, allocations: 4.425 MB / 0.5174 GB, free: 86.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.5664, allocations: 1.596 MB / 0.5189 GB, free: 86.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.5667, allocations: 144.9 kB / 0.5191 GB, free: 86.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5668, allocations: 4 kB / 0.5191 GB, free: 86.12 MB / 382.1 MB Notification: Performance of Templates: time 0.03824/0.605, allocations: 40.22 MB / 0.5583 GB, free: 47.05 MB / 382.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)