Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.SHEV.SHEVpowerFiltSoc") translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFiltSoc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04687/0.04687, allocations: 8.014 MB / 24.16 MB, free: 400 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.0008152/0.0008152, allocations: 110 kB / 26.73 MB, free: 3.289 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.0008987/0.0008986, allocations: 183.9 kB / 29.41 MB, free: 0.6172 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.08/1.08, allocations: 222.9 MB / 254.9 MB, free: 4.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01103/0.01103, allocations: 3.122 MB / 309.9 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.685e-05, allocations: 5.094 kB / 374.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFiltSoc): time 0.1052/0.1052, allocations: 10.14 MB / 384.3 MB, free: 48.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005415/0.1107, allocations: 4.425 MB / 388.7 MB, free: 47.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.1114, allocations: 49.72 kB / 388.8 MB, free: 47.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.1122, allocations: 0.5194 MB / 389.3 MB, free: 46.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1133, allocations: 0.6882 MB / 390 MB, free: 46.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1157, allocations: 1.894 MB / 391.9 MB, free: 46.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.1178, allocations: 3.634 MB / 395.5 MB, free: 45.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.1192, allocations: 1.432 MB / 396.9 MB, free: 44.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000937/0.1202, allocations: 1.2 MB / 398.1 MB, free: 44.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008084/0.121, allocations: 1.246 MB / 399.4 MB, free: 43.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003466/0.1213, allocations: 353 kB / 399.7 MB, free: 43.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.122, allocations: 0.523 MB / 400.2 MB, free: 43.31 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001755/0.1238, allocations: 4.034 MB / 404.3 MB, free: 40.55 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007806/0.1246, allocations: 2.399 MB / 406.7 MB, free: 38.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.1249, allocations: 463.8 kB / 407.1 MB, free: 38.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002412/0.1252, allocations: 47.78 kB / 407.2 MB, free: 38.52 MB / 302.1 MB Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "unassignedMessage" in the backend. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 (503) * Number of variables: 512 (512) Notification: Performance of Bindings: time 0.005975/0.1312, allocations: 10.96 MB / 418.1 MB, free: 28.98 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001261/0.1324, allocations: 2.673 MB / 420.8 MB, free: 26.02 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009551/0.1334, allocations: 1.376 MB / 422.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003108/0.1337, allocations: 437.9 kB / 422.6 MB, free: 24.44 MB / 302.1 MB Notification: Performance of Alias: time 0.008059/0.1418, allocations: 11.98 MB / 434.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001446/0.1419, allocations: 219.7 kB / 434.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Events: time 0.0009733/0.1429, allocations: 1.474 MB / 436.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008105/0.1437, allocations: 1.488 MB / 437.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001055/0.1448, allocations: 1.666 MB / 439.4 MB, free: 6.297 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (9) Unmatched Variables ************************* [ALGB] (1) flow Real genset.IcePow.flange_a.tau slice: {} [ALGB] (1) output Real powProp.power slice: {} [ALGB] (1) input Real genset.gen.variableLimiter.limit1 slice: {} [ALGB] (1) output Real genset.gen.toElePow.toEff.y slice: {} [ALGB] (1) Real drive.toElePow.applyEta.Losses = abs(drive.gain.u - drive.toElePow.PMOT.y) slice: {} [ALGB] (1) output Real drive.toElePow.normalizeTau.y slice: {} [ALGB] (1) flow Real mass.flange_b.f slice: {} [DER-] (1) output Real $DER.genset.gen.constPDC.integrator1.y slice: {} [ALGB] (1) input Real drive.variableLimiter.limit1 slice: {} (7) Unmatched Equations ************************* [SCAL] (1) genset.idealGear.phi_b = genset.IcePow.flange_b.phi ($RES_SIM_127) slice: {} [SCAL] (1) dragForce.s = powDrag.flange_b.s ($RES_SIM_240) slice: {} [ALGO] (3) ($RES_SIM_7) [----] if genset.gen.toElePow.abs1.u < genset.gen.limTau.powMax / genset.gen.limTau.tauMax then [----] genset.gen.limTau.state := 0; [----] genset.gen.variableLimiter.limit1 := genset.gen.limTau.tauMax; [----] elseif true then [----] genset.gen.limTau.state := 1; [----] genset.gen.variableLimiter.limit1 := genset.gen.limTau.powMax / genset.gen.toElePow.abs1.u; [----] end if; [----] if genset.gen.toElePow.abs1.u > genset.gen.limTau.wMax then [----] if genset.gen.toElePow.abs1.u < (1.0 + genset.gen.limTau.alpha) * genset.gen.limTau.wMax then [----] genset.gen.limTau.state := 2; [----] genset.gen.variableLimiter.limit1 := (genset.gen.limTau.powMax / genset.gen.limTau.wMax) * (1.0 - (genset.gen.toElePow.abs1.u - genset.gen.limTau.wMax) / (genset.gen.limTau.wMax * genset.gen.limTau.alpha)); [----] elseif true then [----] genset.gen.limTau.state := 3; [----] genset.gen.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] genset.gen.variableLimiter.limit2 := -genset.gen.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_6) [----] if noEvent(genset.gen.toElePow.PMOT.y <= 0.0) then [----] genset.gen.gain.u := genset.gen.toElePow.PMOT.y * genset.gen.toElePow.toEff.y; [----] elseif true then [----] genset.gen.gain.u := genset.gen.toElePow.PMOT.y / genset.gen.toElePow.toEff.y; [----] end if; slice: {} [ALGO] (3) ($RES_SIM_5) [----] if drive.toElePow.abs1.u < drive.limTau.powMax / drive.limTau.tauMax then [----] drive.limTau.state := 0; [----] drive.variableLimiter.limit1 := drive.limTau.tauMax; [----] elseif true then [----] drive.limTau.state := 1; [----] drive.variableLimiter.limit1 := drive.limTau.powMax / drive.toElePow.abs1.u; [----] end if; [----] if drive.toElePow.abs1.u > drive.limTau.wMax then [----] if drive.toElePow.abs1.u < (1.0 + drive.limTau.alpha) * drive.limTau.wMax then [----] drive.limTau.state := 2; [----] drive.variableLimiter.limit1 := (drive.limTau.powMax / drive.limTau.wMax) * (1.0 - (drive.toElePow.abs1.u - drive.limTau.wMax) / (drive.limTau.wMax * drive.limTau.alpha)); [----] elseif true then [----] drive.limTau.state := 3; [----] drive.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] drive.variableLimiter.limit2 := -drive.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_4) [----] if noEvent(drive.toElePow.PMOT.y <= 0.0) then [----] drive.gain.u := drive.toElePow.PMOT.y * drive.toElePow.toEff.y; [----] elseif true then [----] drive.gain.u := drive.toElePow.PMOT.y / drive.toElePow.toEff.y; [----] end if; slice: {} [SCAL] (1) (gear.flange_b.phi - wheel.fixedR.phi0) * wheel.radius = (-(0.5 * mass.L + (0.5 * mass.L - powDrag.flange_b.s))) - wheel.fixedT.s0 ($RES_SIM_275) slice: {}