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.001352/0.001353, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001382/0.001382, allocations: 187 kB / 17.34 MB, free: 5.742 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04204/0.04204, allocations: 8 MB / 299.2 MB, free: 7.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.84 kB / 413.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 51.21 MB / 465 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.02454/0.1405, allocations: 21.54 MB / 486.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.1548, allocations: 5.754 MB / 492.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005583/0.1604, allocations: 175.4 kB / 492.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.1637, allocations: 0.8726 MB / 493.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.1675, allocations: 0.7013 MB / 494 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008843/0.1763, allocations: 4.29 MB / 498.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005637/0.182, allocations: 3.29 MB / 0.4898 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007633/0.1896, allocations: 4.114 MB / 0.4939 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.1922, allocations: 1.378 MB / 0.4952 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.1949, allocations: 1.529 MB / 0.4967 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.196, allocations: 368 kB / 0.497 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.1974, allocations: 431.9 kB / 0.4975 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.1987, allocations: 0.8256 MB / 0.4983 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.2008, allocations: 1.605 MB / 0.4998 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.2053, allocations: 4.089 MB / 0.5038 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2053, allocations: 0 / 0.5038 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2053, allocations: 0 / 0.5038 GB, free: 424 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.066e-05/0.2054, allocations: 3.938 kB / 0.5038 GB, free: 420 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.2485/0.4539, allocations: 3.162 MB / 0.5069 GB, free: 47.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4539, allocations: 10.19 kB / 0.5069 GB, free: 47.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.4545, allocations: 318.8 kB / 0.5072 GB, free: 47.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.4572, allocations: 1.714 MB / 0.5089 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.4574, allocations: 190.8 kB / 0.5091 GB, free: 46.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.4577, allocations: 262.7 kB / 0.5093 GB, free: 46.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/0.4624, allocations: 2.745 MB / 0.512 GB, free: 45.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-05/0.4625, allocations: 32.17 kB / 0.512 GB, free: 45.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4627, allocations: 105.3 kB / 0.5121 GB, free: 44.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.4628, allocations: 119.4 kB / 0.5123 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.4666, allocations: 2.006 MB / 0.5142 GB, free: 44.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.48, allocations: 10.29 MB / 0.5243 GB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.4818, allocations: 0.9234 MB / 0.5252 GB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.4827, allocations: 0.5643 MB / 0.5257 GB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.4828, allocations: 12.62 kB / 0.5257 GB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4829, allocations: 51.09 kB / 0.5258 GB, free: 35.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.898e-06/0.4829, allocations: 1.344 kB / 0.5258 GB, free: 35.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.0116/0.4945, allocations: 5.666 MB / 0.5313 GB, free: 32.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4946, allocations: 93.91 kB / 0.5314 GB, free: 32.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.4974, allocations: 1.897 MB / 0.5333 GB, free: 30.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.4975, allocations: 65.7 kB / 0.5333 GB, free: 30.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009655/0.4985, allocations: 1.379 MB / 0.5347 GB, free: 29.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.4989, allocations: 437.2 kB / 0.5351 GB, free: 29.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.4994, allocations: 427.4 kB / 0.5355 GB, free: 28.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.4995, allocations: 305.1 kB / 0.5358 GB, free: 28.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5005, allocations: 0.6992 MB / 0.5365 GB, free: 27.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.502, allocations: 1.582 MB / 0.538 GB, free: 25.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.5043, allocations: 2.169 MB / 0.5401 GB, free: 23.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.5043, allocations: 8 kB / 0.5401 GB, free: 23.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004307/0.5086, allocations: 2.741 MB / 0.5428 GB, free: 20.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.5087, allocations: 19.94 kB / 0.5428 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.5087, allocations: 32 kB / 0.5429 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.5105, allocations: 1.339 MB / 0.5442 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.5116, allocations: 423.2 kB / 0.5446 GB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.5136, allocations: 1.717 MB / 0.5463 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.5157, allocations: 203.6 kB / 0.5464 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.5158, allocations: 104 kB / 0.5465 GB, free: 16.48 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.001287/0.5171, allocations: 0.6416 MB / 0.5472 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.5174, allocations: 213.3 kB / 0.5474 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.5204, allocations: 1.753 MB / 0.5491 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5204, allocations: 12 kB / 0.5491 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5204, allocations: 6.547 kB / 0.5491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5204, allocations: 3.984 kB / 0.5491 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006936/0.5274, allocations: 4.469 MB / 0.5535 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5274, allocations: 4 kB / 0.5535 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.528, allocations: 155.8 kB / 0.5536 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.5297, allocations: 1.227 MB / 0.5548 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.5298, allocations: 43.95 kB / 0.5549 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.5317, allocations: 1.511 MB / 0.5563 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5317, allocations: 4 kB / 0.5563 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.5357, allocations: 2.596 MB / 0.5589 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.5367, allocations: 430.3 kB / 0.5593 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.537, allocations: 44 kB / 0.5593 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/0.5378, allocations: 91.89 kB / 0.5594 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.5382, allocations: 208.6 kB / 0.5596 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.5383, allocations: 43.97 kB / 0.5597 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001745/0.5401, allocations: 1.23 MB / 0.5609 GB, free: 1.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.5401, allocations: 0 / 0.5609 GB, free: 1.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00211/0.5422, allocations: 475.9 kB / 0.5613 GB, free: 1.141 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.0004184/0.5426, allocations: 193 kB / 0.5615 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.5463, allocations: 1.773 MB / 0.5632 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5463, allocations: 0 / 0.5632 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.5481, allocations: 0.8118 MB / 0.564 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.5505, allocations: 327.8 kB / 0.5643 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/0.5592, allocations: 4.35 MB / 0.5686 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.5605, allocations: 1.609 MB / 0.5702 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.561, allocations: 139.4 kB / 0.5703 GB, free: 7.883 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.561, allocations: 0 / 0.5703 GB, free: 7.883 MB / 398.1 MB Notification: Performance of Templates: time 0.05768/0.6187, allocations: 40.51 MB / 0.6099 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)