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.01325/0.01325, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.002571/0.002571, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.996/1.996, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.3089/0.3089, allocations: 7.977 MB / 298.6 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001796, allocations: 59.91 kB / 360.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1903, allocations: 51.21 MB / 411.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.4602/0.6505, allocations: 94.86 MB / 0.4948 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.07211/0.7227, allocations: 18.12 MB / 0.5125 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03506/0.7578, allocations: 456.2 kB / 0.5129 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.7632, allocations: 0.7161 MB / 0.5136 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.771, allocations: 0.5818 MB / 0.5142 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.7845, allocations: 4.265 MB / 0.5183 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008297/0.7929, allocations: 3.154 MB / 0.5214 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009783/0.8027, allocations: 3.086 MB / 0.5244 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.807, allocations: 1.193 MB / 0.5256 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.8114, allocations: 1.457 MB / 0.527 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.8133, allocations: 220 kB / 0.5272 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.8152, allocations: 285.3 kB / 0.5275 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.8166, allocations: 0.6775 MB / 0.5281 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004534/0.8212, allocations: 1.456 MB / 0.5296 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.827, allocations: 3.177 MB / 0.5327 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.8271, allocations: 0 / 0.5327 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8271, allocations: 4 kB / 0.5327 GB, free: 1.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000313/0.8274, allocations: 0 / 0.5327 GB, free: 1.633 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.01097/0.8384, allocations: 3.153 MB / 0.5358 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.8385, allocations: 12.03 kB / 0.5358 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000854/0.8394, allocations: 324 kB / 0.5361 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.8429, allocations: 1.655 MB / 0.5377 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.8431, allocations: 185 kB / 0.5379 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.8436, allocations: 271.7 kB / 0.5381 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/0.8501, allocations: 2.75 MB / 0.5408 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.8503, allocations: 27.73 kB / 0.5408 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.8505, allocations: 108 kB / 0.5409 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.8507, allocations: 119.9 kB / 0.5411 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004813/0.8555, allocations: 2.008 MB / 0.543 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.8744, allocations: 10.39 MB / 0.5532 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.8763, allocations: 0.932 MB / 0.5541 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.8775, allocations: 0.5695 MB / 0.5546 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.456e-05/0.8776, allocations: 17 kB / 0.5546 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.8777, allocations: 43.5 kB / 0.5547 GB, free: 10.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 4.278e-06/0.8777, allocations: 0 / 0.5547 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=125): time 0.01455/0.8923, allocations: 5.659 MB / 0.5602 GB, free: 4.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.8924, allocations: 98.03 kB / 0.5603 GB, free: 4.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.8967, allocations: 1.906 MB / 0.5622 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000276/0.897, allocations: 61.7 kB / 0.5622 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.8983, allocations: 1.373 MB / 0.5636 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/0.8991, allocations: 426.3 kB / 0.564 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008871/0.9, allocations: 431.4 kB / 0.5644 GB, free: 276 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.9002, allocations: 305.1 kB / 0.5647 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.9018, allocations: 0.6992 MB / 0.5654 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.9043, allocations: 1.582 MB / 0.5669 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.908, allocations: 2.166 MB / 0.569 GB, free: 10.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.9081, allocations: 8 kB / 0.569 GB, free: 10.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005628/0.9137, allocations: 2.746 MB / 0.5717 GB, free: 7.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.9138, allocations: 20.62 kB / 0.5717 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.11e-05/0.9139, allocations: 31.94 kB / 0.5718 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.9164, allocations: 1.349 MB / 0.5731 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.9179, allocations: 415.2 kB / 0.5735 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.921, allocations: 1.719 MB / 0.5751 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.9236, allocations: 211.5 kB / 0.5753 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.924, allocations: 108 kB / 0.5755 GB, free: 4.043 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.002296/0.9263, allocations: 0.6339 MB / 0.5761 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006752/0.927, allocations: 213.2 kB / 0.5763 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.9315, allocations: 1.75 MB / 0.578 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.9316, allocations: 15.98 kB / 0.578 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.9316, allocations: 3.938 kB / 0.578 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.9316, allocations: 3.984 kB / 0.578 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3933/1.325, allocations: 4.496 MB / 0.5824 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.325, allocations: 3.125 kB / 0.5824 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007041/1.326, allocations: 151.5 kB / 0.5825 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.328, allocations: 1.233 MB / 0.5837 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.328, allocations: 40.17 kB / 0.5838 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/1.331, allocations: 1.519 MB / 0.5853 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.331, allocations: 0 / 0.5853 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/1.336, allocations: 2.588 MB / 0.5878 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.337, allocations: 421.7 kB / 0.5882 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/1.338, allocations: 52.72 kB / 0.5882 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009993/1.339, allocations: 93.88 kB / 0.5883 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006036/1.339, allocations: 199.2 kB / 0.5885 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.339, allocations: 51.39 kB / 0.5886 GB, free: 128.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002393/1.342, allocations: 1.226 MB / 0.5898 GB, free: 127.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.342, allocations: 0 / 0.5898 GB, free: 127.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002613/1.344, allocations: 465 kB / 0.5902 GB, free: 127.5 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.000545/1.345, allocations: 191.8 kB / 0.5904 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/1.349, allocations: 1.767 MB / 0.5921 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.349, allocations: 0 / 0.5921 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.351, allocations: 0.8073 MB / 0.5929 GB, free: 126.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.353, allocations: 310.3 kB / 0.5932 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.365, allocations: 5.475 MB / 0.5986 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.366, allocations: 1.603 MB / 0.6001 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/1.367, allocations: 141.2 kB / 0.6003 GB, free: 122.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.993e-06/1.367, allocations: 4 kB / 0.6003 GB, free: 122.5 MB / 446.1 MB Notification: Performance of Templates: time 0.09578/1.463, allocations: 40.21 MB / 0.6395 GB, free: 106.7 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)