Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFilt.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.SHEVpowerFilt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFilt") translateModel(EHPTexamples.SHEV.SHEVpowerFilt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEVpowerFilt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04277/0.04277, allocations: 8.007 MB / 24.16 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.000725/0.000725, allocations: 104.6 kB / 26.73 MB, free: 3.285 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.0008603/0.0008603, allocations: 193.5 kB / 29.42 MB, free: 0.6055 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.086/1.086, allocations: 222.9 MB / 254.9 MB, free: 4.828 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0112/0.0112, allocations: 3.114 MB / 309.9 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.566e-05, allocations: 5.375 kB / 374.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFilt): time 0.1017/0.1017, allocations: 10.04 MB / 384.2 MB, free: 48.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005253/0.107, allocations: 4.41 MB / 388.6 MB, free: 47.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.1083, allocations: 51.03 kB / 388.7 MB, free: 47.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.1093, allocations: 0.5071 MB / 389.2 MB, free: 46.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1107, allocations: 0.6808 MB / 389.8 MB, free: 46.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.1131, allocations: 1.885 MB / 391.7 MB, free: 46.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1152, allocations: 3.608 MB / 395.3 MB, free: 45.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.1166, allocations: 1.417 MB / 396.8 MB, free: 44.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.1174, allocations: 1.192 MB / 397.9 MB, free: 44.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.1182, allocations: 1.233 MB / 399.2 MB, free: 43.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.1185, allocations: 349.7 kB / 399.5 MB, free: 43.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.1192, allocations: 0.5138 MB / 400 MB, free: 43.39 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001667/0.1209, allocations: 3.981 MB / 404 MB, free: 40.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007221/0.1216, allocations: 2.36 MB / 406.4 MB, free: 38.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.122, allocations: 466 kB / 406.8 MB, free: 38.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002046/0.1222, allocations: 45.03 kB / 406.9 MB, free: 38.67 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 "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 "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: 498 (494) * Number of variables: 503 (503) Notification: Performance of Bindings: time 0.005934/0.1281, allocations: 11.08 MB / 418 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.00111/0.1292, allocations: 2.353 MB / 420.3 MB, free: 26.59 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009522/0.1302, allocations: 1.341 MB / 421.6 MB, free: 25.35 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002948/0.1305, allocations: 426.8 kB / 422.1 MB, free: 25.06 MB / 302.1 MB Notification: Performance of Alias: time 0.007742/0.1382, allocations: 11.81 MB / 433.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001504/0.1384, allocations: 204.6 kB / 434.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Events: time 0.0009832/0.1394, allocations: 1.466 MB / 435.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Detect States: time 0.00077/0.1402, allocations: 1.378 MB / 436.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001059/0.1412, allocations: 1.646 MB / 438.6 MB, free: 7.438 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (9) Unmatched Variables ************************* [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 genset.mBiceT.inertia.a 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) dragForce.s = powDrag.flange_b.s ($RES_SIM_236) 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_271) slice: {} [SCAL] (1) genset.idealGear.phi_b = genset.IcePow.flange_b.phi ($RES_SIM_119) slice: {}