Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc") translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0432/0.0432, allocations: 8.037 MB / 24.35 MB, free: 384 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.001099/0.001099, allocations: 104.7 kB / 26.93 MB, free: 3.098 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.001196/0.001197, allocations: 194.9 kB / 29.63 MB, free: 424 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.369/1.369, allocations: 222.9 MB / 255.1 MB, free: 4.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01358/0.01358, allocations: 3.129 MB / 310.1 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 95.84 kB / 427.6 MB, free: 17.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08403/0.08576, allocations: 51.97 MB / 479.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFiltSoc): time 0.0111/0.0969, allocations: 10.16 MB / 489.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007377/0.1043, allocations: 4.452 MB / 494.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.1055, allocations: 51.81 kB / 494.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.1067, allocations: 0.4999 MB / 494.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.1083, allocations: 0.7098 MB / 495.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.1118, allocations: 1.896 MB / 497.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.1152, allocations: 3.24 MB / 0.4888 GB, free: 8.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.1169, allocations: 1.364 MB / 0.4902 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.1182, allocations: 1.211 MB / 0.4913 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.1195, allocations: 1.271 MB / 0.4926 GB, free: 4.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.1199, allocations: 352 kB / 0.4929 GB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008485/0.1207, allocations: 0.5311 MB / 0.4934 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.1213, allocations: 0.7439 MB / 0.4942 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.1224, allocations: 1.396 MB / 0.4955 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.1258, allocations: 3.793 MB / 0.4992 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1258, allocations: 0 / 0.4992 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1258, allocations: 0 / 0.4992 GB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.1259, allocations: 0 / 0.4992 GB, free: 13.83 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.004894/0.1308, allocations: 3.017 MB / 0.5022 GB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1308, allocations: 8.031 kB / 0.5022 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.1314, allocations: 292.9 kB / 0.5025 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.1335, allocations: 1.497 MB / 0.5039 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.1337, allocations: 185.7 kB / 0.5041 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.134, allocations: 207.9 kB / 0.5043 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.1378, allocations: 2.261 MB / 0.5065 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.1378, allocations: 3.906 kB / 0.5065 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1381, allocations: 91.94 kB / 0.5066 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.1381, allocations: 55.94 kB / 0.5067 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.1414, allocations: 1.596 MB / 0.5082 GB, free: 4.355 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.1932/0.3346, allocations: 7.805 MB / 0.5158 GB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.3374, allocations: 1.753 MB / 0.5176 GB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3388, allocations: 0.7053 MB / 0.5182 GB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.3388, allocations: 30.56 kB / 0.5183 GB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.3404, allocations: 0.8222 MB / 0.5191 GB, free: 35.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.166e-06/0.3404, allocations: 0 / 0.5191 GB, free: 35.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01024/0.3506, allocations: 5.418 MB / 0.5244 GB, free: 32.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.3508, allocations: 0.731 MB / 0.5251 GB, free: 31.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.3528, allocations: 1.611 MB / 0.5267 GB, free: 30.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.3529, allocations: 67.64 kB / 0.5267 GB, free: 30.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000632/0.3536, allocations: 0.9771 MB / 0.5277 GB, free: 30.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.3539, allocations: 484.7 kB / 0.5281 GB, free: 29.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.3543, allocations: 280.5 kB / 0.5284 GB, free: 29.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.3544, allocations: 303.4 kB / 0.5287 GB, free: 29.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3555, allocations: 0.5699 MB / 0.5292 GB, free: 29.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.3571, allocations: 0.9991 MB / 0.5302 GB, free: 28.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.3629, allocations: 2.976 MB / 0.5331 GB, free: 26.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.363, allocations: 1.375 kB / 0.5331 GB, free: 26.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003748/0.3667, allocations: 1.96 MB / 0.535 GB, free: 25.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.3668, allocations: 122.4 kB / 0.5352 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3668, allocations: 9.438 kB / 0.5352 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.3673, allocations: 206.2 kB / 0.5354 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3685, allocations: 339.7 kB / 0.5357 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.37, allocations: 2.251 MB / 0.5379 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.3715, allocations: 168.2 kB / 0.538 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.3716, allocations: 62.72 kB / 0.5381 GB, free: 23.44 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.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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.001425/0.3731, allocations: 0.8906 MB / 0.539 GB, free: 22.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008714/0.3739, allocations: 0.8869 MB / 0.5398 GB, free: 22.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004171/0.3781, allocations: 2.673 MB / 0.5425 GB, free: 20.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.91e-06/0.3781, allocations: 0 / 0.5425 GB, free: 20.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002631/0.3808, allocations: 1.736 MB / 0.5441 GB, free: 19.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.3808, allocations: 124.5 kB / 0.5443 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3809, allocations: 7.375 kB / 0.5443 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.3813, allocations: 207.6 kB / 0.5445 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.3822, allocations: 290.8 kB / 0.5447 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3835, allocations: 2.272 MB / 0.547 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.385, allocations: 154.1 kB / 0.5471 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.3851, allocations: 61.12 kB / 0.5472 GB, free: 17.4 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.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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: 33 * Number of states: 0 () * Number of discrete variables: 19 (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.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 (169): * Single equations (assignments): 163 * 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.0005572/0.3856, allocations: 435.9 kB / 0.5476 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.386, allocations: 177.4 kB / 0.5478 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.3891, allocations: 1.745 MB / 0.5495 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.3891, allocations: 8.953 kB / 0.5495 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3891, allocations: 0 / 0.5495 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.3897, allocations: 398.9 kB / 0.5499 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.39, allocations: 47.92 kB / 0.5499 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.3911, allocations: 153 kB / 0.55 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.3913, allocations: 117.1 kB / 0.5502 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003614/0.3949, allocations: 2.054 MB / 0.5522 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003685/0.3986, allocations: 2.557 MB / 0.5547 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001024/0.3997, allocations: 0.6935 MB / 0.5553 GB, free: 9.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4009, allocations: 1.116 MB / 0.5564 GB, free: 8.375 MB / 382.1 MB Notification: Performance of Backend: time 4.2e-07/0.4009, allocations: 4 kB / 0.5564 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006349/0.4072, allocations: 3.656 MB / 0.56 GB, free: 5.164 MB / 382.1 MB Notification: Performance of SimCode: time 0.005238/0.4125, allocations: 4.676 MB / 0.5646 GB, free: 416 kB / 382.1 MB Notification: Performance of Templates: time 0.05365/0.4662, allocations: 35.11 MB / 0.5988 GB, free: 13.43 MB / 430.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.makefile (rm -f EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe >> ../files/EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.sim & ./EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe 2>&1)