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.00168/0.00168, allocations: 110.5 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.00196/0.00196, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.667/1.667, 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.04728/0.04728, allocations: 8.008 MB / 299.2 MB, free: 7.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.88 kB / 413.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09915, allocations: 51.22 MB / 465 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02939/0.1285, allocations: 24.12 MB / 489.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1435, allocations: 6.28 MB / 495.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005962/0.1495, allocations: 195.4 kB / 495.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.1532, allocations: 1.004 MB / 496.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.1571, allocations: 0.8212 MB / 497.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009813/0.1669, allocations: 4.676 MB / 0.4903 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006914/0.1738, allocations: 3.769 MB / 0.494 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007268/0.1811, allocations: 3.842 MB / 0.4977 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.1837, allocations: 1.585 MB / 0.4993 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.1868, allocations: 1.739 MB / 0.501 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009359/0.1877, allocations: 432 kB / 0.5014 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1888, allocations: 0.4921 MB / 0.5019 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008946/0.1897, allocations: 0.9307 MB / 0.5028 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2697/0.4594, allocations: 1.857 MB / 0.5046 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.4662, allocations: 4.758 MB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4662, allocations: 0.6094 kB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4662, allocations: 0 / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001828/0.4664, allocations: 0 / 0.5093 GB, free: 11.68 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.008118/0.4745, allocations: 3.686 MB / 0.5129 GB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4746, allocations: 9.406 kB / 0.5129 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.4752, allocations: 389.8 kB / 0.5132 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.4781, allocations: 1.924 MB / 0.5151 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.4782, allocations: 218.5 kB / 0.5153 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.4787, allocations: 308.8 kB / 0.5156 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005787/0.4844, allocations: 3.125 MB / 0.5187 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.4846, allocations: 28.53 kB / 0.5187 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.4849, allocations: 125.7 kB / 0.5188 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.485, allocations: 129.8 kB / 0.5189 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.4892, allocations: 2.277 MB / 0.5212 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.5032, allocations: 11.54 MB / 0.5324 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5046, allocations: 0.9361 MB / 0.5334 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/0.5056, allocations: 0.6151 MB / 0.534 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.5056, allocations: 20.66 kB / 0.534 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.5057, allocations: 51.67 kB / 0.534 GB, free: 1.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.655e-06/0.5057, allocations: 0 / 0.534 GB, free: 1.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01307/0.5187, allocations: 6.533 MB / 0.5404 GB, free: 13.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.5188, allocations: 90.48 kB / 0.5405 GB, free: 13.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.5217, allocations: 2.124 MB / 0.5426 GB, free: 12.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.5218, allocations: 72.84 kB / 0.5426 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.5233, allocations: 1.6 MB / 0.5442 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.5238, allocations: 0.5025 MB / 0.5447 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000682/0.5244, allocations: 476.8 kB / 0.5451 GB, free: 10 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5246, allocations: 304.3 kB / 0.5454 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.5259, allocations: 0.7561 MB / 0.5462 GB, free: 9.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.528, allocations: 1.731 MB / 0.5479 GB, free: 7.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.531, allocations: 2.387 MB / 0.5502 GB, free: 5.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.531, allocations: 9.938 kB / 0.5502 GB, free: 5.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005383/0.5364, allocations: 2.942 MB / 0.5531 GB, free: 3.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.5365, allocations: 23.98 kB / 0.5531 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/0.5365, allocations: 32 kB / 0.5531 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5387, allocations: 1.296 MB / 0.5544 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.5404, allocations: 0.4922 MB / 0.5549 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.544, allocations: 3.014 MB / 0.5578 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.5463, allocations: 219.7 kB / 0.558 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.5465, allocations: 120 kB / 0.5581 GB, free: 14 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.001443/0.548, allocations: 0.6928 MB / 0.5588 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.5484, allocations: 254.3 kB / 0.5591 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.5523, allocations: 1.812 MB / 0.5608 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.5523, allocations: 14.62 kB / 0.5608 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5523, allocations: 7.094 kB / 0.5608 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5523, allocations: 11.97 kB / 0.5609 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009328/0.5616, allocations: 4.728 MB / 0.5655 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.5616, allocations: 6.625 kB / 0.5655 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.5626, allocations: 209.6 kB / 0.5657 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.5646, allocations: 1.182 MB / 0.5668 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.5647, allocations: 47.95 kB / 0.5669 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.5681, allocations: 2.829 MB / 0.5696 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5681, allocations: 0 / 0.5696 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.5732, allocations: 2.745 MB / 0.5723 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.5745, allocations: 467.3 kB / 0.5728 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.5748, allocations: 52 kB / 0.5728 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.5759, allocations: 107.9 kB / 0.5729 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/0.5763, allocations: 212.3 kB / 0.5731 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.5765, allocations: 51.95 kB / 0.5732 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00226/0.5787, allocations: 1.362 MB / 0.5745 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5787, allocations: 4 kB / 0.5745 GB, free: 13.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002398/0.5811, allocations: 0.5312 MB / 0.575 GB, free: 12.48 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.0004537/0.5816, allocations: 200.6 kB / 0.5752 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.5856, allocations: 1.941 MB / 0.5771 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5856, allocations: 2.625 kB / 0.5771 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.5875, allocations: 0.927 MB / 0.578 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5897, allocations: 361.2 kB / 0.5784 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.5998, allocations: 5.167 MB / 0.5834 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.6015, allocations: 1.733 MB / 0.5851 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001112/0.6026, allocations: 346.5 kB / 0.5854 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6029, allocations: 151.4 kB / 0.5856 GB, free: 1.742 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.603, allocations: 0 / 0.5856 GB, free: 1.742 MB / 430.1 MB Notification: Performance of Templates: time 0.06205/0.665, allocations: 31.23 MB / 0.6161 GB, free: 2.762 MB / 462.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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)