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.001076/0.001077, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 172.9 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1735/0.1735, allocations: 7.98 MB / 300.1 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003495, allocations: 8 kB / 363 MB, free: 14.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 52.21 MB / 415.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.3041/0.4195, allocations: 91.6 MB / 0.495 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04903/0.4686, allocations: 17.99 MB / 0.5125 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02275/0.4914, allocations: 455.1 kB / 0.513 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.4944, allocations: 0.6631 MB / 0.5136 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.4992, allocations: 0.6765 MB / 0.5143 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.5031, allocations: 1.03 MB / 0.5153 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007155/0.5103, allocations: 3.647 MB / 0.5188 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00941/0.5197, allocations: 3.555 MB / 0.5223 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.5229, allocations: 1.155 MB / 0.5234 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.5262, allocations: 1.4 MB / 0.5248 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.5274, allocations: 136 kB / 0.5249 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5289, allocations: 204.7 kB / 0.5251 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.5303, allocations: 0.6091 MB / 0.5257 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.534, allocations: 1.518 MB / 0.5272 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006176/0.5402, allocations: 3.58 MB / 0.5307 GB, free: 5.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5402, allocations: 4 kB / 0.5307 GB, free: 5.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5402, allocations: 0 / 0.5307 GB, free: 5.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.5404, allocations: 4 kB / 0.5307 GB, free: 5.855 MB / 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.008953/0.5494, allocations: 2.996 MB / 0.5336 GB, free: 2.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5495, allocations: 8.031 kB / 0.5337 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.551, allocations: 371.4 kB / 0.534 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/0.555, allocations: 1.848 MB / 0.5358 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.5552, allocations: 229.8 kB / 0.536 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00057/0.5558, allocations: 307.8 kB / 0.5363 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/0.5618, allocations: 3.133 MB / 0.5394 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.5619, allocations: 23.8 kB / 0.5394 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.5622, allocations: 123.9 kB / 0.5395 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.5623, allocations: 127.9 kB / 0.5396 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.567, allocations: 2.288 MB / 0.5419 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/0.5836, allocations: 11.7 MB / 0.5533 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5854, allocations: 0.999 MB / 0.5543 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.5867, allocations: 0.6684 MB / 0.5549 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/0.5868, allocations: 13 kB / 0.5549 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.5868, allocations: 43.56 kB / 0.555 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 3.166e-06/0.5868, allocations: 0 / 0.555 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01412/0.6009, allocations: 6.648 MB / 0.5615 GB, free: 5.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.6011, allocations: 98.45 kB / 0.5616 GB, free: 5.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.6043, allocations: 2.123 MB / 0.5636 GB, free: 3.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.6046, allocations: 73.69 kB / 0.5637 GB, free: 3.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.606, allocations: 1.552 MB / 0.5652 GB, free: 1.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.6066, allocations: 497.3 kB / 0.5657 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.6069, allocations: 206.6 kB / 0.5659 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.607, allocations: 309.1 kB / 0.5662 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6085, allocations: 0.767 MB / 0.5669 GB, free: 15.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.6107, allocations: 1.736 MB / 0.5686 GB, free: 13.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.6141, allocations: 2.396 MB / 0.571 GB, free: 10.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/0.6142, allocations: 8 kB / 0.571 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005553/0.6197, allocations: 2.962 MB / 0.5739 GB, free: 7.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.6198, allocations: 16 kB / 0.5739 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-05/0.6198, allocations: 36 kB / 0.5739 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.6219, allocations: 1.3 MB / 0.5752 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.6237, allocations: 0.4914 MB / 0.5757 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.6273, allocations: 2.917 MB / 0.5785 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/0.6298, allocations: 271.5 kB / 0.5788 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.6301, allocations: 124 kB / 0.5789 GB, free: 2.484 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.001824/0.6319, allocations: 0.6891 MB / 0.5796 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/0.6325, allocations: 248.8 kB / 0.5798 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2377/0.8702, allocations: 1.835 MB / 0.5816 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.8702, allocations: 15.19 kB / 0.5816 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.8703, allocations: 0.9062 kB / 0.5816 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-05/0.8703, allocations: 15.11 kB / 0.5816 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.8804, allocations: 4.848 MB / 0.5864 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.8804, allocations: 0 / 0.5864 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/0.8813, allocations: 217.9 kB / 0.5866 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.883, allocations: 1.18 MB / 0.5877 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.8832, allocations: 44.95 kB / 0.5878 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.8858, allocations: 2.745 MB / 0.5905 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8858, allocations: 0 / 0.5905 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.8901, allocations: 2.766 MB / 0.5932 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008948/0.891, allocations: 459 kB / 0.5936 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.8913, allocations: 52.25 kB / 0.5936 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8923, allocations: 141.1 kB / 0.5938 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/0.8927, allocations: 212.5 kB / 0.594 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.8928, allocations: 51.61 kB / 0.594 GB, free: 123.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.8947, allocations: 1.368 MB / 0.5954 GB, free: 122.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8947, allocations: 3.75 kB / 0.5954 GB, free: 122.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001993/0.8967, allocations: 0.5261 MB / 0.5959 GB, free: 122.8 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.0003658/0.8971, allocations: 195.6 kB / 0.5961 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.9004, allocations: 2.047 MB / 0.5981 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.9005, allocations: 0 / 0.5981 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.902, allocations: 0.9849 MB / 0.599 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.9046, allocations: 337.5 kB / 0.5994 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/0.9146, allocations: 6.671 MB / 0.6059 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.9158, allocations: 1.736 MB / 0.6076 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.9163, allocations: 159 kB / 0.6077 GB, free: 116.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.9163, allocations: 0 / 0.6077 GB, free: 116.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07024/0.9866, allocations: 58.9 MB / 0.6652 GB, free: 79.77 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)