Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.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.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc") translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04233/0.04233, allocations: 8.354 MB / 24.66 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.0009843/0.0009843, allocations: 106.8 kB / 27.32 MB, free: 2.754 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.00104/0.00104, allocations: 186.2 kB / 30.09 MB, free: 6.535 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.305/1.305, allocations: 222.9 MB / 255.6 MB, free: 4.289 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.122 MB / 310.7 MB, free: 1.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 91.86 kB / 428.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08162/0.08334, allocations: 52.04 MB / 480.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFiltSoc): time 0.01196/0.09533, allocations: 10.41 MB / 490.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007497/0.1029, allocations: 4.519 MB / 495.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.1044, allocations: 47.81 kB / 495.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.106, allocations: 0.7299 MB / 496.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1084, allocations: 0.8384 MB / 496.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.1122, allocations: 1.923 MB / 498.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003991/0.1162, allocations: 3.361 MB / 0.4904 GB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.1183, allocations: 1.384 MB / 0.4918 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.12, allocations: 1.277 MB / 0.493 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.122, allocations: 1.408 MB / 0.4944 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006532/0.1226, allocations: 356 kB / 0.4948 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.1238, allocations: 0.535 MB / 0.4953 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008787/0.1247, allocations: 0.8529 MB / 0.4961 GB, free: 1.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1261, allocations: 1.555 MB / 0.4976 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.1301, allocations: 4.203 MB / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1301, allocations: 0 / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1301, allocations: 0 / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.1301, allocations: 0 / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.00518/0.1353, allocations: 3.506 MB / 0.5052 GB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1354, allocations: 8.031 kB / 0.5052 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.136, allocations: 350 kB / 0.5055 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.1383, allocations: 1.801 MB / 0.5073 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.1385, allocations: 189.8 kB / 0.5074 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.1388, allocations: 212 kB / 0.5076 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.1425, allocations: 2.302 MB / 0.5099 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.1426, allocations: 11.89 kB / 0.5099 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.1427, allocations: 91.94 kB / 0.51 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.1428, allocations: 48 kB / 0.51 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00327/0.1461, allocations: 1.632 MB / 0.5116 GB, free: 1.035 MB / 382.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.2254/0.3715, allocations: 8.322 MB / 0.5198 GB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.3744, allocations: 1.778 MB / 0.5215 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.3758, allocations: 0.7119 MB / 0.5222 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-05/0.3759, allocations: 31.27 kB / 0.5222 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.3775, allocations: 0.8366 MB / 0.523 GB, free: 34.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.317e-06/0.3776, allocations: 0 / 0.523 GB, free: 34.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01095/0.3885, allocations: 5.628 MB / 0.5285 GB, free: 31.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.3887, allocations: 0.7433 MB / 0.5293 GB, free: 30.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/0.3917, allocations: 2.507 MB / 0.5317 GB, free: 29.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3918, allocations: 64.66 kB / 0.5318 GB, free: 29.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.3926, allocations: 1.175 MB / 0.5329 GB, free: 28.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.3929, allocations: 0.5148 MB / 0.5334 GB, free: 27.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.3933, allocations: 288.1 kB / 0.5337 GB, free: 27.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.3933, allocations: 305.1 kB / 0.534 GB, free: 27.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3945, allocations: 0.5741 MB / 0.5345 GB, free: 27.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.396, allocations: 1.03 MB / 0.5355 GB, free: 26.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.4017, allocations: 3.028 MB / 0.5385 GB, free: 24.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4017, allocations: 4 kB / 0.5385 GB, free: 24.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.003416/0.4051, allocations: 2.04 MB / 0.5405 GB, free: 23.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.4052, allocations: 118.6 kB / 0.5406 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4052, allocations: 11.77 kB / 0.5406 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004993/0.4057, allocations: 211 kB / 0.5408 GB, free: 23.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4069, allocations: 342.3 kB / 0.5412 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.4085, allocations: 2.259 MB / 0.5434 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.4098, allocations: 171.5 kB / 0.5435 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.41, allocations: 63.83 kB / 0.5436 GB, free: 20.76 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.w.flange.phi:VARIABLE(flow=false unit = "rad" fixed = true ) "Absolute rotation angle of flange" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/0.4114, allocations: 1.028 MB / 0.5446 GB, free: 20.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000908/0.4123, allocations: 0.9135 MB / 0.5455 GB, free: 19.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004386/0.4167, allocations: 2.735 MB / 0.5482 GB, free: 17.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.4167, allocations: 4 kB / 0.5482 GB, free: 17.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=193) (initialization_lambda0): time 0.00259/0.4193, allocations: 1.82 MB / 0.5499 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.4194, allocations: 122.8 kB / 0.55 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4194, allocations: 8 kB / 0.5501 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.4199, allocations: 213.9 kB / 0.5503 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/0.4208, allocations: 295.6 kB / 0.5505 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.4221, allocations: 2.258 MB / 0.5527 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.4234, allocations: 151.9 kB / 0.5529 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.4235, allocations: 64 kB / 0.553 GB, free: 11.92 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.w.flange.phi:VARIABLE(flow=false unit = "rad" fixed = true ) "Absolute rotation angle of flange" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 20 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,drive.limTau.state,genset.gen.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,drive.constPDC.integrator1.local_reset,genset.toGrams.local_reset,genset.mBiceT.tokgFuel.local_reset,genset.gen.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.4239, allocations: 457.5 kB / 0.5534 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.4242, allocations: 230.5 kB / 0.5536 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.4275, allocations: 1.836 MB / 0.5554 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.4275, allocations: 7.969 kB / 0.5554 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4275, allocations: 4 kB / 0.5554 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.4281, allocations: 480 kB / 0.5559 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.4284, allocations: 43.98 kB / 0.5559 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.4296, allocations: 151.8 kB / 0.5561 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.4298, allocations: 117.1 kB / 0.5562 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003894/0.4337, allocations: 2.075 MB / 0.5582 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003961/0.4377, allocations: 2.634 MB / 0.5608 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00114/0.4388, allocations: 0.7091 MB / 0.5615 GB, free: 3.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.4407, allocations: 1.773 MB / 0.5632 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Backend: time 1.123e-06/0.4407, allocations: 0 / 0.5632 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007001/0.4477, allocations: 3.761 MB / 0.5669 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 0.007561/0.4553, allocations: 5.53 MB / 0.5723 GB, free: 8.262 MB / 398.1 MB Notification: Performance of Templates: time 0.05611/0.5114, allocations: 37.48 MB / 0.6089 GB, free: 2.906 MB / 430.1 MB make -j1 -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.makefile (rm -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; mkfifo EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe >> ../files/EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.sim & ./EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe 2>&1)