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.00159/0.00159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002074/0.002074, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2147/0.2147, allocations: 7.988 MB / 298.1 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 52.09 kB / 360.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1151, allocations: 51.22 MB / 411.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.3197/0.4349, allocations: 94.85 MB / 0.4943 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05204/0.487, allocations: 18.09 MB / 0.512 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02754/0.5146, allocations: 448.5 kB / 0.5124 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.5186, allocations: 0.7148 MB / 0.5131 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.5235, allocations: 0.5806 MB / 0.5137 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.5339, allocations: 4.14 MB / 0.5177 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006906/0.5408, allocations: 3.265 MB / 0.5209 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007151/0.548, allocations: 4.126 MB / 0.5249 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.551, allocations: 1.381 MB / 0.5263 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.554, allocations: 1.557 MB / 0.5278 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007782/0.5548, allocations: 372 kB / 0.5281 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5559, allocations: 429.5 kB / 0.5286 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.5567, allocations: 0.8237 MB / 0.5294 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.5583, allocations: 1.606 MB / 0.5309 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.5627, allocations: 4.041 MB / 0.5349 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5627, allocations: 0 / 0.5349 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5627, allocations: 0 / 0.5349 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001027/0.5628, allocations: 4 kB / 0.5349 GB, free: 14.99 MB / 414.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.005816/0.5686, allocations: 3.157 MB / 0.538 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5687, allocations: 8.031 kB / 0.538 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.5692, allocations: 328 kB / 0.5383 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.5714, allocations: 1.651 MB / 0.5399 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.5716, allocations: 193 kB / 0.5401 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.572, allocations: 263.7 kB / 0.5403 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005561/0.5775, allocations: 2.75 MB / 0.543 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.5777, allocations: 31.72 kB / 0.543 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.5779, allocations: 108 kB / 0.5431 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.5781, allocations: 120 kB / 0.5433 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/0.5818, allocations: 2.008 MB / 0.5452 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.5964, allocations: 10.39 MB / 0.5554 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.5981, allocations: 0.9242 MB / 0.5563 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.5991, allocations: 0.5609 MB / 0.5568 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/0.5992, allocations: 17 kB / 0.5568 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5992, allocations: 43.56 kB / 0.5569 GB, free: 7.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 6.051e-06/0.5992, allocations: 3.984 kB / 0.5569 GB, free: 7.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=125): time 0.0126/0.6118, allocations: 5.674 MB / 0.5624 GB, free: 1.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.612, allocations: 94.05 kB / 0.5625 GB, free: 1.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.6147, allocations: 1.906 MB / 0.5644 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.6149, allocations: 65.7 kB / 0.5644 GB, free: 15.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.6163, allocations: 1.372 MB / 0.5658 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/0.6168, allocations: 430.2 kB / 0.5662 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006797/0.6175, allocations: 427.5 kB / 0.5666 GB, free: 13.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6177, allocations: 301.1 kB / 0.5669 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.6189, allocations: 0.6992 MB / 0.5676 GB, free: 12.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.6208, allocations: 1.578 MB / 0.5691 GB, free: 10.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.6233, allocations: 2.163 MB / 0.5712 GB, free: 8.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.6234, allocations: 12 kB / 0.5712 GB, free: 8.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004935/0.6283, allocations: 2.744 MB / 0.5739 GB, free: 5.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.6284, allocations: 20.62 kB / 0.5739 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.6284, allocations: 31.94 kB / 0.574 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.6305, allocations: 1.349 MB / 0.5753 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.6317, allocations: 415.2 kB / 0.5757 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.6339, allocations: 1.714 MB / 0.5773 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.6358, allocations: 211.5 kB / 0.5775 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.636, allocations: 104 kB / 0.5776 GB, free: 1.402 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.001181/0.6372, allocations: 0.6455 MB / 0.5783 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/0.6376, allocations: 217.2 kB / 0.5785 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3697/1.007, allocations: 1.741 MB / 0.5802 GB, free: 52.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.007, allocations: 13.28 kB / 0.5802 GB, free: 52.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.007, allocations: 0 / 0.5802 GB, free: 52.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.007, allocations: 9.891 kB / 0.5802 GB, free: 52.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008063/1.015, allocations: 4.497 MB / 0.5846 GB, free: 51.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.016, allocations: 2.562 kB / 0.5846 GB, free: 51.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/1.016, allocations: 155.8 kB / 0.5847 GB, free: 51.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.018, allocations: 1.23 MB / 0.5859 GB, free: 51.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.844e-05/1.018, allocations: 43.27 kB / 0.586 GB, free: 51.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.02, allocations: 1.515 MB / 0.5875 GB, free: 51.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.02, allocations: 1.688 kB / 0.5875 GB, free: 51.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/1.024, allocations: 2.591 MB / 0.59 GB, free: 51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/1.025, allocations: 428.1 kB / 0.5904 GB, free: 50.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.025, allocations: 51.23 kB / 0.5905 GB, free: 50.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/1.026, allocations: 97.08 kB / 0.5906 GB, free: 50.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/1.027, allocations: 197.9 kB / 0.5907 GB, free: 50.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/1.027, allocations: 46.48 kB / 0.5908 GB, free: 50.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001882/1.029, allocations: 1.228 MB / 0.592 GB, free: 50.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 0 / 0.592 GB, free: 50.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001879/1.031, allocations: 467 kB / 0.5924 GB, free: 50.75 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.000359/1.031, allocations: 187.3 kB / 0.5926 GB, free: 50.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004611/1.036, allocations: 1.818 MB / 0.5944 GB, free: 50.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.036, allocations: 0.6562 kB / 0.5944 GB, free: 50.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/1.038, allocations: 0.8143 MB / 0.5952 GB, free: 50.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.04, allocations: 336.3 kB / 0.5955 GB, free: 50.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009851/1.05, allocations: 5.372 MB / 0.6007 GB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/1.052, allocations: 1.605 MB / 0.6023 GB, free: 47.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001523/1.053, allocations: 316.8 kB / 0.6026 GB, free: 47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.054, allocations: 133 kB / 0.6027 GB, free: 46.99 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/1.054, allocations: 4 kB / 0.6027 GB, free: 46.99 MB / 446.1 MB Notification: Performance of Templates: time 0.05101/1.105, allocations: 28.57 MB / 0.6306 GB, free: 30.73 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)