Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEVdata.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.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03548/0.03548, allocations: 8.003 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.0008533/0.0008534, allocations: 113.6 kB / 26.73 MB, free: 3.289 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.0008921/0.0008922, allocations: 190.1 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.095/1.095, allocations: 222.9 MB / 254.9 MB, free: 4.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01127/0.01127, allocations: 3.121 MB / 309.9 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/1.885e-05, allocations: 6.219 kB / 374.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.09603/0.09606, allocations: 6.655 MB / 380.8 MB, free: 50.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.0994, allocations: 3.343 MB / 384.2 MB, free: 49.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.09977, allocations: 26.25 kB / 384.2 MB, free: 49.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.1003, allocations: 310.5 kB / 384.5 MB, free: 49.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.1009, allocations: 413.5 kB / 384.9 MB, free: 49.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1021, allocations: 0.9487 MB / 385.8 MB, free: 48.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1031, allocations: 2.008 MB / 387.9 MB, free: 48.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.1037, allocations: 0.6547 MB / 388.5 MB, free: 48.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1041, allocations: 0.6867 MB / 389.2 MB, free: 48.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.1045, allocations: 0.7148 MB / 389.9 MB, free: 48.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.1047, allocations: 177.7 kB / 390.1 MB, free: 48.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.1051, allocations: 337.2 kB / 390.4 MB, free: 48.26 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009417/0.106, allocations: 2.299 MB / 392.7 MB, free: 47.07 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004185/0.1064, allocations: 1.337 MB / 394 MB, free: 46.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.1066, allocations: 253.9 kB / 394.3 MB, free: 46.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.601e-05/0.1067, allocations: 22.06 kB / 394.3 MB, free: 46.1 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 "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 "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: 272 (270) * Number of variables: 275 (275) Notification: Performance of Bindings: time 0.003577/0.1103, allocations: 6.193 MB / 400.5 MB, free: 42.52 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005529/0.1109, allocations: 0.9567 MB / 401.5 MB, free: 41.75 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005361/0.1114, allocations: 0.7439 MB / 402.2 MB, free: 41.23 MB / 302.1 MB Notification: Performance of simplify1: time 0.00015/0.1116, allocations: 245.7 kB / 402.5 MB, free: 41.11 MB / 302.1 MB Notification: Performance of Alias: time 0.00426/0.1159, allocations: 5.704 MB / 408.2 MB, free: 37.43 MB / 302.1 MB Notification: Performance of simplify2: time 9.689e-05/0.116, allocations: 131.2 kB / 408.3 MB, free: 37.38 MB / 302.1 MB Notification: Performance of Events: time 0.0006917/0.1167, allocations: 0.8564 MB / 409.1 MB, free: 36.71 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005774/0.1172, allocations: 0.8539 MB / 410 MB, free: 35.95 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006607/0.1179, allocations: 0.9843 MB / 411 MB, free: 34.89 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5) Unmatched Variables ************************* [ALGB] (1) input Real eleDrive.variableLimiter.limit1 slice: {} [DER-] (1) Real $DER.enBraking slice: {} [ALGB] (1) output Real eleDrive.toElePow.toEff.y slice: {} [ALGB] (1) output Real eleDrive.gain.y slice: {} [ALGB] (1) flow Real mass.flange_b.f slice: {} (4) Unmatched Equations ************************* [SCAL] (1) dragF.s = dragF.flange.s ($RES_SIM_21) slice: {} [SCAL] (1) (gear.flange_b.phi - wheel.fixedR.phi0) * wheel.radius = (-(0.5 * mass.L + (0.5 * mass.L - dragF.flange.s))) - wheel.fixedT.s0 ($RES_SIM_149) slice: {} [ALGO] (3) ($RES_SIM_3) [----] if eleDrive.toElePow.abs1.u < eleDrive.limTau.powMax / eleDrive.limTau.tauMax then [----] eleDrive.limTau.state := 0; [----] eleDrive.variableLimiter.limit1 := eleDrive.limTau.tauMax; [----] elseif true then [----] eleDrive.limTau.state := 1; [----] eleDrive.variableLimiter.limit1 := eleDrive.limTau.powMax / eleDrive.toElePow.abs1.u; [----] end if; [----] if eleDrive.toElePow.abs1.u > eleDrive.limTau.wMax then [----] if eleDrive.toElePow.abs1.u < (1.0 + eleDrive.limTau.alpha) * eleDrive.limTau.wMax then [----] eleDrive.limTau.state := 2; [----] eleDrive.variableLimiter.limit1 := (eleDrive.limTau.powMax / eleDrive.limTau.wMax) * (1.0 - (eleDrive.toElePow.abs1.u - eleDrive.limTau.wMax) / (eleDrive.limTau.wMax * eleDrive.limTau.alpha)); [----] elseif true then [----] eleDrive.limTau.state := 3; [----] eleDrive.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] eleDrive.variableLimiter.limit2 := -eleDrive.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_2) [----] if noEvent(eleDrive.toElePow.PMOT.y <= 0.0) then [----] eleDrive.gain.u := eleDrive.toElePow.PMOT.y * eleDrive.toElePow.toEff.y; [----] elseif true then [----] eleDrive.gain.u := eleDrive.toElePow.PMOT.y / eleDrive.toElePow.toEff.y; [----] end if; slice: {}