Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.PSD.PSecu1.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.PSecu1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu1") translateModel(EHPTexamples.PSD.PSecu1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.PSD.PSecu1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04545/0.04545, allocations: 8.002 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.0008115/0.0008115, allocations: 110.8 kB / 26.74 MB, free: 3.273 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.0008867/0.0008866, allocations: 189.6 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.077/1.077, allocations: 222.9 MB / 254.9 MB, free: 4.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01084/0.01084, allocations: 3.112 MB / 309.9 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.683e-05, allocations: 2.281 kB / 374.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.PSD.PSecu1): time 0.1015/0.1015, allocations: 9.224 MB / 383.4 MB, free: 48.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.1065, allocations: 3.971 MB / 387.4 MB, free: 47.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1076, allocations: 43.78 kB / 387.4 MB, free: 47.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007854/0.1084, allocations: 475.3 kB / 387.9 MB, free: 47.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1095, allocations: 0.6172 MB / 388.5 MB, free: 47.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1117, allocations: 1.587 MB / 390.1 MB, free: 47.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.1136, allocations: 3.165 MB / 393.2 MB, free: 46.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1149, allocations: 1.408 MB / 394.6 MB, free: 46.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.1158, allocations: 1.112 MB / 395.7 MB, free: 45.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.1166, allocations: 1.185 MB / 396.9 MB, free: 45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.1169, allocations: 310.5 kB / 397.2 MB, free: 45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005877/0.1175, allocations: 479.2 kB / 397.7 MB, free: 44.95 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001573/0.1191, allocations: 3.804 MB / 401.5 MB, free: 42.35 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000726/0.1198, allocations: 2.262 MB / 403.8 MB, free: 40.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.1201, allocations: 431.7 kB / 404.2 MB, free: 40.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002184/0.1204, allocations: 44.45 kB / 404.2 MB, free: 40.45 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 "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: 496 (492) * Number of variables: 503 (503) Notification: Performance of Bindings: time 0.005868/0.1262, allocations: 10.53 MB / 414.8 MB, free: 32.06 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0009842/0.1272, allocations: 2.021 MB / 416.8 MB, free: 29.98 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009111/0.1281, allocations: 1.282 MB / 418.1 MB, free: 28.79 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003061/0.1285, allocations: 426.8 kB / 418.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of Alias: time 0.007681/0.1361, allocations: 11.1 MB / 429.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001704/0.1363, allocations: 199.5 kB / 429.8 MB, free: 16.56 MB / 302.1 MB Notification: Performance of Events: time 0.0008565/0.1372, allocations: 1.223 MB / 431 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008785/0.1381, allocations: 1.348 MB / 432.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0009532/0.139, allocations: 1.458 MB / 433.8 MB, free: 12.45 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: {}