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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001307/0.001307, allocations: 191.4 kB / 16.14 MB, free: 6.695 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1564/0.1564, allocations: 7.982 MB / 297.9 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 359.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09173, allocations: 51.21 MB / 411.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.2318/0.3236, allocations: 94.86 MB / 0.4941 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06042/0.384, allocations: 18.12 MB / 0.5118 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02313/0.4072, allocations: 456.2 kB / 0.5123 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.4103, allocations: 0.7114 MB / 0.5129 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.4134, allocations: 0.5843 MB / 0.5135 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008098/0.4215, allocations: 4.268 MB / 0.5177 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.4263, allocations: 3.143 MB / 0.5208 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005075/0.4314, allocations: 3.094 MB / 0.5238 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.4333, allocations: 1.192 MB / 0.5249 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.4354, allocations: 1.458 MB / 0.5264 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004839/0.4359, allocations: 216 kB / 0.5266 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.4366, allocations: 283.8 kB / 0.5268 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.4372, allocations: 0.6751 MB / 0.5275 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.4386, allocations: 1.463 MB / 0.5289 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.4419, allocations: 3.893 MB / 0.5327 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4419, allocations: 4 kB / 0.5327 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4419, allocations: 0 / 0.5327 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.822e-05/0.442, allocations: 0 / 0.5327 GB, free: 0.9219 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.005506/0.4475, allocations: 3.153 MB / 0.5358 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4476, allocations: 11.97 kB / 0.5358 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.448, allocations: 324 kB / 0.5361 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.4502, allocations: 1.655 MB / 0.5378 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4503, allocations: 192.9 kB / 0.5379 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.4507, allocations: 263.7 kB / 0.5382 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.455, allocations: 2.754 MB / 0.5409 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-05/0.4552, allocations: 23.8 kB / 0.5409 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.4554, allocations: 104 kB / 0.541 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.4555, allocations: 119.9 kB / 0.5411 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.459, allocations: 2.012 MB / 0.5431 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.4724, allocations: 10.4 MB / 0.5532 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.4741, allocations: 0.9242 MB / 0.5541 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.4751, allocations: 0.5759 MB / 0.5547 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.4752, allocations: 9 kB / 0.5547 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4752, allocations: 43.56 kB / 0.5547 GB, free: 9.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 4.027e-06/0.4752, allocations: 0 / 0.5547 GB, free: 9.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=125): time 0.01086/0.4861, allocations: 5.664 MB / 0.5603 GB, free: 3.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4862, allocations: 94.05 kB / 0.5604 GB, free: 3.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.4885, allocations: 1.902 MB / 0.5622 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4887, allocations: 73.69 kB / 0.5623 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000938/0.4896, allocations: 1.361 MB / 0.5636 GB, free: 420 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.49, allocations: 438.2 kB / 0.564 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005539/0.4906, allocations: 423.5 kB / 0.5644 GB, free: 15.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.4907, allocations: 309.1 kB / 0.5647 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.4919, allocations: 0.6992 MB / 0.5654 GB, free: 14.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.4936, allocations: 1.574 MB / 0.567 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.4961, allocations: 2.169 MB / 0.5691 GB, free: 9.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.4962, allocations: 8 kB / 0.5691 GB, free: 9.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004672/0.5009, allocations: 2.742 MB / 0.5718 GB, free: 7.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.5009, allocations: 24.98 kB / 0.5718 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.501, allocations: 28 kB / 0.5718 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.5031, allocations: 1.356 MB / 0.5731 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.5044, allocations: 415.3 kB / 0.5735 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5067, allocations: 1.711 MB / 0.5752 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5085, allocations: 211.4 kB / 0.5754 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.5088, allocations: 112 kB / 0.5755 GB, free: 3.328 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_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.001191/0.51, allocations: 0.6299 MB / 0.5761 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.5104, allocations: 217.3 kB / 0.5763 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.5138, allocations: 1.75 MB / 0.578 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5139, allocations: 12 kB / 0.5781 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.5139, allocations: 7.938 kB / 0.5781 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5139, allocations: 3.984 kB / 0.5781 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1809/0.6948, allocations: 4.49 MB / 0.5825 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6949, allocations: 3.875 kB / 0.5825 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.6955, allocations: 153.4 kB / 0.5826 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.6972, allocations: 1.228 MB / 0.5838 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/0.6973, allocations: 39.91 kB / 0.5838 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.699, allocations: 1.522 MB / 0.5853 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.699, allocations: 6.359 kB / 0.5853 GB, free: 129.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.7028, allocations: 2.581 MB / 0.5879 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/0.7035, allocations: 426.1 kB / 0.5883 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.7038, allocations: 44.12 kB / 0.5883 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/0.7047, allocations: 98.88 kB / 0.5884 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.7051, allocations: 201 kB / 0.5886 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.7052, allocations: 45.5 kB / 0.5886 GB, free: 127.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.7067, allocations: 1.23 MB / 0.5898 GB, free: 127.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7067, allocations: 1.688 kB / 0.5898 GB, free: 127.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00152/0.7082, allocations: 471.6 kB / 0.5903 GB, free: 127.4 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 (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.0002999/0.7085, allocations: 189 kB / 0.5905 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.7113, allocations: 1.769 MB / 0.5922 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7114, allocations: 1.188 kB / 0.5922 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.7129, allocations: 0.8095 MB / 0.593 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.7148, allocations: 310.3 kB / 0.5933 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.7224, allocations: 5.384 MB / 0.5985 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/0.7234, allocations: 1.607 MB / 0.6001 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.7244, allocations: 316.9 kB / 0.6004 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.7247, allocations: 128.2 kB / 0.6005 GB, free: 122.4 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7247, allocations: 0 / 0.6005 GB, free: 122.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04547/0.7702, allocations: 27.21 MB / 0.6271 GB, free: 117.1 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)