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.001371/0.001371, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001119/0.001119, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04135/0.04135, allocations: 7.999 MB / 299.2 MB, free: 7.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 362 MB, free: 8.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1831, allocations: 51.21 MB / 413.2 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.01544/0.1985, allocations: 21.54 MB / 434.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009471/0.208, allocations: 5.762 MB / 440.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/0.2117, allocations: 171.5 kB / 440.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.2141, allocations: 0.8608 MB / 441.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.2166, allocations: 0.6818 MB / 442.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007641/0.2243, allocations: 4.298 MB / 446.6 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.2286, allocations: 3.282 MB / 449.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005826/0.2345, allocations: 4.114 MB / 453.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.2365, allocations: 1.363 MB / 455.3 MB, free: 344 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.2386, allocations: 1.529 MB / 456.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005555/0.2391, allocations: 372 kB / 457.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.2399, allocations: 435.9 kB / 457.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007161/0.2406, allocations: 0.8179 MB / 458.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.2422, allocations: 1.602 MB / 460 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.2467, allocations: 4.077 MB / 464.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-05/0.2467, allocations: 3.984 kB / 464.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.2468, allocations: 11.81 kB / 464.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.2469, allocations: 0 / 464.1 MB, free: 7.473 MB / 334.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.00598/0.2529, allocations: 3.153 MB / 467.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.2529, allocations: 16.02 kB / 467.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.2534, allocations: 320 kB / 467.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.2559, allocations: 1.709 MB / 469.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2561, allocations: 196.9 kB / 469.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/0.2564, allocations: 255.8 kB / 469.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.2606, allocations: 2.756 MB / 472.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.902e-05/0.2606, allocations: 23.73 kB / 472.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.2608, allocations: 107.9 kB / 472.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.261, allocations: 112 kB / 472.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.2645, allocations: 2.012 MB / 474.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.2766, allocations: 10.31 MB / 485.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2782, allocations: 0.9088 MB / 486 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.2791, allocations: 0.563 MB / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.809e-05/0.2792, allocations: 9 kB / 486.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2792, allocations: 43.56 kB / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.485e-06/0.2792, allocations: 0 / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01027/0.2895, allocations: 5.675 MB / 492.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.2895, allocations: 94.05 kB / 492.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.2918, allocations: 1.906 MB / 494.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.2919, allocations: 65.69 kB / 494.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/0.2928, allocations: 1.365 MB / 495.7 MB, free: 7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.2932, allocations: 442.2 kB / 496.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005573/0.2937, allocations: 423.5 kB / 496.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.2938, allocations: 305.1 kB / 496.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.295, allocations: 0.6992 MB / 497.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.2966, allocations: 1.578 MB / 499.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.2992, allocations: 2.165 MB / 0.4896 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.2993, allocations: 8 kB / 0.4896 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004418/0.3037, allocations: 2.754 MB / 0.4923 GB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.3037, allocations: 19.98 kB / 0.4923 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.3038, allocations: 32.91 kB / 0.4923 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.3058, allocations: 1.345 MB / 0.4936 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.307, allocations: 419.2 kB / 0.494 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3092, allocations: 1.713 MB / 0.4957 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.3108, allocations: 207.5 kB / 0.4959 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.311, allocations: 108 kB / 0.496 GB, free: 9.918 MB / 382.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.0009876/0.312, allocations: 0.6299 MB / 0.4966 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.3122, allocations: 217.2 kB / 0.4968 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.3154, allocations: 1.754 MB / 0.4985 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.3154, allocations: 19.94 kB / 0.4985 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3154, allocations: 0 / 0.4985 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3154, allocations: 3.984 kB / 0.4985 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007192/0.3226, allocations: 4.464 MB / 0.5029 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3227, allocations: 4 kB / 0.5029 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.3233, allocations: 147.8 kB / 0.5031 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.3252, allocations: 1.234 MB / 0.5043 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.3253, allocations: 35.97 kB / 0.5043 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2051/0.5304, allocations: 1.517 MB / 0.5058 GB, free: 91.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.5305, allocations: 3.266 kB / 0.5058 GB, free: 91.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/0.5359, allocations: 2.598 MB / 0.5083 GB, free: 90.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/0.5369, allocations: 421.5 kB / 0.5087 GB, free: 90.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.5374, allocations: 52.11 kB / 0.5088 GB, free: 90.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.5385, allocations: 97.3 kB / 0.5089 GB, free: 90.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/0.539, allocations: 203.8 kB / 0.5091 GB, free: 90.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.5391, allocations: 42.73 kB / 0.5091 GB, free: 90.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.5409, allocations: 1.227 MB / 0.5103 GB, free: 90.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5409, allocations: 1.375 kB / 0.5103 GB, free: 90.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001959/0.5429, allocations: 471.8 kB / 0.5107 GB, free: 90.09 MB / 382.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.0003216/0.5432, allocations: 182.5 kB / 0.5109 GB, free: 89.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.5463, allocations: 1.771 MB / 0.5126 GB, free: 89.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5464, allocations: 0 / 0.5126 GB, free: 89.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.5481, allocations: 0.8182 MB / 0.5134 GB, free: 89.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.5498, allocations: 327.6 kB / 0.5138 GB, free: 88.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.5574, allocations: 4.278 MB / 0.5179 GB, free: 86.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5584, allocations: 1.598 MB / 0.5195 GB, free: 86.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008857/0.5593, allocations: 313.2 kB / 0.5198 GB, free: 86.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5596, allocations: 134.3 kB / 0.5199 GB, free: 86.04 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5596, allocations: 4 kB / 0.5199 GB, free: 86.04 MB / 382.1 MB Notification: Performance of Templates: time 0.03835/0.598, allocations: 28.66 MB / 0.5479 GB, free: 58.41 MB / 382.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 -s cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)