Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06045/0.06045, allocations: 8.031 MB / 23.01 MB, free: 228 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.0008572/0.0008572, allocations: 99.23 kB / 25.57 MB, free: 3.508 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.001675/0.001675, allocations: 203.8 kB / 28.23 MB, free: 0.8984 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 254 MB, free: 3.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01224/0.01224, allocations: 3.115 MB / 310 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000547/0.0005472, allocations: 11.47 kB / 374.8 MB, free: 53.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08596, allocations: 52.98 MB / 427.8 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.004685/0.09068, allocations: 5.956 MB / 433.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004026/0.09473, allocations: 3.283 MB / 437 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009419/0.0957, allocations: 23.88 kB / 437 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.09638, allocations: 274.4 kB / 437.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.09721, allocations: 357.6 kB / 437.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.0988, allocations: 0.7142 MB / 438.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1002, allocations: 1.665 MB / 440 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.1009, allocations: 498.4 kB / 440.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.1016, allocations: 0.5563 MB / 441.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.1023, allocations: 0.6143 MB / 441.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1024, allocations: 68 kB / 441.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.103, allocations: 211.8 kB / 442 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.1033, allocations: 266.8 kB / 442.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1035, allocations: 277 kB / 442.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1046, allocations: 1.531 MB / 444 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1046, allocations: 0 / 444 MB, free: 4.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1046, allocations: 4 kB / 444 MB, free: 4.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.1046, allocations: 3.938 kB / 444 MB, free: 4.008 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.002547/0.1072, allocations: 1.646 MB / 445.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1072, allocations: 15.97 kB / 445.7 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.1075, allocations: 162.1 kB / 445.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/0.1085, allocations: 0.8207 MB / 446.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.1086, allocations: 111.9 kB / 446.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1087, allocations: 115.9 kB / 446.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.1107, allocations: 1.281 MB / 448.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.1107, allocations: 3.953 kB / 448.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.1108, allocations: 56 kB / 448.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1109, allocations: 27.94 kB / 448.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1127, allocations: 0.9494 MB / 449.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006753/0.1194, allocations: 4.19 MB / 453.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.1218, allocations: 1.196 MB / 454.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/0.1228, allocations: 0.5079 MB / 455.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.1228, allocations: 9 kB / 455.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.124, allocations: 0.5765 MB / 455.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/0.124, allocations: 0 / 455.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.008297/0.1323, allocations: 3.919 MB / 459.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002682/0.1326, allocations: 487.6 kB / 460.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.1339, allocations: 0.8647 MB / 461 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.134, allocations: 53.69 kB / 461 MB, free: 2.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.1345, allocations: 0.5426 MB / 461.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.1348, allocations: 331.3 kB / 461.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1348, allocations: 20 kB / 461.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.135, allocations: 345.9 kB / 462.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.1357, allocations: 377.8 kB / 462.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.1368, allocations: 0.6492 MB / 463.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.1377, allocations: 486.2 kB / 463.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1377, allocations: 0 / 463.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002486/0.1402, allocations: 1.309 MB / 465 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1404, allocations: 284.1 kB / 465.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1404, allocations: 8 kB / 465.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.141, allocations: 224.6 kB / 465.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.1417, allocations: 215.7 kB / 465.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008736/0.1426, allocations: 0.8059 MB / 466.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.1436, allocations: 147.9 kB / 466.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/0.1436, allocations: 40 kB / 466.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.1437, allocations: 0 / 466.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001821/0.1455, allocations: 1.039 MB / 467.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1455, allocations: 8 kB / 467.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.1459, allocations: 191.3 kB / 468 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.1466, allocations: 183.7 kB / 468.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006855/0.1473, allocations: 0.7707 MB / 468.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.1481, allocations: 116 kB / 469 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.1481, allocations: 36.12 kB / 469.1 MB, free: 9.941 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,dragF.free,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006138/0.1488, allocations: 454 kB / 469.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.1489, allocations: 110.7 kB / 469.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.1513, allocations: 1.212 MB / 470.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.1513, allocations: 11.98 kB / 470.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1513, allocations: 0 / 470.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1513, allocations: 3.984 kB / 470.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.1557, allocations: 2.692 MB / 473.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.1557, allocations: 4 kB / 473.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.1564, allocations: 175.8 kB / 473.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.1569, allocations: 196.8 kB / 473.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.157, allocations: 31.98 kB / 473.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007802/0.1578, allocations: 0.7731 MB / 474.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1578, allocations: 3.984 kB / 474.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.1609, allocations: 1.781 MB / 476.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.1614, allocations: 291.6 kB / 476.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.1615, allocations: 24 kB / 476.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/0.1623, allocations: 123.9 kB / 476.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.1625, allocations: 100.8 kB / 477 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.1626, allocations: 35.97 kB / 477.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007617/0.1633, allocations: 0.6084 MB / 477.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1634, allocations: 0 / 477.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001257/0.1646, allocations: 468 kB / 478.1 MB, free: 0.6602 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.1663, allocations: 0.7595 MB / 478.9 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.1695, allocations: 1.705 MB / 480.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.1695, allocations: 0 / 480.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.1707, allocations: 0.622 MB / 481.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.1719, allocations: 227.5 kB / 481.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.1772, allocations: 3.431 MB / 484.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.1779, allocations: 1.109 MB / 486 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006814/0.1786, allocations: 159.5 kB / 486.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.1789, allocations: 79.41 kB / 486.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1789, allocations: 4 kB / 486.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of Templates: time 0.03059/0.2095, allocations: 18.06 MB / 0.4925 GB, free: 6.793 MB / 366.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)