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.001063/0.001063, allocations: 107 kB / 15.99 MB, free: 6.359 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.001043/0.001043, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04305/0.04305, allocations: 8.002 MB / 298.7 MB, free: 7.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 360.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2082, allocations: 51.21 MB / 412 MB, free: 26.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.08202/0.2902, allocations: 94.86 MB / 0.4949 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2226/0.5129, allocations: 18.08 MB / 0.5126 GB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01684/0.5298, allocations: 453 kB / 0.513 GB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.5327, allocations: 0.7129 MB / 0.5137 GB, free: 172 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.5354, allocations: 0.5843 MB / 0.5143 GB, free: 164 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006982/0.5424, allocations: 4.131 MB / 0.5183 GB, free: 104 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00483/0.5472, allocations: 3.278 MB / 0.5215 GB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006401/0.5536, allocations: 4.124 MB / 0.5256 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.556, allocations: 1.379 MB / 0.5269 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.5583, allocations: 1.559 MB / 0.5284 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.5589, allocations: 369.7 kB / 0.5288 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.5597, allocations: 432.5 kB / 0.5292 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.5603, allocations: 0.8211 MB / 0.53 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.562, allocations: 1.608 MB / 0.5316 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.565, allocations: 3.231 MB / 0.5347 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5651, allocations: 0 / 0.5347 GB, free: 12.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5651, allocations: 0 / 0.5347 GB, free: 12.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001303/0.5652, allocations: 2.375 kB / 0.5347 GB, free: 12.71 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.006031/0.5712, allocations: 3.16 MB / 0.5378 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.5713, allocations: 9.562 kB / 0.5378 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.5718, allocations: 317.3 kB / 0.5381 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.5741, allocations: 1.664 MB / 0.5397 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.5742, allocations: 189.3 kB / 0.5399 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.5745, allocations: 265.7 kB / 0.5402 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.579, allocations: 2.749 MB / 0.5429 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.489e-05/0.5791, allocations: 32.33 kB / 0.5429 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.5793, allocations: 107.9 kB / 0.543 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.5794, allocations: 124.4 kB / 0.5431 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.583, allocations: 2.007 MB / 0.5451 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.5968, allocations: 10.39 MB / 0.5552 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.5984, allocations: 0.9251 MB / 0.5561 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009694/0.5994, allocations: 0.5713 MB / 0.5567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.5995, allocations: 13.09 kB / 0.5567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5995, allocations: 49 kB / 0.5567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=99): time 2.565e-06/0.5995, allocations: 2.25 kB / 0.5567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.01118/0.6107, allocations: 5.658 MB / 0.5623 GB, free: 9.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6108, allocations: 90.11 kB / 0.5624 GB, free: 8.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.6133, allocations: 1.895 MB / 0.5642 GB, free: 7.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.6134, allocations: 73.66 kB / 0.5643 GB, free: 6.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.6145, allocations: 1.371 MB / 0.5656 GB, free: 5.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.6149, allocations: 432.7 kB / 0.566 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006097/0.6155, allocations: 423.4 kB / 0.5664 GB, free: 4.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6156, allocations: 305.1 kB / 0.5667 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6169, allocations: 0.6992 MB / 0.5674 GB, free: 3.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.6187, allocations: 1.583 MB / 0.5689 GB, free: 1.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.6214, allocations: 2.168 MB / 0.5711 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.6214, allocations: 8 kB / 0.5711 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004813/0.6263, allocations: 2.74 MB / 0.5738 GB, free: 12.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.6263, allocations: 16 kB / 0.5738 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-05/0.6264, allocations: 35.94 kB / 0.5738 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/0.6287, allocations: 1.351 MB / 0.5751 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.63, allocations: 416.9 kB / 0.5755 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.6324, allocations: 1.716 MB / 0.5772 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.6344, allocations: 215.5 kB / 0.5774 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.6346, allocations: 108 kB / 0.5775 GB, free: 8.867 MB / 430.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.001208/0.6358, allocations: 0.6439 MB / 0.5781 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.6362, allocations: 213.3 kB / 0.5783 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.6396, allocations: 1.747 MB / 0.58 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6396, allocations: 12 kB / 0.5801 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6396, allocations: 0 / 0.5801 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6396, allocations: 3.984 kB / 0.5801 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007691/0.6473, allocations: 4.509 MB / 0.5845 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6474, allocations: 0 / 0.5845 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.648, allocations: 161 kB / 0.5846 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.6499, allocations: 1.222 MB / 0.5858 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/0.65, allocations: 47.89 kB / 0.5859 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.6522, allocations: 1.519 MB / 0.5873 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6522, allocations: 4 kB / 0.5873 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.6566, allocations: 2.605 MB / 0.5899 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008951/0.6575, allocations: 418.2 kB / 0.5903 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6578, allocations: 48 kB / 0.5903 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.6587, allocations: 95.95 kB / 0.5904 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/0.6592, allocations: 200.6 kB / 0.5906 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6593, allocations: 47.95 kB / 0.5907 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.6611, allocations: 1.228 MB / 0.5919 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6611, allocations: 0 / 0.5919 GB, free: 10.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00167/0.6628, allocations: 472 kB / 0.5923 GB, free: 9.598 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.0003445/0.6632, allocations: 185.3 kB / 0.5925 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003988/0.6672, allocations: 1.808 MB / 0.5942 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6672, allocations: 0 / 0.5942 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6688, allocations: 0.8072 MB / 0.595 GB, free: 6.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6706, allocations: 332.7 kB / 0.5954 GB, free: 6.602 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.6796, allocations: 5.474 MB / 0.6007 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.681, allocations: 1.609 MB / 0.6023 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.6814, allocations: 143.4 kB / 0.6024 GB, free: 15.32 MB / 462.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6814, allocations: 3.938 kB / 0.6024 GB, free: 15.32 MB / 462.1 MB Notification: Performance of Templates: time 0.05055/0.732, allocations: 40.21 MB / 0.6417 GB, free: 7.125 MB / 494.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)