Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.PSD.PSecu3.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.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu3") translateModel(EHPTexamples.PSD.PSecu3,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04173/0.04173, allocations: 8.01 MB / 24.16 MB, free: 380 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.0006979/0.0006978, allocations: 104.1 kB / 26.73 MB, free: 3.27 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.0008821/0.000882, allocations: 191.9 kB / 29.41 MB, free: 0.5938 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.075/1.075, 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.01096/0.01096, allocations: 3.124 MB / 309.9 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.624e-05, allocations: 2.281 kB / 374.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu3): time 0.09705/0.09708, allocations: 9.388 MB / 383.5 MB, free: 49.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.1019, allocations: 3.975 MB / 387.5 MB, free: 48.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1031, allocations: 42.03 kB / 387.6 MB, free: 48.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008856/0.104, allocations: 477.8 kB / 388 MB, free: 48.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1053, allocations: 0.6197 MB / 388.6 MB, free: 47.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1074, allocations: 1.557 MB / 390.2 MB, free: 47.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.1093, allocations: 3.194 MB / 393.4 MB, free: 47.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.1106, allocations: 1.475 MB / 394.9 MB, free: 46.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.1114, allocations: 1.132 MB / 396 MB, free: 45.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/0.1122, allocations: 1.209 MB / 397.2 MB, free: 45.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.1125, allocations: 317.4 kB / 397.5 MB, free: 45.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1131, allocations: 493.7 kB / 398 MB, free: 45.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001546/0.1146, allocations: 3.892 MB / 401.9 MB, free: 42.38 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006994/0.1153, allocations: 2.338 MB / 404.2 MB, free: 40.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1157, allocations: 441.6 kB / 404.7 MB, free: 40.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002044/0.1159, allocations: 38.98 kB / 404.7 MB, free: 40.42 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 "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 "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 "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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 (512) * Number of variables: 523 (523) Notification: Performance of Bindings: time 0.005698/0.1216, allocations: 10.75 MB / 415.5 MB, free: 31.5 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0009502/0.1225, allocations: 2.021 MB / 417.5 MB, free: 29.3 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009004/0.1234, allocations: 1.339 MB / 418.8 MB, free: 28.05 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003027/0.1238, allocations: 447.3 kB / 419.3 MB, free: 27.75 MB / 302.1 MB Notification: Performance of Alias: time 0.007538/0.1313, allocations: 11.61 MB / 430.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001398/0.1314, allocations: 204.5 kB / 431.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of Events: time 0.0008017/0.1323, allocations: 1.169 MB / 432.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007393/0.133, allocations: 1.353 MB / 433.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009338/0.1339, allocations: 1.466 MB / 435.1 MB, free: 11.06 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (9) Unmatched Variables ************************* [ALGB] (1) output Real gen.gain.y slice: {} [ALGB] (1) output Real ice.tokW.y slice: {} [ALGB] (1) input Real mot.constPDC.feedback1.u1 slice: {} [DER-] (1) Real $DER.dragForce.v_relfric slice: {} [ALGB] (1) input Real mot.torqueLimiter.limit1 slice: {} [DER-] (1) Real $DER.mass.v slice: {} [ALGB] (1) Real mot.effMap.applyEta.Losses = abs(mot.constPDC.feedback1.u1 - mot.effMap.PMOT.y) slice: {} [ALGB] (1) input Real gen.variableLimiter.limit2 slice: {} [ALGB] (1) input Real gen.variableLimiter.limit1 slice: {} (7) Unmatched Equations ************************* [ALGO] (3) ($RES_SIM_10) [----] if mot.effMap.abs1.u < mot.limTau.powMax / mot.limTau.tauMax then [----] mot.limTau.state := 0; [----] mot.torqueLimiter.limit1 := mot.limTau.tauMax; [----] elseif true then [----] mot.limTau.state := 1; [----] mot.torqueLimiter.limit1 := mot.limTau.powMax / mot.effMap.abs1.u; [----] end if; [----] if mot.effMap.abs1.u > mot.limTau.wMax then [----] if mot.effMap.abs1.u < (1.0 + mot.limTau.alpha) * mot.limTau.wMax then [----] mot.limTau.state := 2; [----] mot.torqueLimiter.limit1 := (mot.limTau.powMax / mot.limTau.wMax) * (1.0 - (mot.effMap.abs1.u - mot.limTau.wMax) / (mot.limTau.wMax * mot.limTau.alpha)); [----] elseif true then [----] mot.limTau.state := 3; [----] mot.torqueLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] mot.torqueLimiter.limit2 := -mot.torqueLimiter.limit1; slice: {1, 2} [SCAL] (1) dragForce.s = mass.s + 0.5 * mass.L ($RES_SIM_225) slice: {} [ALGO] (1) ($RES_SIM_9) [----] if noEvent(mot.effMap.PMOT.y <= 0.0) then [----] mot.constPDC.feedback1.u1 := mot.effMap.PMOT.y * mot.effMap.toEff.y; [----] elseif true then [----] mot.constPDC.feedback1.u1 := mot.effMap.PMOT.y / mot.effMap.toEff.y; [----] end if; slice: {} [ALGO] (3) ($RES_SIM_8) [----] if mot.conn1.genW < gen.limTau.powMax / gen.limTau.tauMax then [----] gen.limTau.state := 0; [----] gen.variableLimiter.limit1 := gen.limTau.tauMax; [----] elseif true then [----] gen.limTau.state := 1; [----] gen.variableLimiter.limit1 := gen.limTau.powMax / mot.conn1.genW; [----] end if; [----] if mot.conn1.genW > gen.limTau.wMax then [----] if mot.conn1.genW < (1.0 + gen.limTau.alpha) * gen.limTau.wMax then [----] gen.limTau.state := 2; [----] gen.variableLimiter.limit1 := (gen.limTau.powMax / gen.limTau.wMax) * (1.0 - (mot.conn1.genW - gen.limTau.wMax) / (gen.limTau.wMax * gen.limTau.alpha)); [----] elseif true then [----] gen.limTau.state := 3; [----] gen.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] gen.variableLimiter.limit2 := -gen.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_7) [----] if noEvent(gen.toElePow.PMOT.y <= 0.0) then [----] gen.gain.u := gen.toElePow.PMOT.y * gen.toElePow.toEff.y; [----] elseif true then [----] gen.gain.u := gen.toElePow.PMOT.y / gen.toElePow.toEff.y; [----] end if; slice: {} [SCAL] (1) (1.0 + PSD.ratio) * ice.flange_a.phi = PSD.sun.phi + PSD.ratio * PSD.ring.phi ($RES_SIM_257) slice: {} [SCAL] (1) (idealGear.flange_b.phi - wheel.fixedR.phi0) * wheel.radius = (mass.s - 0.5 * mass.L) - wheel.fixedT.s0 ($RES_SIM_78) slice: {}