Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.SHEV.SHEV_OO.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.SHEV_OO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEV_OO") translateModel(EHPTexamples.SHEV.SHEV_OO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.SHEV.SHEV_OO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04164/0.04164, allocations: 8.012 MB / 24.17 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.0008115/0.0008114, allocations: 108.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.0009104/0.0009103, allocations: 193.5 kB / 29.42 MB, free: 0.6094 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.102/1.102, allocations: 222.9 MB / 254.9 MB, free: 4.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01111/0.01111, allocations: 3.126 MB / 309.9 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.523e-05, allocations: 5.094 kB / 374.2 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEV_OO): time 0.1024/0.1024, allocations: 10.42 MB / 384.6 MB, free: 48.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.107, allocations: 4.564 MB / 389.1 MB, free: 47.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.1076, allocations: 47.84 kB / 389.2 MB, free: 47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.1084, allocations: 0.5966 MB / 389.8 MB, free: 46.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.1094, allocations: 0.742 MB / 390.5 MB, free: 46.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.1116, allocations: 1.982 MB / 392.5 MB, free: 46.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1137, allocations: 3.798 MB / 396.3 MB, free: 44.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.1151, allocations: 1.51 MB / 397.8 MB, free: 44.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.1161, allocations: 1.264 MB / 399.1 MB, free: 43.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.1169, allocations: 1.321 MB / 400.4 MB, free: 42.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.1173, allocations: 368.2 kB / 400.8 MB, free: 42.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.118, allocations: 0.565 MB / 401.3 MB, free: 42.69 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001819/0.1198, allocations: 4.212 MB / 405.5 MB, free: 39.8 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007778/0.1206, allocations: 2.504 MB / 408 MB, free: 37.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.121, allocations: 488.6 kB / 408.5 MB, free: 37.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002135/0.1212, allocations: 47.3 kB / 408.6 MB, free: 37.68 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 "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 "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 "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 "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: 526 (522) * Number of variables: 532 (532) Notification: Performance of Bindings: time 0.006144/0.1273, allocations: 11.8 MB / 420.4 MB, free: 26.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001098/0.1285, allocations: 2.33 MB / 422.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009388/0.1294, allocations: 1.418 MB / 424.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002922/0.1297, allocations: 449.5 kB / 424.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of Alias: time 0.008153/0.1379, allocations: 12.71 MB / 437.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001535/0.138, allocations: 215.7 kB / 437.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of Events: time 0.001044/0.1391, allocations: 1.586 MB / 439.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of Detect States: time 0.0009129/0.14, allocations: 1.679 MB / 440.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001097/0.1411, allocations: 1.717 MB / 442.5 MB, free: 2.957 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (9) Unmatched Variables ************************* [ALGB] (1) input Real genset.gen.variableLimiter.limit1 slice: {} [ALGB] (1) output Real genset.IcePow.power slice: {} [ALGB] (1) output Real genset.gen.toElePow.toEff.y slice: {} [DER-] (1) Real $DER.dragForce.v_relfric slice: {} [ALGB] (1) Real drive.toElePow.applyEta.Losses = abs(drive.gain.u - drive.toElePow.PMOT.y) slice: {} [ALGB] (1) flow Real drive.powSensor.flange_b.tau slice: {} [ALGB] (1) output Real drive.toElePow.normalizeTau.y slice: {} [ALGB] (1) input Real genset.gen.gain.u slice: {} [ALGB] (1) input Real drive.variableLimiter.limit1 slice: {} (7) Unmatched Equations ************************* [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_284) slice: {} [SCAL] (1) genset.idealGear.phi_b = genset.IcePow.flange_b.phi ($RES_SIM_129) slice: {} [SCAL] (1) dragForce.s = powDrag.flange_b.s ($RES_SIM_249) slice: {} [ALGO] (3) ($RES_SIM_8) [----] 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_7) [----] 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: {} [ALGO] (3) ($RES_SIM_6) [----] 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_5) [----] 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: {}