Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.MBEV.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.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04216/0.04216, allocations: 8.039 MB / 24.35 MB, free: 392 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.0009861/0.0009861, allocations: 107.8 kB / 26.93 MB, free: 3.113 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.001098/0.001098, allocations: 191.3 kB / 29.62 MB, free: 444 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 255.1 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01289/0.01289, allocations: 3.126 MB / 310.1 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 92.23 kB / 427.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.08224, allocations: 51.97 MB / 479.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.007993/0.09027, allocations: 6.581 MB / 486.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.09578, allocations: 3.217 MB / 489.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.09683, allocations: 31.88 kB / 489.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.09765, allocations: 273.8 kB / 489.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.09907, allocations: 409 kB / 490.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.1011, allocations: 0.9415 MB / 491 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.1033, allocations: 1.782 MB / 492.8 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.1043, allocations: 0.6326 MB / 493.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.1052, allocations: 0.6814 MB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.1063, allocations: 0.7157 MB / 494.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.1067, allocations: 176 kB / 495 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.1074, allocations: 331.8 kB / 495.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.1078, allocations: 390.8 kB / 495.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.1087, allocations: 0.7504 MB / 496.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1107, allocations: 1.967 MB / 498.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1107, allocations: 0 / 498.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1107, allocations: 0 / 498.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1107, allocations: 0 / 498.4 MB, free: 10.59 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003106/0.1138, allocations: 1.799 MB / 0.4885 GB, free: 8.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1139, allocations: 8.031 kB / 0.4885 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.1142, allocations: 151.2 kB / 0.4886 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.1155, allocations: 0.8475 MB / 0.4895 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.1156, allocations: 107.9 kB / 0.4896 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.1157, allocations: 112 kB / 0.4897 GB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.1179, allocations: 1.241 MB / 0.4909 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.1179, allocations: 15.84 kB / 0.4909 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.1181, allocations: 51.94 kB / 0.491 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.1181, allocations: 24 kB / 0.491 GB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.1199, allocations: 0.8671 MB / 0.4918 GB, free: 5.16 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.006106/0.1261, allocations: 4.005 MB / 0.4957 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.1282, allocations: 1.072 MB / 0.4968 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.1293, allocations: 495.1 kB / 0.4973 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.1293, allocations: 12.64 kB / 0.4973 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.1304, allocations: 0.5344 MB / 0.4978 GB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.374e-06/0.1304, allocations: 0 / 0.4978 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.007565/0.138, allocations: 3.618 MB / 0.5013 GB, free: 11.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002059/0.1382, allocations: 0.4935 MB / 0.5018 GB, free: 10.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.1393, allocations: 0.8445 MB / 0.5026 GB, free: 9.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.1394, allocations: 49.7 kB / 0.5027 GB, free: 9.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.1398, allocations: 0.5153 MB / 0.5032 GB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.14, allocations: 319.5 kB / 0.5035 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.1403, allocations: 186.5 kB / 0.5037 GB, free: 8.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1404, allocations: 341.9 kB / 0.504 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.1412, allocations: 356.7 kB / 0.5043 GB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009688/0.1422, allocations: 0.6344 MB / 0.5049 GB, free: 7.055 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.146, allocations: 1.87 MB / 0.5068 GB, free: 5.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.146, allocations: 0 / 0.5068 GB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002739/0.1488, allocations: 1.285 MB / 0.508 GB, free: 3.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.1488, allocations: 63.39 kB / 0.5081 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1489, allocations: 4 kB / 0.5081 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.1494, allocations: 208.8 kB / 0.5083 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007507/0.1502, allocations: 199.7 kB / 0.5085 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.1511, allocations: 0.8087 MB / 0.5093 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.1521, allocations: 107.9 kB / 0.5094 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/0.1522, allocations: 40.06 kB / 0.5094 GB, free: 2.289 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: mass.v = $START.mass.v. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009636/0.1531, allocations: 0.5215 MB / 0.5099 GB, free: 1.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007554/0.1539, allocations: 0.5681 MB / 0.5105 GB, free: 1.086 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.191/0.3449, allocations: 1.698 MB / 0.5121 GB, free: 40.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.167e-05/0.345, allocations: 2.125 kB / 0.5121 GB, free: 40.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002401/0.3474, allocations: 1.119 MB / 0.5132 GB, free: 40.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.3474, allocations: 67.75 kB / 0.5133 GB, free: 40.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3475, allocations: 7.984 kB / 0.5133 GB, free: 40.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.348, allocations: 187.7 kB / 0.5135 GB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.3486, allocations: 183.5 kB / 0.5137 GB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006281/0.3493, allocations: 0.7595 MB / 0.5144 GB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3503, allocations: 117.8 kB / 0.5145 GB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.3504, allocations: 41.34 kB / 0.5145 GB, free: 39.49 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: mass.v = $START.mass.v. 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 (105): * Single equations (assignments): 102 * 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.000405/0.3508, allocations: 324.5 kB / 0.5149 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.351, allocations: 104.9 kB / 0.515 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.3535, allocations: 1.139 MB / 0.5161 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3535, allocations: 5.719 kB / 0.5161 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3535, allocations: 0 / 0.5161 GB, free: 38.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.3539, allocations: 270.9 kB / 0.5163 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3541, allocations: 27.8 kB / 0.5164 GB, free: 38.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.3549, allocations: 103.2 kB / 0.5165 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.3551, allocations: 89.89 kB / 0.5165 GB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002985/0.3581, allocations: 1.365 MB / 0.5179 GB, free: 38.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002667/0.3608, allocations: 1.605 MB / 0.5194 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007299/0.3615, allocations: 424.8 kB / 0.5198 GB, free: 37.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007479/0.3623, allocations: 0.5935 MB / 0.5204 GB, free: 37.02 MB / 382.1 MB Notification: Performance of Backend: time 7.62e-07/0.3623, allocations: 1.156 kB / 0.5204 GB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004809/0.3671, allocations: 2.168 MB / 0.5225 GB, free: 36.18 MB / 382.1 MB Notification: Performance of SimCode: time 0.003644/0.3708, allocations: 3.115 MB / 0.5256 GB, free: 34.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02864/0.3994, allocations: 22.51 MB / 0.5476 GB, free: 19.78 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEV.pipe 2>&1)