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.001404/0.001404, allocations: 104 kB / 16.41 MB, free: 6.016 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.001594/0.001595, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04073/0.04073, allocations: 8.001 MB / 299.2 MB, free: 7.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 413.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 51.21 MB / 465 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02598/0.1326, allocations: 24 MB / 489 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.1488, allocations: 6.265 MB / 495.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006458/0.1553, allocations: 195.4 kB / 495.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00381/0.1591, allocations: 0.9926 MB / 496.4 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.1639, allocations: 0.8174 MB / 497.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009836/0.1738, allocations: 4.661 MB / 0.4901 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006819/0.1806, allocations: 3.82 MB / 0.4939 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0092/0.1898, allocations: 4.732 MB / 0.4985 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.1929, allocations: 1.573 MB / 0.5 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.1961, allocations: 1.75 MB / 0.5017 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.1975, allocations: 432 kB / 0.5021 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.1993, allocations: 499.9 kB / 0.5026 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.2008, allocations: 0.9269 MB / 0.5035 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2917/0.4925, allocations: 1.853 MB / 0.5053 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.4985, allocations: 4.74 MB / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4985, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4985, allocations: 3.688 kB / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.4987, allocations: 0 / 0.51 GB, free: 11.64 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.007055/0.5057, allocations: 3.589 MB / 0.5135 GB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5058, allocations: 9.625 kB / 0.5135 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.5064, allocations: 370.7 kB / 0.5138 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.5093, allocations: 1.905 MB / 0.5157 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.5095, allocations: 219.9 kB / 0.5159 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.5099, allocations: 310.1 kB / 0.5162 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/0.5154, allocations: 3.133 MB / 0.5193 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-05/0.5155, allocations: 27.83 kB / 0.5193 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.5157, allocations: 120.7 kB / 0.5194 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.5159, allocations: 125.1 kB / 0.5195 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.5199, allocations: 2.281 MB / 0.5218 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.5328, allocations: 11.5 MB / 0.533 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5342, allocations: 0.9887 MB / 0.5339 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/0.5352, allocations: 0.6644 MB / 0.5346 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/0.5353, allocations: 16.59 kB / 0.5346 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.5353, allocations: 45.03 kB / 0.5347 GB, free: 1.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.896e-06/0.5353, allocations: 0 / 0.5347 GB, free: 1.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01144/0.5468, allocations: 6.468 MB / 0.541 GB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.5468, allocations: 97.27 kB / 0.5411 GB, free: 12.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.5494, allocations: 2.123 MB / 0.5431 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.5495, allocations: 69.45 kB / 0.5432 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.5506, allocations: 1.555 MB / 0.5447 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.551, allocations: 498 kB / 0.5452 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/0.5516, allocations: 472 kB / 0.5456 GB, free: 9.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5518, allocations: 304 kB / 0.5459 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.5529, allocations: 0.7592 MB / 0.5467 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.5547, allocations: 1.726 MB / 0.5484 GB, free: 7.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.5575, allocations: 2.384 MB / 0.5507 GB, free: 5.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.5575, allocations: 8 kB / 0.5507 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.00454/0.562, allocations: 2.952 MB / 0.5536 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.5621, allocations: 17.69 kB / 0.5536 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.5621, allocations: 35.09 kB / 0.5536 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.5639, allocations: 1.303 MB / 0.5549 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.5654, allocations: 495.6 kB / 0.5554 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.5682, allocations: 3.021 MB / 0.5583 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.57, allocations: 215.4 kB / 0.5585 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.5701, allocations: 120 kB / 0.5586 GB, free: 13.22 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.001225/0.5714, allocations: 0.6932 MB / 0.5593 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.5717, allocations: 244.8 kB / 0.5596 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.5748, allocations: 1.835 MB / 0.5614 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5748, allocations: 16 kB / 0.5614 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5748, allocations: 0 / 0.5614 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5748, allocations: 7.969 kB / 0.5614 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.582, allocations: 4.755 MB / 0.566 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5821, allocations: 0 / 0.566 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.5829, allocations: 211.6 kB / 0.5662 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.5845, allocations: 1.176 MB / 0.5674 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5846, allocations: 47.95 kB / 0.5674 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.5872, allocations: 2.83 MB / 0.5702 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5872, allocations: 11.28 kB / 0.5702 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/0.5913, allocations: 2.741 MB / 0.5729 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006905/0.592, allocations: 462.1 kB / 0.5733 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.5922, allocations: 52 kB / 0.5734 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/0.5931, allocations: 103.9 kB / 0.5735 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/0.5936, allocations: 224.2 kB / 0.5737 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5937, allocations: 47.95 kB / 0.5737 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.5955, allocations: 1.366 MB / 0.575 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5955, allocations: 0 / 0.575 GB, free: 12.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001937/0.5975, allocations: 0.5273 MB / 0.5756 GB, free: 11.66 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.0003571/0.5978, allocations: 193 kB / 0.5757 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.601, allocations: 2.039 MB / 0.5777 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6011, allocations: 0 / 0.5777 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.6027, allocations: 0.9929 MB / 0.5787 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6044, allocations: 371.5 kB / 0.5791 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.6137, allocations: 5.151 MB / 0.5841 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.6151, allocations: 1.731 MB / 0.5858 GB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.6156, allocations: 163.4 kB / 0.5859 GB, free: 1.102 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6156, allocations: 0 / 0.5859 GB, free: 1.102 MB / 430.1 MB Notification: Performance of Templates: time 0.07906/0.6947, allocations: 59.76 MB / 0.6443 GB, free: 5.371 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)