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.001717/0.001717, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.00207/0.00207, allocations: 187 kB / 17.34 MB, free: 5.742 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04348/0.04348, allocations: 7.999 MB / 299.2 MB, free: 7.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 413.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 51.21 MB / 465 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02943/0.131, allocations: 24 MB / 489 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.1457, allocations: 6.269 MB / 495.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005598/0.1514, allocations: 199.4 kB / 495.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.1549, allocations: 0.9848 MB / 496.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.159, allocations: 0.7939 MB / 497.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00951/0.1685, allocations: 4.661 MB / 0.4901 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006841/0.1754, allocations: 3.82 MB / 0.4938 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00995/0.1854, allocations: 4.728 MB / 0.4985 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.189, allocations: 1.577 MB / 0.5 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.1923, allocations: 1.75 MB / 0.5017 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.1936, allocations: 432 kB / 0.5021 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1952, allocations: 495.9 kB / 0.5026 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.1966, allocations: 0.9308 MB / 0.5035 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2309/0.4275, allocations: 1.852 MB / 0.5053 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006894/0.4345, allocations: 4.737 MB / 0.5099 GB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4345, allocations: 0 / 0.5099 GB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4345, allocations: 0 / 0.5099 GB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.4348, allocations: 0 / 0.5099 GB, free: 11.69 MB / 382.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.0104/0.4452, allocations: 3.594 MB / 0.5135 GB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4452, allocations: 9.625 kB / 0.5135 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.4462, allocations: 370.2 kB / 0.5138 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.4499, allocations: 1.905 MB / 0.5157 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.4502, allocations: 223.7 kB / 0.5159 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/0.4508, allocations: 301.8 kB / 0.5162 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/0.4579, allocations: 3.133 MB / 0.5192 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.4581, allocations: 25.25 kB / 0.5193 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.4584, allocations: 124.9 kB / 0.5194 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.4585, allocations: 130.2 kB / 0.5195 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.4635, allocations: 2.276 MB / 0.5217 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.4803, allocations: 11.49 MB / 0.5329 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.4821, allocations: 0.9883 MB / 0.5339 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.4832, allocations: 0.6661 MB / 0.5346 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.4833, allocations: 19.31 kB / 0.5346 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4833, allocations: 53.03 kB / 0.5346 GB, free: 1.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.787e-06/0.4833, allocations: 0 / 0.5346 GB, free: 1.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01378/0.4971, allocations: 6.458 MB / 0.5409 GB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4972, allocations: 95.95 kB / 0.541 GB, free: 12.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.5005, allocations: 2.128 MB / 0.5431 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.5009, allocations: 73.94 kB / 0.5432 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.5023, allocations: 1.553 MB / 0.5447 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.5029, allocations: 493.5 kB / 0.5452 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.5036, allocations: 471.9 kB / 0.5456 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.5037, allocations: 301.1 kB / 0.5459 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.5052, allocations: 0.7585 MB / 0.5466 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.5072, allocations: 1.732 MB / 0.5483 GB, free: 7.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.5103, allocations: 2.383 MB / 0.5507 GB, free: 5.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.5103, allocations: 12 kB / 0.5507 GB, free: 5.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005574/0.5159, allocations: 2.95 MB / 0.5536 GB, free: 2.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.516, allocations: 24.25 kB / 0.5536 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/0.516, allocations: 32 kB / 0.5536 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.518, allocations: 1.298 MB / 0.5549 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.5196, allocations: 497.1 kB / 0.5554 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.5228, allocations: 3.01 MB / 0.5583 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.5252, allocations: 215.5 kB / 0.5585 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.5256, allocations: 124 kB / 0.5586 GB, free: 13.26 MB / 414.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.001754/0.5274, allocations: 0.6929 MB / 0.5593 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/0.528, allocations: 248.8 kB / 0.5595 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.5319, allocations: 1.831 MB / 0.5613 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5319, allocations: 12 kB / 0.5613 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.532, allocations: 7.188 kB / 0.5613 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.532, allocations: 7.969 kB / 0.5613 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009601/0.5416, allocations: 4.747 MB / 0.566 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5416, allocations: 4 kB / 0.566 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/0.5426, allocations: 217.3 kB / 0.5662 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.5444, allocations: 1.175 MB / 0.5673 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.5445, allocations: 47.95 kB / 0.5674 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.5476, allocations: 2.829 MB / 0.5701 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5476, allocations: 0 / 0.5701 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.5524, allocations: 2.754 MB / 0.5728 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.5536, allocations: 453.9 kB / 0.5733 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006759/0.5543, allocations: 52 kB / 0.5733 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.5557, allocations: 112 kB / 0.5734 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/0.5562, allocations: 208.9 kB / 0.5736 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5563, allocations: 55.95 kB / 0.5737 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002605/0.559, allocations: 1.368 MB / 0.575 GB, free: 12.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.559, allocations: 0 / 0.575 GB, free: 12.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002721/0.5617, allocations: 0.5345 MB / 0.5755 GB, free: 11.7 MB / 430.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.0005423/0.5623, allocations: 194.2 kB / 0.5757 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004042/0.5663, allocations: 2.034 MB / 0.5777 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.5663, allocations: 4.875 kB / 0.5777 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.5683, allocations: 0.99 MB / 0.5787 GB, free: 8.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.5716, allocations: 356.9 kB / 0.579 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.5832, allocations: 5.161 MB / 0.5841 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.5851, allocations: 1.739 MB / 0.5858 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.5857, allocations: 163.4 kB / 0.5859 GB, free: 1.137 MB / 430.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5858, allocations: 0 / 0.5859 GB, free: 1.137 MB / 430.1 MB Notification: Performance of Templates: time 0.07226/0.658, allocations: 59.75 MB / 0.6443 GB, free: 5.422 MB / 494.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)