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.00141/0.00141, allocations: 104.5 kB / 16.41 MB, free: 6.457 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.001333/0.001333, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04152/0.04152, allocations: 8 MB / 299.2 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 413.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09216, allocations: 51.21 MB / 465 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.0221/0.1143, allocations: 21.53 MB / 486.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1267, allocations: 5.758 MB / 492.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.1312, allocations: 171.5 kB / 492.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.1338, allocations: 0.8686 MB / 493.3 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.1364, allocations: 0.6779 MB / 494 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007775/0.1442, allocations: 4.298 MB / 498.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.1488, allocations: 3.282 MB / 0.4898 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.154, allocations: 4.118 MB / 0.4938 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.156, allocations: 1.374 MB / 0.4952 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.1578, allocations: 1.525 MB / 0.4967 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.1583, allocations: 372 kB / 0.497 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.159, allocations: 435.9 kB / 0.4974 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.1596, allocations: 0.8217 MB / 0.4982 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.1611, allocations: 1.606 MB / 0.4998 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.1651, allocations: 4.085 MB / 0.5038 GB, free: 444 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1651, allocations: 0 / 0.5038 GB, free: 444 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1651, allocations: 7.938 kB / 0.5038 GB, free: 436 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.1652, allocations: 0 / 0.5038 GB, free: 436 kB / 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.2285/0.3937, allocations: 3.161 MB / 0.5069 GB, free: 47.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3938, allocations: 10.38 kB / 0.5069 GB, free: 47.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.3947, allocations: 319.9 kB / 0.5072 GB, free: 47.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.3978, allocations: 1.717 MB / 0.5089 GB, free: 46.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3979, allocations: 189.3 kB / 0.509 GB, free: 46.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.3983, allocations: 262 kB / 0.5093 GB, free: 46.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/0.4033, allocations: 2.751 MB / 0.512 GB, free: 45.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4034, allocations: 26.64 kB / 0.512 GB, free: 45.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.4036, allocations: 106.4 kB / 0.5121 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.4038, allocations: 114.7 kB / 0.5122 GB, free: 45.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.4078, allocations: 2.012 MB / 0.5142 GB, free: 44.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.4216, allocations: 10.29 MB / 0.5242 GB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.4231, allocations: 0.9322 MB / 0.5251 GB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/0.424, allocations: 0.5621 MB / 0.5257 GB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/0.4241, allocations: 11.59 kB / 0.5257 GB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4241, allocations: 47.53 kB / 0.5257 GB, free: 35.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.587e-06/0.4241, allocations: 0 / 0.5257 GB, free: 35.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.01053/0.4346, allocations: 5.669 MB / 0.5313 GB, free: 32.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.4347, allocations: 97.86 kB / 0.5314 GB, free: 32.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.4369, allocations: 1.896 MB / 0.5332 GB, free: 30.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.4371, allocations: 69.72 kB / 0.5333 GB, free: 30.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/0.4379, allocations: 1.379 MB / 0.5346 GB, free: 29.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.4382, allocations: 430.1 kB / 0.5351 GB, free: 29.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/0.4387, allocations: 431.4 kB / 0.5355 GB, free: 28.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.4388, allocations: 305.1 kB / 0.5358 GB, free: 28.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.4398, allocations: 0.6953 MB / 0.5364 GB, free: 27.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4411, allocations: 1.582 MB / 0.538 GB, free: 25.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.4431, allocations: 2.167 MB / 0.5401 GB, free: 23.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4431, allocations: 8 kB / 0.5401 GB, free: 23.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003907/0.4471, allocations: 2.744 MB / 0.5428 GB, free: 20.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4471, allocations: 23.94 kB / 0.5428 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.4471, allocations: 28 kB / 0.5428 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.4489, allocations: 1.347 MB / 0.5441 GB, free: 18.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.45, allocations: 415.2 kB / 0.5445 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4518, allocations: 1.713 MB / 0.5462 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.4537, allocations: 207.5 kB / 0.5464 GB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.4538, allocations: 108 kB / 0.5465 GB, free: 16.49 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.0009878/0.4548, allocations: 0.6493 MB / 0.5472 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.4551, allocations: 213.3 kB / 0.5474 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.4579, allocations: 1.746 MB / 0.5491 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4579, allocations: 12 kB / 0.5491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4579, allocations: 0 / 0.5491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4579, allocations: 14.88 kB / 0.5491 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006376/0.4643, allocations: 4.472 MB / 0.5535 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4643, allocations: 0 / 0.5535 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.4649, allocations: 155.8 kB / 0.5536 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4664, allocations: 1.231 MB / 0.5548 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.4665, allocations: 35.95 kB / 0.5548 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.4681, allocations: 1.519 MB / 0.5563 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4682, allocations: 0 / 0.5563 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.4718, allocations: 2.6 MB / 0.5589 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/0.4726, allocations: 418.2 kB / 0.5593 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.473, allocations: 48 kB / 0.5593 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/0.4738, allocations: 95.89 kB / 0.5594 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.4742, allocations: 204.6 kB / 0.5596 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.4743, allocations: 51.95 kB / 0.5596 GB, free: 2.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.4757, allocations: 1.226 MB / 0.5608 GB, free: 1.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4757, allocations: 3.938 kB / 0.5608 GB, free: 1.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001461/0.4771, allocations: 468 kB / 0.5613 GB, free: 1.156 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.0003021/0.4774, allocations: 189.2 kB / 0.5615 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.4805, allocations: 1.777 MB / 0.5632 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4806, allocations: 256 / 0.5632 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.4822, allocations: 0.8109 MB / 0.564 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.484, allocations: 327.1 kB / 0.5643 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/0.4925, allocations: 4.34 MB / 0.5685 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.4938, allocations: 1.605 MB / 0.5701 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.4943, allocations: 147.4 kB / 0.5703 GB, free: 7.902 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4943, allocations: 3.938 kB / 0.5703 GB, free: 7.898 MB / 398.1 MB Notification: Performance of Templates: time 0.05437/0.5486, allocations: 40.52 MB / 0.6098 GB, free: 15.38 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)