Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05373/0.05373, allocations: 8.035 MB / 24.34 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.0009707/0.0009709, allocations: 109.5 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.001215/0.001215, 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.332/1.332, allocations: 222.9 MB / 255.1 MB, free: 4.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01281/0.01281, allocations: 3.127 MB / 310.1 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 91.86 kB / 427.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08375, allocations: 51.98 MB / 479.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.007294/0.09108, allocations: 6.579 MB / 486.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004691/0.09579, allocations: 3.213 MB / 489.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.09627, allocations: 23.94 kB / 489.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.09688, allocations: 269.8 kB / 489.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.09771, allocations: 416.9 kB / 490.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.09935, allocations: 0.9447 MB / 491 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1008, allocations: 1.786 MB / 492.8 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.1016, allocations: 0.6248 MB / 493.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.1023, allocations: 0.6891 MB / 494.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007881/0.1031, allocations: 0.7157 MB / 494.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.1033, allocations: 176 kB / 495 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.1038, allocations: 319.9 kB / 495.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.1041, allocations: 398.8 kB / 495.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.1047, allocations: 0.7425 MB / 496.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1064, allocations: 1.971 MB / 498.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1064, allocations: 0 / 498.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1065, allocations: 4 kB / 498.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.1065, allocations: 0 / 498.4 MB, free: 10.58 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.003025/0.1095, allocations: 1.799 MB / 0.4885 GB, free: 8.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1096, allocations: 8.031 kB / 0.4885 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.1099, allocations: 151.2 kB / 0.4886 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1111, allocations: 0.8436 MB / 0.4895 GB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1112, allocations: 115.8 kB / 0.4896 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.1114, allocations: 116 kB / 0.4897 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.1136, allocations: 1.241 MB / 0.4909 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.1136, allocations: 3.906 kB / 0.4909 GB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.1137, allocations: 51.94 kB / 0.4909 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.1137, allocations: 28 kB / 0.491 GB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.1156, allocations: 0.8672 MB / 0.4918 GB, free: 5.152 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.006032/0.1216, allocations: 4.005 MB / 0.4957 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.1238, allocations: 1.068 MB / 0.4968 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1248, allocations: 491.1 kB / 0.4972 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/0.1249, allocations: 20.62 kB / 0.4973 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.1259, allocations: 0.5266 MB / 0.4978 GB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.1259, allocations: 0 / 0.4978 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.007713/0.1337, allocations: 3.626 MB / 0.5013 GB, free: 11.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.1339, allocations: 0.4935 MB / 0.5018 GB, free: 10.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1351, allocations: 0.8483 MB / 0.5026 GB, free: 9.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.1352, allocations: 49.7 kB / 0.5027 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.1356, allocations: 0.5153 MB / 0.5032 GB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.1359, allocations: 315.5 kB / 0.5035 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.1362, allocations: 186.5 kB / 0.5037 GB, free: 8.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1363, allocations: 345.9 kB / 0.504 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.1371, allocations: 356.7 kB / 0.5043 GB, free: 7.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1381, allocations: 0.6266 MB / 0.5049 GB, free: 7.051 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/0.1433, allocations: 1.87 MB / 0.5068 GB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1433, allocations: 3.938 kB / 0.5068 GB, free: 5.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004068/0.1474, allocations: 1.285 MB / 0.508 GB, free: 3.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.1475, allocations: 71.39 kB / 0.5081 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1475, allocations: 4 kB / 0.5081 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/0.1483, allocations: 200.8 kB / 0.5083 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.1494, allocations: 203.7 kB / 0.5085 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.1507, allocations: 0.8005 MB / 0.5093 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.1521, allocations: 112 kB / 0.5094 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.1522, allocations: 36 kB / 0.5094 GB, free: 2.285 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.001403/0.1536, allocations: 0.5215 MB / 0.5099 GB, free: 1.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.1548, allocations: 0.5681 MB / 0.5105 GB, free: 1.082 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1966/0.3514, allocations: 1.701 MB / 0.5121 GB, free: 40.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.3514, allocations: 4.156 kB / 0.5121 GB, free: 40.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002369/0.3538, allocations: 1.117 MB / 0.5132 GB, free: 40.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.3539, allocations: 67.59 kB / 0.5133 GB, free: 40.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3539, allocations: 4.906 kB / 0.5133 GB, free: 40.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.3544, allocations: 190.3 kB / 0.5135 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.3551, allocations: 183.8 kB / 0.5136 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006548/0.3558, allocations: 0.7686 MB / 0.5144 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3569, allocations: 114.9 kB / 0.5145 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.357, allocations: 40.81 kB / 0.5145 GB, free: 39.55 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.0003401/0.3573, allocations: 325.5 kB / 0.5149 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.3575, allocations: 101.6 kB / 0.515 GB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.36, allocations: 1.138 MB / 0.5161 GB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.3601, allocations: 4.172 kB / 0.5161 GB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3601, allocations: 0 / 0.5161 GB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.3605, allocations: 272 kB / 0.5163 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.3607, allocations: 28.55 kB / 0.5164 GB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.3615, allocations: 112.6 kB / 0.5165 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3617, allocations: 83.38 kB / 0.5165 GB, free: 38.84 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002967/0.3647, allocations: 1.358 MB / 0.5179 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002645/0.3673, allocations: 1.61 MB / 0.5194 GB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000765/0.3681, allocations: 426.6 kB / 0.5198 GB, free: 37.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000718/0.3688, allocations: 0.5913 MB / 0.5204 GB, free: 37.08 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3689, allocations: 3.719 kB / 0.5204 GB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.3736, allocations: 2.173 MB / 0.5226 GB, free: 36.23 MB / 382.1 MB Notification: Performance of SimCode: time 0.003592/0.3772, allocations: 3.104 MB / 0.5256 GB, free: 34.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02765/0.4049, allocations: 22.51 MB / 0.5476 GB, free: 19.78 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEV.pipe 2>&1)