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.001229/0.001229, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001334/0.001334, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04091/0.04092, allocations: 8.003 MB / 299.2 MB, free: 7.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 362 MB, free: 8.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1796, allocations: 51.21 MB / 413.3 MB, free: 26.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.ConventionalVehicle_AltNames): time 0.01557/0.1953, allocations: 21.53 MB / 434.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009552/0.2049, allocations: 5.76 MB / 440.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/0.2085, allocations: 175.5 kB / 440.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.2107, allocations: 0.8609 MB / 441.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.2131, allocations: 0.6856 MB / 442.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007096/0.2202, allocations: 4.29 MB / 446.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.224, allocations: 3.286 MB / 449.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005592/0.2296, allocations: 4.114 MB / 454 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2314, allocations: 1.359 MB / 455.3 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2336, allocations: 1.533 MB / 456.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000782/0.2344, allocations: 372 kB / 457.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.2354, allocations: 431.9 kB / 457.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.2361, allocations: 0.8178 MB / 458.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.2374, allocations: 1.605 MB / 460.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.2406, allocations: 4.077 MB / 464.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2406, allocations: 0 / 464.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2406, allocations: 0 / 464.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.045e-05/0.2406, allocations: 4 kB / 464.1 MB, free: 7.496 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.004791/0.2454, allocations: 3.161 MB / 467.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2455, allocations: 8.031 kB / 467.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.2459, allocations: 328 kB / 467.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.2482, allocations: 1.706 MB / 469.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2483, allocations: 192.9 kB / 469.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.2486, allocations: 263.8 kB / 469.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.2525, allocations: 2.748 MB / 472.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.194e-05/0.2526, allocations: 27.73 kB / 472.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.2528, allocations: 104 kB / 472.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.2529, allocations: 123.9 kB / 472.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.2562, allocations: 2.008 MB / 474.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.2675, allocations: 10.3 MB / 485.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.2689, allocations: 0.9166 MB / 486 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.2698, allocations: 0.5591 MB / 486.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.084e-05/0.2699, allocations: 12.98 kB / 486.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2699, allocations: 59.44 kB / 486.6 MB, free: 320 kB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.395e-06/0.2699, allocations: 0 / 486.6 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009812/0.2797, allocations: 5.66 MB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2798, allocations: 94.09 kB / 492.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.2819, allocations: 1.903 MB / 494.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.2821, allocations: 65.7 kB / 494.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/0.283, allocations: 1.376 MB / 495.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.2833, allocations: 438.3 kB / 496.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005376/0.2839, allocations: 427.5 kB / 496.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.2839, allocations: 305.1 kB / 496.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2851, allocations: 0.6992 MB / 497.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.2867, allocations: 1.582 MB / 499.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.2892, allocations: 2.162 MB / 0.4896 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.2892, allocations: 11.94 kB / 0.4896 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004396/0.2936, allocations: 2.751 MB / 0.4923 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.2936, allocations: 16 kB / 0.4923 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.2937, allocations: 32 kB / 0.4923 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/0.2957, allocations: 1.345 MB / 0.4936 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.2968, allocations: 419.2 kB / 0.494 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.2989, allocations: 1.717 MB / 0.4957 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.3005, allocations: 203.5 kB / 0.4959 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.3007, allocations: 112 kB / 0.496 GB, free: 9.934 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.0009908/0.3017, allocations: 0.63 MB / 0.4966 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.302, allocations: 213.3 kB / 0.4968 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.3049, allocations: 1.75 MB / 0.4985 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.305, allocations: 19.92 kB / 0.4985 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.305, allocations: 0 / 0.4985 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.305, allocations: 3.984 kB / 0.4986 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006717/0.3117, allocations: 4.468 MB / 0.5029 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3117, allocations: 0 / 0.5029 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.3123, allocations: 155.8 kB / 0.5031 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.3143, allocations: 1.227 MB / 0.5043 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.3144, allocations: 43.95 kB / 0.5043 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1393/0.4537, allocations: 1.516 MB / 0.5058 GB, free: 91.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4537, allocations: 1.906 kB / 0.5058 GB, free: 91.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.4577, allocations: 2.596 MB / 0.5083 GB, free: 90.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000638/0.4583, allocations: 418.8 kB / 0.5087 GB, free: 90.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.4586, allocations: 53.05 kB / 0.5088 GB, free: 90.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4594, allocations: 94.7 kB / 0.5089 GB, free: 90.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/0.4598, allocations: 195.7 kB / 0.509 GB, free: 90.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.4599, allocations: 54.39 kB / 0.5091 GB, free: 90.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001382/0.4613, allocations: 1.225 MB / 0.5103 GB, free: 90.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4613, allocations: 2.25 kB / 0.5103 GB, free: 90.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001339/0.4626, allocations: 465.2 kB / 0.5107 GB, free: 90.14 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.0002558/0.4629, allocations: 193.9 kB / 0.5109 GB, free: 90.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.4656, allocations: 1.764 MB / 0.5126 GB, free: 89.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4656, allocations: 0.5 kB / 0.5127 GB, free: 89.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.4671, allocations: 0.8141 MB / 0.5134 GB, free: 89.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4686, allocations: 337.7 kB / 0.5138 GB, free: 88.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.4754, allocations: 4.273 MB / 0.5179 GB, free: 86.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.4765, allocations: 1.607 MB / 0.5195 GB, free: 86.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007441/0.4772, allocations: 310.8 kB / 0.5198 GB, free: 86.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.4775, allocations: 132.5 kB / 0.5199 GB, free: 86.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4775, allocations: 0 / 0.5199 GB, free: 86.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03311/0.5106, allocations: 28.66 MB / 0.5479 GB, free: 58.45 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)