Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.PSD.PSecu2PA.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.PSecu2PA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu2PA") translateModel(EHPTexamples.PSD.PSecu2PA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu2PA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04283/0.04283, allocations: 8.014 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.0008131/0.0008131, allocations: 107.8 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.00088/0.0008799, 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.08/1.08, allocations: 222.9 MB / 254.9 MB, free: 4.844 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01102/0.01102, allocations: 3.129 MB / 309.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.559e-05, allocations: 2.281 kB / 374.2 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu2PA): time 0.1016/0.1016, allocations: 9.307 MB / 383.5 MB, free: 48.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.1059, allocations: 3.96 MB / 387.4 MB, free: 47.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.1066, allocations: 45.12 kB / 387.5 MB, free: 47.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.1073, allocations: 472.6 kB / 387.9 MB, free: 47.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.1082, allocations: 0.6285 MB / 388.6 MB, free: 47.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.1103, allocations: 1.548 MB / 390.1 MB, free: 47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.1121, allocations: 3.17 MB / 393.3 MB, free: 46.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.1134, allocations: 1.429 MB / 394.7 MB, free: 46.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.1143, allocations: 1.11 MB / 395.8 MB, free: 45.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.115, allocations: 1.183 MB / 397 MB, free: 44.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.1154, allocations: 309.6 kB / 397.3 MB, free: 44.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.1159, allocations: 485.4 kB / 397.8 MB, free: 44.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001557/0.1175, allocations: 3.817 MB / 401.6 MB, free: 42.29 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007069/0.1182, allocations: 2.291 MB / 403.9 MB, free: 40.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.1186, allocations: 431.6 kB / 404.3 MB, free: 40.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002286/0.1188, allocations: 42.67 kB / 404.3 MB, free: 40.37 MB / 302.1 MB 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 "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: 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: 502 (498) * Number of variables: 509 (509) Notification: Performance of Bindings: time 0.005844/0.1246, allocations: 10.3 MB / 414.6 MB, free: 32.17 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001115/0.1258, allocations: 2.328 MB / 417 MB, free: 29.71 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008772/0.1267, allocations: 1.295 MB / 418.3 MB, free: 28.52 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003021/0.127, allocations: 436.1 kB / 418.7 MB, free: 28.22 MB / 302.1 MB Notification: Performance of Alias: time 0.007434/0.1344, allocations: 11.19 MB / 429.9 MB, free: 16.28 MB / 302.1 MB Notification: Performance of simplify2: time 0.000172/0.1346, allocations: 198.3 kB / 430.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of Events: time 0.0007663/0.1354, allocations: 1.119 MB / 431.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007529/0.1361, allocations: 1.332 MB / 432.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009223/0.137, allocations: 1.439 MB / 434 MB, free: 12.23 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (9) Unmatched Variables ************************* [ALGB] (1) input Real mot.inertia.tau slice: {} [ALGB] (1) output Real mot.add.y slice: {} [ALGB] (1) Real gen.toElePow.applyEta.Losses = abs(gen.gain.u - gen.toElePow.PMOT.y) slice: {} [ALGB] (1) output Real gen.gain.y slice: {} [ALGB] (1) input Real mot.constPDC.feedback1.u1 slice: {} [ALGB] (1) Real mot.inertia.a slice: {} [ALGB] (1) input Real mot.torqueLimiter.limit1 slice: {} [DER-] (1) Real $DER.mass.v slice: {} [ALGB] (1) input Real gen.variableLimiter.limit2 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_222) 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} [SCAL] (1) (1.0 + PSD.ratio) * ice.flange_a.phi = PSD.sun.phi + PSD.ratio * PSD.ring.phi ($RES_SIM_254) slice: {} [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) (idealGear.flange_b.phi - wheel.fixedR.phi0) * wheel.radius = (mass.s - 0.5 * mass.L) - wheel.fixedT.s0 ($RES_SIM_78) slice: {}