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.04247/0.04247, allocations: 8.361 MB / 24.67 MB, free: 120 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.0009454/0.0009454, allocations: 110 kB / 27.32 MB, free: 2.734 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.001045/0.001045, allocations: 194.9 kB / 30.09 MB, free: 6.52 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 255.6 MB, free: 4.285 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01331/0.01331, allocations: 3.113 MB / 310.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 91.86 kB / 428.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08591, allocations: 52.04 MB / 480.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.008117/0.09406, allocations: 6.843 MB / 487.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.09952, allocations: 3.485 MB / 490.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008142/0.1004, allocations: 27.88 kB / 490.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.1013, allocations: 329.4 kB / 491.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.1025, allocations: 468.7 kB / 491.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.1044, allocations: 0.9876 MB / 492.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1063, allocations: 1.922 MB / 494.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.1071, allocations: 0.6525 MB / 495.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007019/0.1078, allocations: 0.7319 MB / 495.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007819/0.1086, allocations: 0.7701 MB / 496.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.1088, allocations: 187.9 kB / 496.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.1093, allocations: 355.8 kB / 497.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1096, allocations: 394.7 kB / 497.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.1103, allocations: 0.7891 MB / 498.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1122, allocations: 2.078 MB / 0.4886 GB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1122, allocations: 0 / 0.4886 GB, free: 8.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1122, allocations: 4 kB / 0.4886 GB, free: 8.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.1122, allocations: 0 / 0.4886 GB, free: 8.875 MB / 366.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.002994/0.1152, allocations: 1.918 MB / 0.4905 GB, free: 6.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1153, allocations: 8.031 kB / 0.4905 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.1156, allocations: 179.9 kB / 0.4907 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1168, allocations: 0.8727 MB / 0.4916 GB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1169, allocations: 124 kB / 0.4917 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.1171, allocations: 120 kB / 0.4918 GB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.1191, allocations: 1.269 MB / 0.493 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.1192, allocations: 7.984 kB / 0.493 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.1193, allocations: 48 kB / 0.4931 GB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1193, allocations: 28 kB / 0.4931 GB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.1212, allocations: 0.9143 MB / 0.494 GB, free: 3.191 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/0.1272, allocations: 4.147 MB / 0.498 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.1295, allocations: 1.112 MB / 0.4991 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1305, allocations: 0.4977 MB / 0.4996 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.1306, allocations: 16.98 kB / 0.4996 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009966/0.1316, allocations: 0.5453 MB / 0.5002 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.073e-06/0.1316, allocations: 0 / 0.5002 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.007502/0.1391, allocations: 3.776 MB / 0.5039 GB, free: 8.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/0.1393, allocations: 491.7 kB / 0.5043 GB, free: 8.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1404, allocations: 0.8764 MB / 0.5052 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.1405, allocations: 53.7 kB / 0.5052 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.1408, allocations: 0.5593 MB / 0.5058 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1411, allocations: 349.1 kB / 0.5061 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.1414, allocations: 182.6 kB / 0.5063 GB, free: 6.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1415, allocations: 345.9 kB / 0.5066 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/0.1423, allocations: 376.6 kB / 0.507 GB, free: 5.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1433, allocations: 0.6414 MB / 0.5076 GB, free: 4.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.1478, allocations: 1.868 MB / 0.5094 GB, free: 2.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1478, allocations: 4 kB / 0.5094 GB, free: 2.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002466/0.1503, allocations: 1.251 MB / 0.5106 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.1503, allocations: 67.39 kB / 0.5107 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1504, allocations: 4 kB / 0.5107 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.1509, allocations: 203.5 kB / 0.5109 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.1517, allocations: 203.7 kB / 0.5111 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008633/0.1526, allocations: 0.7982 MB / 0.5119 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1722/0.3247, allocations: 109.5 kB / 0.512 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.325, allocations: 43.42 kB / 0.512 GB, free: 40.27 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: batt1.cDummy.v:VARIABLE(start = batt1.EBatteryMin + batt1.SOCInit * (batt1.EBatteryMax - batt1.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001089/0.326, allocations: 0.527 MB / 0.5125 GB, free: 40.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007396/0.3268, allocations: 0.5765 MB / 0.5131 GB, free: 39.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003742/0.3306, allocations: 1.706 MB / 0.5148 GB, free: 39.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.3306, allocations: 1.281 kB / 0.5148 GB, free: 39.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001984/0.3326, allocations: 1.127 MB / 0.5159 GB, free: 39.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.3326, allocations: 67.09 kB / 0.5159 GB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3326, allocations: 4.656 kB / 0.5159 GB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.3331, allocations: 191.8 kB / 0.5161 GB, free: 38.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.3337, allocations: 185.8 kB / 0.5163 GB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006026/0.3344, allocations: 0.7671 MB / 0.5171 GB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.3354, allocations: 113.5 kB / 0.5172 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.3354, allocations: 41.42 kB / 0.5172 GB, free: 38.28 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: batt1.cDummy.v:VARIABLE(start = batt1.EBatteryMin + batt1.SOCInit * (batt1.EBatteryMax - batt1.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real 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.0003484/0.3358, allocations: 328.2 kB / 0.5175 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.336, allocations: 117.4 kB / 0.5176 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.3386, allocations: 1.151 MB / 0.5188 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.3386, allocations: 4.875 kB / 0.5188 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3386, allocations: 1.094 kB / 0.5188 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.339, allocations: 280.8 kB / 0.519 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.3392, allocations: 31.88 kB / 0.5191 GB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/0.3401, allocations: 106.3 kB / 0.5192 GB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.3404, allocations: 85.95 kB / 0.5192 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003484/0.3439, allocations: 1.393 MB / 0.5206 GB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003316/0.3472, allocations: 1.669 MB / 0.5222 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001058/0.3483, allocations: 439.4 kB / 0.5226 GB, free: 35.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009433/0.3492, allocations: 0.6132 MB / 0.5232 GB, free: 35.45 MB / 382.1 MB Notification: Performance of Backend: time 7.01e-07/0.3492, allocations: 5.188 kB / 0.5233 GB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.354, allocations: 2.246 MB / 0.5254 GB, free: 34.56 MB / 382.1 MB Notification: Performance of SimCode: time 0.003943/0.358, allocations: 3.254 MB / 0.5286 GB, free: 32.43 MB / 382.1 MB Notification: Performance of Templates: time 0.03019/0.3882, allocations: 23.35 MB / 0.5514 GB, free: 15.75 MB / 382.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)