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.01015/0.01016, allocations: 100.3 kB / 15.87 MB, free: 6.328 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.001929/0.001929, allocations: 196.4 kB / 16.79 MB, free: 6.254 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.796/1.796, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.3348/0.3348, allocations: 7.981 MB / 298.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.91 kB / 360.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2029, allocations: 51.2 MB / 411.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.5315/0.7345, allocations: 93.76 MB / 0.4937 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.08352/0.8181, allocations: 18.04 MB / 0.5113 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04483/0.863, allocations: 460.6 kB / 0.5118 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007064/0.8703, allocations: 0.8132 MB / 0.5125 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008656/0.879, allocations: 0.6794 MB / 0.5132 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01583/0.8949, allocations: 4.62 MB / 0.5177 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.9079, allocations: 3.65 MB / 0.5213 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.9204, allocations: 3.509 MB / 0.5247 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.9254, allocations: 1.362 MB / 0.526 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005472/0.9309, allocations: 1.677 MB / 0.5277 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.9328, allocations: 252 kB / 0.5279 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.9349, allocations: 318.1 kB / 0.5282 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.936, allocations: 0.7606 MB / 0.529 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003856/0.9399, allocations: 1.685 MB / 0.5306 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.9456, allocations: 3.69 MB / 0.5342 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.9456, allocations: 7.938 kB / 0.5342 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9456, allocations: 0 / 0.5342 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.9459, allocations: 0 / 0.5342 GB, free: 136 kB / 398.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.01122/0.9571, allocations: 3.584 MB / 0.5377 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.9572, allocations: 8.031 kB / 0.5377 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9582, allocations: 375.4 kB / 0.5381 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004394/0.9627, allocations: 1.841 MB / 0.5399 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.9629, allocations: 221.8 kB / 0.5401 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006862/0.9636, allocations: 311.7 kB / 0.5404 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007473/0.9711, allocations: 3.129 MB / 0.5435 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.9713, allocations: 31.67 kB / 0.5435 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.9716, allocations: 124 kB / 0.5436 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.9718, allocations: 131.9 kB / 0.5437 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/0.9773, allocations: 2.277 MB / 0.5459 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/1.006, allocations: 11.59 MB / 0.5573 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/1.008, allocations: 0.999 MB / 0.5582 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.01, allocations: 0.6606 MB / 0.5589 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/1.01, allocations: 13 kB / 0.5589 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.01, allocations: 51.56 kB / 0.559 GB, free: 6.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 3.927e-06/1.01, allocations: 0 / 0.559 GB, free: 6.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01799/1.028, allocations: 6.464 MB / 0.5653 GB, free: 15.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/1.028, allocations: 94.42 kB / 0.5654 GB, free: 15.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/1.034, allocations: 2.123 MB / 0.5674 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/1.034, allocations: 69.64 kB / 0.5675 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/1.036, allocations: 1.56 MB / 0.569 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009471/1.037, allocations: 493.4 kB / 0.5695 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1.039, allocations: 476.2 kB / 0.5699 GB, free: 10.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/1.039, allocations: 301.1 kB / 0.5702 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/1.041, allocations: 0.7583 MB / 0.571 GB, free: 9.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/1.043, allocations: 1.724 MB / 0.5727 GB, free: 7.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/1.048, allocations: 2.39 MB / 0.575 GB, free: 4.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/1.048, allocations: 12 kB / 0.575 GB, free: 4.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.007694/1.055, allocations: 2.948 MB / 0.5779 GB, free: 1.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/1.055, allocations: 24.81 kB / 0.5779 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.55e-05/1.056, allocations: 32 kB / 0.5779 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/1.058, allocations: 1.295 MB / 0.5792 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.396/1.454, allocations: 498.8 kB / 0.5797 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/1.458, allocations: 2.905 MB / 0.5825 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.461, allocations: 218.7 kB / 0.5827 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002944/1.461, allocations: 121.3 kB / 0.5828 GB, free: 127 MB / 446.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.0019/1.463, allocations: 0.6916 MB / 0.5835 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005842/1.464, allocations: 242.8 kB / 0.5837 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/1.467, allocations: 1.831 MB / 0.5855 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/1.467, allocations: 20.09 kB / 0.5855 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.467, allocations: 4.781 kB / 0.5856 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1.467, allocations: 6.75 kB / 0.5856 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/1.477, allocations: 4.781 MB / 0.5902 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.477, allocations: 3.875 kB / 0.5902 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/1.478, allocations: 216.1 kB / 0.5904 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/1.479, allocations: 1.179 MB / 0.5916 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.48, allocations: 46.5 kB / 0.5916 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/1.482, allocations: 2.741 MB / 0.5943 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.482, allocations: 6.531 kB / 0.5943 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/1.487, allocations: 2.737 MB / 0.597 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.489, allocations: 462.7 kB / 0.5974 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/1.489, allocations: 53.53 kB / 0.5975 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.491, allocations: 104.6 kB / 0.5976 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004728/1.491, allocations: 208 kB / 0.5978 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/1.491, allocations: 52.53 kB / 0.5978 GB, free: 120.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002282/1.493, allocations: 1.372 MB / 0.5992 GB, free: 120 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.494, allocations: 0 / 0.5992 GB, free: 120 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002674/1.496, allocations: 0.524 MB / 0.5997 GB, free: 119.9 MB / 446.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.0004871/1.497, allocations: 207.3 kB / 0.5999 GB, free: 119.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/1.501, allocations: 2.038 MB / 0.6019 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.501, allocations: 0 / 0.6019 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.502, allocations: 0.9757 MB / 0.6028 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.505, allocations: 333.2 kB / 0.6031 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.516, allocations: 6.45 MB / 0.6094 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/1.518, allocations: 1.731 MB / 0.6111 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/1.519, allocations: 158.1 kB / 0.6113 GB, free: 114 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/1.519, allocations: 0 / 0.6113 GB, free: 114 MB / 446.1 MB Notification: Performance of Templates: time 0.1031/1.622, allocations: 59.41 MB / 0.6693 GB, free: 75.05 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)