Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07172/0.07172, allocations: 8.031 MB / 24.17 MB, free: 396 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 103.7 kB / 26.75 MB, free: 3.285 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 199.2 kB / 29.44 MB, free: 0.5977 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.231/2.231, allocations: 222.9 MB / 254.9 MB, free: 4.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02268/0.02268, allocations: 3.122 MB / 309.9 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 95.86 kB / 374.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3991, allocations: 51.97 MB / 426.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.01043/0.4096, allocations: 6.841 MB / 433.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008021/0.4177, allocations: 3.47 MB / 436.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.4198, allocations: 27.88 kB / 436.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.4213, allocations: 333.4 kB / 436.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.4238, allocations: 452.7 kB / 437.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.4274, allocations: 0.9914 MB / 438.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.4311, allocations: 1.91 MB / 440.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.4324, allocations: 0.6525 MB / 440.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.4337, allocations: 0.7163 MB / 441.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4348, allocations: 0.774 MB / 442.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.4352, allocations: 188 kB / 442.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.4362, allocations: 347.8 kB / 442.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.4367, allocations: 398.6 kB / 443.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009002/0.4376, allocations: 0.7852 MB / 444.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.4403, allocations: 2.025 MB / 446.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4403, allocations: 0 / 446.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4403, allocations: 0 / 446.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.4404, allocations: 0 / 446.1 MB, free: 1.516 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004536/0.4449, allocations: 1.881 MB / 448 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.445, allocations: 12.03 kB / 448 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.4456, allocations: 167 kB / 448.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.4476, allocations: 0.8447 MB / 449 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4478, allocations: 116 kB / 449.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.4481, allocations: 119.9 kB / 449.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.4516, allocations: 1.284 MB / 450.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.4516, allocations: 0 / 450.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.4518, allocations: 48 kB / 450.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.4519, allocations: 31.94 kB / 450.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.4549, allocations: 0.9104 MB / 451.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.4663, allocations: 4.139 MB / 455.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/0.4699, allocations: 1.118 MB / 456.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4716, allocations: 0.4895 MB / 457.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.4717, allocations: 16.92 kB / 457.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.4735, allocations: 0.5492 MB / 457.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 5.651e-06/0.4735, allocations: 0 / 457.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.01248/0.486, allocations: 3.751 MB / 461.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000356/0.4865, allocations: 483.7 kB / 462 MB, free: 0.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.4889, allocations: 0.8803 MB / 462.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.4891, allocations: 49.64 kB / 463 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.4899, allocations: 0.5388 MB / 463.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005294/0.4905, allocations: 331.3 kB / 463.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/0.4911, allocations: 186.5 kB / 464 MB, free: 14.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.4913, allocations: 341.9 kB / 464.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4926, allocations: 380.6 kB / 464.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.4942, allocations: 0.6336 MB / 465.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002565/0.4967, allocations: 0.9925 MB / 466.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.4968, allocations: 0 / 466.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00461/0.5014, allocations: 1.332 MB / 467.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.5015, allocations: 63.41 kB / 467.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.5015, allocations: 4 kB / 467.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008825/0.5024, allocations: 200.7 kB / 467.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.5037, allocations: 215.6 kB / 468.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5051, allocations: 0.7966 MB / 468.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.5067, allocations: 115.9 kB / 469.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.5069, allocations: 43.92 kB / 469.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/0.5085, allocations: 0.5254 MB / 469.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.5098, allocations: 0.575 MB / 470.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002007/0.5118, allocations: 0.8836 MB / 471.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.077e-05/0.5119, allocations: 4 kB / 471.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00369/0.5156, allocations: 1.156 MB / 472.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-05/0.5157, allocations: 63.39 kB / 472.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.5157, allocations: 4 kB / 472.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/0.5164, allocations: 188.9 kB / 472.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5175, allocations: 195.7 kB / 472.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5187, allocations: 0.7577 MB / 473.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5207, allocations: 116.2 kB / 473.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.5208, allocations: 43.92 kB / 473.6 MB, free: 4.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 16 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragF.free,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,eleDrive.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,eleDrive.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000622/0.5215, allocations: 318.5 kB / 473.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.522, allocations: 114.7 kB / 474 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.5262, allocations: 1.149 MB / 475.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.5262, allocations: 12 kB / 475.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.5262, allocations: 0 / 475.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5263, allocations: 7.984 kB / 475.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008205/0.5345, allocations: 2.618 MB / 477.8 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5345, allocations: 0 / 477.8 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.5357, allocations: 179.8 kB / 478 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007709/0.5365, allocations: 188.8 kB / 478.2 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.5367, allocations: 31.92 kB / 478.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.538, allocations: 0.7553 MB / 479 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.538, allocations: 4.031 kB / 479 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005999/0.544, allocations: 1.707 MB / 480.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.545, allocations: 271.8 kB / 480.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/0.5455, allocations: 35.92 kB / 481 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.5469, allocations: 91.91 kB / 481.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.5472, allocations: 84.88 kB / 481.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.5473, allocations: 39.97 kB / 481.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001411/0.5488, allocations: 0.6239 MB / 481.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5488, allocations: 0 / 481.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00255/0.5513, allocations: 476 kB / 482.3 MB, free: 11.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (enBatDel,enDTdel,enP1del,enBattLoss,enBraking,eleDrive.constPDC.integrator1.y,batt1.cBattery.v,batt1.C1.v,batt1.cDummy.v,mass.s,mass.v) * Number of discrete variables: 8 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * Number of discrete states: 6 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002805/0.5542, allocations: 0.7368 MB / 483 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005818/0.56, allocations: 1.724 MB / 484.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.5601, allocations: 4 kB / 484.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.5618, allocations: 0.6069 MB / 485.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.5641, allocations: 256.7 kB / 485.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/0.5731, allocations: 2.846 MB / 488.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.5744, allocations: 1.105 MB / 489.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006271/0.5751, allocations: 91.34 kB / 489.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5751, allocations: 0 / 489.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Templates: time 0.05002/0.6252, allocations: 21.43 MB / 0.4991 GB, free: 15.27 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_main_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)