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.006639/0.006639, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001415/0.001415, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04353/0.04353, allocations: 8.001 MB / 298.5 MB, free: 7.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 72.03 kB / 413.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09595, allocations: 51.21 MB / 464.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.0253/0.1213, allocations: 24.01 MB / 488.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1349, allocations: 6.272 MB / 494.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004664/0.1396, allocations: 191.4 kB / 494.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.1429, allocations: 0.9848 MB / 495.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004556/0.1476, allocations: 0.7939 MB / 496.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.1589, allocations: 4.661 MB / 0.4894 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006933/0.1658, allocations: 3.816 MB / 0.4932 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007499/0.1734, allocations: 4.732 MB / 0.4978 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.1761, allocations: 1.569 MB / 0.4993 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.1793, allocations: 1.754 MB / 0.501 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.1803, allocations: 432 kB / 0.5015 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1815, allocations: 491.9 kB / 0.5019 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009587/0.1824, allocations: 0.9347 MB / 0.5028 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2631/0.4455, allocations: 1.848 MB / 0.5046 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.4523, allocations: 4.739 MB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4524, allocations: 1.156 kB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4524, allocations: 0.625 kB / 0.5093 GB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.4526, allocations: 1.031 kB / 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.009341/0.4619, allocations: 3.59 MB / 0.5128 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.462, allocations: 9.469 kB / 0.5128 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.4628, allocations: 371.1 kB / 0.5131 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.4661, allocations: 1.915 MB / 0.515 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.4663, allocations: 221.7 kB / 0.5152 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/0.4668, allocations: 302.8 kB / 0.5155 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007084/0.4739, allocations: 3.127 MB / 0.5186 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.474, allocations: 27.89 kB / 0.5186 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.4743, allocations: 121.9 kB / 0.5187 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.4745, allocations: 133.7 kB / 0.5188 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/0.4793, allocations: 2.281 MB / 0.5211 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.4943, allocations: 11.49 MB / 0.5323 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4959, allocations: 0.9887 MB / 0.5333 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.4969, allocations: 0.6664 MB / 0.5339 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.4969, allocations: 17.14 kB / 0.5339 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.497, allocations: 45.53 kB / 0.534 GB, free: 1.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.487e-06/0.497, allocations: 0 / 0.534 GB, free: 1.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01336/0.5103, allocations: 6.469 MB / 0.5403 GB, free: 13.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5104, allocations: 91.45 kB / 0.5404 GB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.5136, allocations: 2.128 MB / 0.5424 GB, free: 11.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.5138, allocations: 73.16 kB / 0.5425 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.5154, allocations: 1.546 MB / 0.544 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.516, allocations: 0.4933 MB / 0.5445 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007192/0.5167, allocations: 466 kB / 0.5449 GB, free: 9.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5169, allocations: 305.1 kB / 0.5452 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.5182, allocations: 0.7578 MB / 0.546 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.5201, allocations: 1.732 MB / 0.5477 GB, free: 7.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.5231, allocations: 2.383 MB / 0.55 GB, free: 5.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.5231, allocations: 8 kB / 0.55 GB, free: 5.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005214/0.5283, allocations: 2.948 MB / 0.5529 GB, free: 2.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.5284, allocations: 20 kB / 0.5529 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.306e-05/0.5285, allocations: 34.19 kB / 0.5529 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.5305, allocations: 1.304 MB / 0.5542 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.5323, allocations: 499 kB / 0.5547 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.5357, allocations: 3.02 MB / 0.5576 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.5383, allocations: 215.4 kB / 0.5578 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/0.5386, allocations: 124 kB / 0.558 GB, free: 13.23 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.001953/0.5406, allocations: 0.6884 MB / 0.5586 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006631/0.5413, allocations: 244.8 kB / 0.5589 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.5465, allocations: 1.838 MB / 0.5607 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.5466, allocations: 16 kB / 0.5607 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5466, allocations: 0 / 0.5607 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.5466, allocations: 7.969 kB / 0.5607 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5595, allocations: 4.753 MB / 0.5653 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5596, allocations: 0 / 0.5653 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.5609, allocations: 209.7 kB / 0.5655 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/0.5634, allocations: 1.183 MB / 0.5667 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5637, allocations: 43.95 kB / 0.5667 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.5668, allocations: 2.829 MB / 0.5695 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5669, allocations: 4 kB / 0.5695 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/0.5718, allocations: 2.747 MB / 0.5722 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.5729, allocations: 457.9 kB / 0.5726 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006399/0.5736, allocations: 55.98 kB / 0.5727 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.575, allocations: 99.89 kB / 0.5728 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005017/0.5755, allocations: 220.1 kB / 0.573 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.5757, allocations: 51.95 kB / 0.573 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00284/0.5785, allocations: 1.368 MB / 0.5744 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5786, allocations: 0 / 0.5744 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002616/0.5812, allocations: 0.5234 MB / 0.5749 GB, free: 11.69 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.0004316/0.5816, allocations: 200.9 kB / 0.5751 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.5859, allocations: 2.04 MB / 0.577 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5859, allocations: 0 / 0.577 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.588, allocations: 0.9931 MB / 0.578 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.5907, allocations: 359.7 kB / 0.5784 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.6038, allocations: 5.079 MB / 0.5833 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.6061, allocations: 1.735 MB / 0.585 GB, free: 1.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.6075, allocations: 346.5 kB / 0.5853 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.6078, allocations: 151.4 kB / 0.5855 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of SimCode: time 1.643e-06/0.6078, allocations: 2.625 kB / 0.5855 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Templates: time 0.05513/0.663, allocations: 30.96 MB / 0.6157 GB, free: 2.141 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)