Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.PSD.PSecu2.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.PSecu2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu2") translateModel(EHPTexamples.PSD.PSecu2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04234/0.04234, allocations: 8.011 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.0007112/0.0007112, allocations: 103.8 kB / 26.73 MB, free: 3.293 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.0008352/0.0008352, allocations: 196 kB / 29.42 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.076/1.076, allocations: 222.9 MB / 254.9 MB, free: 4.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0109/0.0109, allocations: 3.121 MB / 309.9 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.68e-05, allocations: 2.281 kB / 374.2 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu2): time 0.1029/0.1029, allocations: 9.316 MB / 383.5 MB, free: 49.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.1069, allocations: 3.958 MB / 387.4 MB, free: 48.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.1074, allocations: 42.41 kB / 387.5 MB, free: 48.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006498/0.1081, allocations: 475.1 kB / 387.9 MB, free: 48.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008438/0.1089, allocations: 0.6314 MB / 388.6 MB, free: 47.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1107, allocations: 1.543 MB / 390.1 MB, free: 47.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.1124, allocations: 3.177 MB / 393.3 MB, free: 47.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1137, allocations: 1.426 MB / 394.7 MB, free: 46.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.1145, allocations: 1.111 MB / 395.8 MB, free: 45.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.1153, allocations: 1.193 MB / 397 MB, free: 45.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.1156, allocations: 312.9 kB / 397.3 MB, free: 45.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.1162, allocations: 483.3 kB / 397.8 MB, free: 45.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001587/0.1177, allocations: 3.83 MB / 401.6 MB, free: 42.47 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007284/0.1185, allocations: 2.295 MB / 403.9 MB, free: 40.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.1188, allocations: 431.1 kB / 404.3 MB, free: 40.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001878/0.119, allocations: 46.48 kB / 404.4 MB, free: 40.55 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.005624/0.1246, allocations: 10.31 MB / 414.7 MB, free: 32.25 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001124/0.1258, allocations: 2.331 MB / 417 MB, free: 29.79 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008874/0.1267, allocations: 1.295 MB / 418.3 MB, free: 28.59 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002944/0.127, allocations: 432.1 kB / 418.7 MB, free: 28.3 MB / 302.1 MB Notification: Performance of Alias: time 0.007591/0.1346, allocations: 11.2 MB / 429.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simplify2: time 0.000168/0.1347, allocations: 206.4 kB / 430.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of Events: time 0.0007908/0.1355, allocations: 1.131 MB / 431.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007965/0.1363, allocations: 1.336 MB / 432.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009249/0.1373, allocations: 1.452 MB / 434.1 MB, free: 12.27 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_223) 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_255) slice: {} [SCAL] (1) (idealGear.flange_b.phi - wheel.fixedR.phi0) * wheel.radius = (mass.s - 0.5 * mass.L) - wheel.fixedT.s0 ($RES_SIM_79) slice: {}