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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009084/0.009084, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 96.75 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04052/0.04052, allocations: 7.985 MB / 349.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003151, allocations: 12.16 kB / 412 MB, free: 89.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.0961, allocations: 52.21 MB / 464.2 MB, free: 43.21 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.4901, allocations: 107 MB / 0.5578 GB, free: 16.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4904, allocations: 97.22 kB / 0.5579 GB, free: 16.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.575/1.065, allocations: 155.8 MB / 0.7101 GB, free: 122.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.066, allocations: 0 / 0.7101 GB, free: 122.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000239/1.066, allocations: 81.47 kB / 0.7101 GB, free: 122.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.005917/1.072, allocations: 2.668 MB / 0.7128 GB, free: 121.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.072, allocations: 11.8 kB / 0.7128 GB, free: 121.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.073, allocations: 361.6 kB / 0.7131 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/1.076, allocations: 1.753 MB / 0.7148 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.076, allocations: 189.3 kB / 0.715 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/1.076, allocations: 262.6 kB / 0.7153 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/1.081, allocations: 2.931 MB / 0.7181 GB, free: 120.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.821e-05/1.081, allocations: 27.16 kB / 0.7181 GB, free: 120.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/1.082, allocations: 108.5 kB / 0.7182 GB, free: 120.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.082, allocations: 96.92 kB / 0.7183 GB, free: 120.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/1.086, allocations: 1.926 MB / 0.7202 GB, free: 120.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/1.1, allocations: 11.36 MB / 0.7313 GB, free: 115.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/1.102, allocations: 1.056 MB / 0.7323 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/1.103, allocations: 17.53 kB / 0.7324 GB, free: 115.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.103, allocations: 46.38 kB / 0.7324 GB, free: 115.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 5.15e-06/1.103, allocations: 0 / 0.7324 GB, free: 115.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=142): time 0.01121/1.114, allocations: 5.967 MB / 0.7382 GB, free: 113.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/1.114, allocations: 90.92 kB / 0.7383 GB, free: 113.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.116, allocations: 1.621 MB / 0.7399 GB, free: 113.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.116, allocations: 68.58 kB / 0.74 GB, free: 113 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/1.117, allocations: 1.228 MB / 0.7412 GB, free: 112.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/1.118, allocations: 482.3 kB / 0.7416 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/1.118, allocations: 40.05 kB / 0.7417 GB, free: 112.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/1.118, allocations: 375.7 kB / 0.742 GB, free: 112 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.119, allocations: 0.6176 MB / 0.7426 GB, free: 112 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.12, allocations: 1.173 MB / 0.7438 GB, free: 111.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.121, allocations: 0.6745 MB / 0.7444 GB, free: 111.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.121, allocations: 6.906 kB / 0.7444 GB, free: 111.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.003694/1.125, allocations: 2.358 MB / 0.7467 GB, free: 110.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.125, allocations: 11.22 kB / 0.7467 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.125, allocations: 25.98 kB / 0.7468 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/1.127, allocations: 1.175 MB / 0.7479 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/1.128, allocations: 302.3 kB / 0.7482 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/1.13, allocations: 1.738 MB / 0.7499 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.132, allocations: 217.4 kB / 0.7501 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.132, allocations: 91.16 kB / 0.7502 GB, free: 108.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,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 (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 54} Notification: Performance of prepare postOptimizeDAE: time 0.001382/1.133, allocations: 0.5974 MB / 0.7508 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.134, allocations: 224.7 kB / 0.751 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/1.137, allocations: 2.02 MB / 0.753 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.137, allocations: 13.69 kB / 0.753 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.137, allocations: 0 / 0.753 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/1.137, allocations: 7.188 kB / 0.753 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008148/1.145, allocations: 4.748 MB / 0.7576 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.145, allocations: 0 / 0.7576 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/1.146, allocations: 158 kB / 0.7578 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/1.148, allocations: 1.072 MB / 0.7588 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.148, allocations: 42.12 kB / 0.7589 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/1.15, allocations: 1.552 MB / 0.7604 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.15, allocations: 10 kB / 0.7604 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/1.154, allocations: 2.756 MB / 0.7631 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009853/1.155, allocations: 443.1 kB / 0.7635 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005139/1.155, allocations: 51.56 kB / 0.7636 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.157, allocations: 136.1 kB / 0.7637 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/1.157, allocations: 240 kB / 0.7639 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.157, allocations: 58.81 kB / 0.764 GB, free: 100.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002096/1.159, allocations: 1.227 MB / 0.7652 GB, free: 99.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/1.159, allocations: 0 / 0.7652 GB, free: 99.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001952/1.161, allocations: 451.9 kB / 0.7656 GB, free: 99.45 MB / 458.7 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,driverEnvironment.ignition.y) * Number of discrete states: 12 (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_3.mode,brakes.brake_3.startForward,brakes.brake_3.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005483/1.162, allocations: 200.8 kB / 0.7658 GB, free: 99.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/1.165, allocations: 1.734 MB / 0.7675 GB, free: 97.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.165, allocations: 0 / 0.7675 GB, free: 97.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.167, allocations: 0.8622 MB / 0.7683 GB, free: 96.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.168, allocations: 287.2 kB / 0.7686 GB, free: 96.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/1.178, allocations: 5.223 MB / 0.7737 GB, free: 91.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/1.18, allocations: 1.654 MB / 0.7753 GB, free: 90.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001203/1.181, allocations: 276.5 kB / 0.7756 GB, free: 90.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.181, allocations: 114.7 kB / 0.7757 GB, free: 90.22 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.181, allocations: 0 / 0.7757 GB, free: 90.22 MB / 458.7 MB Notification: Performance of Templates: time 0.04452/1.226, allocations: 26.41 MB / 0.8015 GB, free: 68.84 MB / 458.7 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)