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/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 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.001503/0.001503, allocations: 102.6 kB / 16.29 MB, free: 6.43 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.001709/0.001709, allocations: 189.4 kB / 17.22 MB, free: 5.926 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04161/0.04161, allocations: 7.986 MB / 299 MB, free: 7.156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 361.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, allocations: 51.21 MB / 412.5 MB, free: 26.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.01652/0.2263, allocations: 21.55 MB / 434 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.2364, allocations: 5.744 MB / 439.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005861/0.2423, allocations: 171.5 kB / 440 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.245, allocations: 0.8648 MB / 440.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.2479, allocations: 0.6856 MB / 441.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008136/0.256, allocations: 4.287 MB / 445.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004686/0.2607, allocations: 3.259 MB / 449.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006147/0.2669, allocations: 4.13 MB / 453.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.2687, allocations: 1.351 MB / 454.5 MB, free: 344 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.2703, allocations: 1.525 MB / 456.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004251/0.2707, allocations: 368 kB / 456.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.2713, allocations: 443.7 kB / 456.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.2719, allocations: 0.8101 MB / 457.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.2732, allocations: 1.602 MB / 459.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.2767, allocations: 4.081 MB / 463.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2767, allocations: 0 / 463.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2767, allocations: 3.938 kB / 463.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.445e-05/0.2768, allocations: 0 / 463.3 MB, free: 7.488 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.005028/0.2818, allocations: 3.157 MB / 466.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2819, allocations: 12.03 kB / 466.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.2823, allocations: 323.9 kB / 466.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.2844, allocations: 1.659 MB / 468.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.2846, allocations: 192.9 kB / 468.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.2849, allocations: 267.8 kB / 468.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.289, allocations: 2.748 MB / 471.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.2891, allocations: 23.8 kB / 471.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.2893, allocations: 108 kB / 471.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.2894, allocations: 119.9 kB / 471.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.293, allocations: 2.004 MB / 473.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.305, allocations: 10.31 MB / 484.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3065, allocations: 0.9127 MB / 485.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/0.3074, allocations: 0.563 MB / 485.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.3075, allocations: 12.94 kB / 485.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3075, allocations: 43.56 kB / 485.8 MB, free: 376 kB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.775e-06/0.3075, allocations: 0 / 485.8 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.0108/0.3183, allocations: 5.671 MB / 491.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3184, allocations: 90.11 kB / 491.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.3212, allocations: 1.906 MB / 493.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3213, allocations: 65.69 kB / 493.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.3225, allocations: 1.372 MB / 494.9 MB, free: 7.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.3228, allocations: 438.2 kB / 495.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/0.3234, allocations: 423.5 kB / 495.7 MB, free: 6.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.3235, allocations: 309.1 kB / 496 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.3247, allocations: 0.6992 MB / 496.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3264, allocations: 1.578 MB / 498.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/0.3289, allocations: 2.17 MB / 0.4887 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.3289, allocations: 8 kB / 0.4888 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004396/0.3334, allocations: 2.747 MB / 0.4914 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3334, allocations: 16 kB / 0.4915 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.3334, allocations: 32.09 kB / 0.4915 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.3355, allocations: 1.352 MB / 0.4928 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3367, allocations: 411.3 kB / 0.4932 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.3388, allocations: 1.717 MB / 0.4949 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.3404, allocations: 211.5 kB / 0.4951 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.3406, allocations: 104 kB / 0.4952 GB, free: 9.984 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.0009975/0.3416, allocations: 0.6299 MB / 0.4958 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.3419, allocations: 221.3 kB / 0.496 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.3449, allocations: 1.746 MB / 0.4977 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.345, allocations: 19.94 kB / 0.4977 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.345, allocations: 0 / 0.4977 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.345, allocations: 3.984 kB / 0.4977 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.352, allocations: 4.489 MB / 0.5021 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.352, allocations: 7.938 kB / 0.5021 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.3526, allocations: 155.9 kB / 0.5023 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.3544, allocations: 1.227 MB / 0.5035 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/0.3545, allocations: 35.97 kB / 0.5035 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1764/0.5309, allocations: 1.516 MB / 0.505 GB, free: 91.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.531, allocations: 2.969 kB / 0.505 GB, free: 91.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/0.5364, allocations: 2.591 MB / 0.5075 GB, free: 90.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.5375, allocations: 427.8 kB / 0.5079 GB, free: 90.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/0.5382, allocations: 49.19 kB / 0.508 GB, free: 90.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.5394, allocations: 93.53 kB / 0.5081 GB, free: 90.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/0.5399, allocations: 202.8 kB / 0.5082 GB, free: 90.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.54, allocations: 47.17 kB / 0.5083 GB, free: 90.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002182/0.5422, allocations: 1.226 MB / 0.5095 GB, free: 90.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5422, allocations: 1.781 kB / 0.5095 GB, free: 90.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002/0.5442, allocations: 466.2 kB / 0.5099 GB, free: 90.17 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.000375/0.5446, allocations: 186.4 kB / 0.5101 GB, free: 90.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.548, allocations: 1.77 MB / 0.5118 GB, free: 89.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.548, allocations: 0.8438 kB / 0.5118 GB, free: 89.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.5499, allocations: 0.819 MB / 0.5126 GB, free: 89.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.552, allocations: 331.3 kB / 0.513 GB, free: 88.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/0.5598, allocations: 4.262 MB / 0.5171 GB, free: 86.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.5608, allocations: 1.617 MB / 0.5187 GB, free: 86.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007996/0.5616, allocations: 312.8 kB / 0.519 GB, free: 86.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.5618, allocations: 129.1 kB / 0.5191 GB, free: 86.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5618, allocations: 0 / 0.5191 GB, free: 86.14 MB / 382.1 MB Notification: Performance of Templates: time 0.03752/0.5994, allocations: 28.66 MB / 0.5471 GB, free: 58.47 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 gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)