Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.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.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") translateModel(VehicleInterfaces.Examples.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 182 kB / 15.98 MB, free: 5.762 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.242/1.242, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 104.8 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04002/0.04002, allocations: 7.979 MB / 348 MB, free: 1.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009957/0.0009958, allocations: 60.75 kB / 410 MB, free: 58.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07586/0.07687, allocations: 51.2 MB / 461.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.2492/0.3261, allocations: 93.76 MB / 0.5419 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04144/0.3675, allocations: 18.04 MB / 0.5595 GB, free: 10.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0205/0.3881, allocations: 454.9 kB / 0.56 GB, free: 10.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.3915, allocations: 0.8115 MB / 0.5608 GB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.3952, allocations: 0.6747 MB / 0.5614 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008505/0.4037, allocations: 4.634 MB / 0.5659 GB, free: 3.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005374/0.4091, allocations: 3.708 MB / 0.5696 GB, free: 224 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006917/0.416, allocations: 3.499 MB / 0.573 GB, free: 12.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.4184, allocations: 1.385 MB / 0.5743 GB, free: 11.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.421, allocations: 1.657 MB / 0.576 GB, free: 9.605 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.4222, allocations: 256 kB / 0.5762 GB, free: 9.355 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4235, allocations: 323.9 kB / 0.5765 GB, free: 9.039 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.4249, allocations: 0.7628 MB / 0.5773 GB, free: 8.273 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002645/0.4275, allocations: 1.686 MB / 0.5789 GB, free: 6.578 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005684/0.4332, allocations: 4.509 MB / 0.5833 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4333, allocations: 0 / 0.5833 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4333, allocations: 0 / 0.5833 GB, free: 2.055 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001997/0.4335, allocations: 0 / 0.5833 GB, free: 2.055 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.008457/0.442, allocations: 3.588 MB / 0.5868 GB, free: 14.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.442, allocations: 12.88 kB / 0.5868 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.4426, allocations: 371.4 kB / 0.5872 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.4452, allocations: 1.841 MB / 0.589 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4454, allocations: 225.8 kB / 0.5892 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.4458, allocations: 311.6 kB / 0.5895 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.4505, allocations: 3.125 MB / 0.5925 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.4507, allocations: 31.73 kB / 0.5926 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.4509, allocations: 120 kB / 0.5927 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.451, allocations: 135.8 kB / 0.5928 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.4551, allocations: 2.277 MB / 0.595 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/0.4707, allocations: 11.6 MB / 0.6064 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.4725, allocations: 0.9977 MB / 0.6073 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4736, allocations: 0.6741 MB / 0.608 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.4737, allocations: 13 kB / 0.608 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4737, allocations: 47.56 kB / 0.608 GB, free: 8.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 3.106e-06/0.4737, allocations: 0 / 0.608 GB, free: 8.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.01248/0.4862, allocations: 6.455 MB / 0.6144 GB, free: 1.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.4863, allocations: 102.3 kB / 0.6144 GB, free: 1.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.4889, allocations: 2.123 MB / 0.6165 GB, free: 15.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.489, allocations: 69.69 kB / 0.6166 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4901, allocations: 1.556 MB / 0.6181 GB, free: 13.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.4905, allocations: 497.4 kB / 0.6186 GB, free: 13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005801/0.491, allocations: 476.2 kB / 0.619 GB, free: 12.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.4911, allocations: 301.1 kB / 0.6193 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.4924, allocations: 0.7583 MB / 0.6201 GB, free: 11.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.4941, allocations: 1.724 MB / 0.6217 GB, free: 9.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.4969, allocations: 2.391 MB / 0.6241 GB, free: 6.438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.497, allocations: 8 kB / 0.6241 GB, free: 6.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.004819/0.5018, allocations: 2.945 MB / 0.627 GB, free: 3.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.5018, allocations: 22.97 kB / 0.627 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.5019, allocations: 32.91 kB / 0.627 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.5038, allocations: 1.299 MB / 0.6283 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.5052, allocations: 0.4914 MB / 0.6288 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.5081, allocations: 2.911 MB / 0.6316 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5101, allocations: 211.5 kB / 0.6318 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.5103, allocations: 124 kB / 0.6319 GB, free: 14.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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,accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1],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],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,29)} Notification: Performance of prepare postOptimizeDAE: time 0.001216/0.5115, allocations: 0.6929 MB / 0.6326 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.5119, allocations: 248.8 kB / 0.6328 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.5152, allocations: 1.828 MB / 0.6346 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.5152, allocations: 16 kB / 0.6346 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5152, allocations: 0 / 0.6346 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5152, allocations: 7.969 kB / 0.6347 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007565/0.5228, allocations: 4.789 MB / 0.6393 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5229, allocations: 4 kB / 0.6393 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.5237, allocations: 207.8 kB / 0.6395 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.5254, allocations: 1.179 MB / 0.6407 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/0.5255, allocations: 47.95 kB / 0.6407 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.5281, allocations: 2.737 MB / 0.6434 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5282, allocations: 4.062 kB / 0.6434 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1974/0.7256, allocations: 20.75 MB / 0.6637 GB, free: 152.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/0.7262, allocations: 462.4 kB / 0.6641 GB, free: 152.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.7265, allocations: 62.88 kB / 0.6642 GB, free: 152.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008881/0.7274, allocations: 97.92 kB / 0.6643 GB, free: 152.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/0.7279, allocations: 213.1 kB / 0.6645 GB, free: 152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.728, allocations: 53.22 kB / 0.6645 GB, free: 152 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001929/0.73, allocations: 1.367 MB / 0.6659 GB, free: 151.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.73, allocations: 0 / 0.6659 GB, free: 151.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002621/0.7326, allocations: 0.7545 MB / 0.6666 GB, free: 151.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (chassis.body.s,chassis.dragForces.v_rel,engine.end_1.zeroTorque1D.phi,accessories.inertia.w,motor1.inductor.i,motor2.inductor.i) * 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_4.mode,brakes.brake_4.startForward,brakes.brake_4.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_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003588/0.733, allocations: 223.4 kB / 0.6668 GB, free: 151.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.7361, allocations: 2.035 MB / 0.6688 GB, free: 150.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7361, allocations: 0 / 0.6688 GB, free: 150.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.7376, allocations: 0.9813 MB / 0.6697 GB, free: 150.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.7392, allocations: 340.5 kB / 0.6701 GB, free: 149.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.7485, allocations: 7.467 MB / 0.6774 GB, free: 145.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7496, allocations: 1.789 MB / 0.6791 GB, free: 144 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001131/0.7508, allocations: 365.3 kB / 0.6795 GB, free: 143.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.7511, allocations: 155.4 kB / 0.6796 GB, free: 143.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7511, allocations: 0 / 0.6796 GB, free: 143.5 MB / 458.7 MB Notification: Performance of Templates: time 0.04543/0.7965, allocations: 35.86 MB / 0.7146 GB, free: 107.8 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)