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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.00122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1887/0.1887, allocations: 7.983 MB / 298.4 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 55.91 kB / 360.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 51.21 MB / 411.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.2642/0.3797, allocations: 24 MB / 435.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.3927, allocations: 6.263 MB / 442.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005495/0.3982, allocations: 192.6 kB / 442.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.4013, allocations: 0.9859 MB / 443.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.4045, allocations: 0.7927 MB / 444 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007928/0.4124, allocations: 4.664 MB / 448.7 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.4174, allocations: 3.794 MB / 452.5 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006409/0.4238, allocations: 4.721 MB / 457.2 MB, free: 20.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.4261, allocations: 1.557 MB / 458.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.428, allocations: 1.745 MB / 460.5 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.4286, allocations: 432 kB / 460.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008054/0.4294, allocations: 494.3 kB / 461.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.43, allocations: 0.9232 MB / 462.3 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.4316, allocations: 1.857 MB / 464.2 MB, free: 16.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.436, allocations: 4.698 MB / 468.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.436, allocations: 0 / 468.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.436, allocations: 0 / 468.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.4361, allocations: 0 / 468.9 MB, free: 14.55 MB / 350.1 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.006109/0.4422, allocations: 3.585 MB / 472.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4423, allocations: 9.5 kB / 472.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/0.4429, allocations: 378.9 kB / 472.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.4454, allocations: 1.85 MB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4456, allocations: 225.4 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004203/0.446, allocations: 300.9 kB / 475.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.4509, allocations: 3.123 MB / 478.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.994e-05/0.4511, allocations: 31.44 kB / 478.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.4513, allocations: 122.7 kB / 478.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.4514, allocations: 129.2 kB / 478.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/0.4557, allocations: 2.277 MB / 480.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.473, allocations: 11.6 MB / 492.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.4747, allocations: 0.9943 MB / 493.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.4758, allocations: 0.6676 MB / 494.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.4759, allocations: 13.67 kB / 494.2 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.476, allocations: 45.39 kB / 494.2 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=119): time 3.256e-06/0.476, allocations: 7.875 kB / 494.2 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01362/0.4896, allocations: 6.46 MB / 0.489 GB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.4897, allocations: 93.02 kB / 0.489 GB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.4928, allocations: 2.12 MB / 0.4911 GB, free: 11.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.493, allocations: 73.69 kB / 0.4912 GB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.4944, allocations: 1.556 MB / 0.4927 GB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/0.4949, allocations: 497.4 kB / 0.4932 GB, free: 9.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/0.4955, allocations: 472.3 kB / 0.4936 GB, free: 8.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4956, allocations: 305.1 kB / 0.4939 GB, free: 8.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.4969, allocations: 0.7583 MB / 0.4947 GB, free: 7.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.4989, allocations: 1.728 MB / 0.4963 GB, free: 5.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.5021, allocations: 2.391 MB / 0.4987 GB, free: 2.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.5021, allocations: 8 kB / 0.4987 GB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.004981/0.5071, allocations: 2.946 MB / 0.5016 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.5071, allocations: 16 kB / 0.5016 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.5072, allocations: 32 kB / 0.5016 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.5092, allocations: 1.307 MB / 0.5029 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.5106, allocations: 495.2 kB / 0.5034 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.5141, allocations: 3.025 MB / 0.5063 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.5165, allocations: 211.5 kB / 0.5065 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.5167, allocations: 123.9 kB / 0.5066 GB, free: 10.26 MB / 382.1 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.001515/0.5182, allocations: 0.7001 MB / 0.5073 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/0.5187, allocations: 244.8 kB / 0.5076 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.5223, allocations: 1.832 MB / 0.5093 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.5223, allocations: 19.94 kB / 0.5094 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5223, allocations: 0 / 0.5094 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5223, allocations: 7.969 kB / 0.5094 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/0.5312, allocations: 4.782 MB / 0.514 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.5312, allocations: 4 kB / 0.514 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008683/0.5321, allocations: 211.7 kB / 0.5142 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.5339, allocations: 1.179 MB / 0.5154 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.534, allocations: 47.95 kB / 0.5154 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.537, allocations: 2.834 MB / 0.5182 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.537, allocations: 3.938 kB / 0.5182 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/0.5417, allocations: 2.739 MB / 0.5209 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.5428, allocations: 457.9 kB / 0.5213 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.5431, allocations: 55.94 kB / 0.5214 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5441, allocations: 107.9 kB / 0.5215 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.5446, allocations: 208.9 kB / 0.5217 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/0.5447, allocations: 59.89 kB / 0.5217 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.5466, allocations: 1.366 MB / 0.5231 GB, free: 9.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5467, allocations: 4 kB / 0.5231 GB, free: 9.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00188/0.5485, allocations: 0.5312 MB / 0.5236 GB, free: 8.496 MB / 398.1 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.000352/0.5489, allocations: 193.8 kB / 0.5238 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004511/0.5534, allocations: 2.079 MB / 0.5258 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5534, allocations: 0.75 kB / 0.5258 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.5552, allocations: 0.9973 MB / 0.5268 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.5573, allocations: 363.1 kB / 0.5271 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/0.5664, allocations: 5.139 MB / 0.5321 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.5678, allocations: 1.735 MB / 0.5338 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.5689, allocations: 354.5 kB / 0.5342 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.5693, allocations: 151.3 kB / 0.5343 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5693, allocations: 4 kB / 0.5343 GB, free: 13.42 MB / 414.1 MB Notification: Performance of Templates: time 0.04967/0.6189, allocations: 30.41 MB / 0.564 GB, free: 15.14 MB / 446.1 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)