Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEV.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.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04236/0.04237, 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.0008237/0.0008238, allocations: 106 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.0009204/0.0009204, allocations: 187.9 kB / 29.41 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.079/1.079, 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.01089/0.01089, allocations: 3.129 MB / 309.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.836e-05, allocations: 2.281 kB / 374.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.09258/0.09261, allocations: 6.575 MB / 380.7 MB, free: 50.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.09599, allocations: 3.204 MB / 383.9 MB, free: 49.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.09642, allocations: 26.53 kB / 384 MB, free: 49.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.09693, allocations: 267.9 kB / 384.2 MB, free: 49.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.09761, allocations: 404.2 kB / 384.6 MB, free: 49.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.09886, allocations: 0.9501 MB / 385.6 MB, free: 49.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.09995, allocations: 1.983 MB / 387.5 MB, free: 48.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.1005, allocations: 0.6561 MB / 388.2 MB, free: 48.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.101, allocations: 0.6815 MB / 388.9 MB, free: 48.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.1015, allocations: 0.6997 MB / 389.6 MB, free: 48.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.1016, allocations: 176.7 kB / 389.8 MB, free: 48.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.102, allocations: 321.7 kB / 390.1 MB, free: 48.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009247/0.1029, allocations: 2.244 MB / 392.3 MB, free: 47.33 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004144/0.1033, allocations: 1.307 MB / 393.6 MB, free: 46.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1035, allocations: 244.2 kB / 393.9 MB, free: 46.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001205/0.1037, allocations: 26.56 kB / 393.9 MB, free: 46.38 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.003386/0.1071, allocations: 5.819 MB / 399.7 MB, free: 43.04 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0006445/0.1077, allocations: 1.127 MB / 400.8 MB, free: 42.17 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005285/0.1082, allocations: 0.7441 MB / 401.6 MB, free: 41.64 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001531/0.1084, allocations: 243.5 kB / 401.8 MB, free: 41.52 MB / 302.1 MB Notification: Performance of Alias: time 0.004291/0.1127, allocations: 5.698 MB / 407.5 MB, free: 37.86 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001033/0.1128, allocations: 130.9 kB / 407.6 MB, free: 37.8 MB / 302.1 MB Notification: Performance of Events: time 0.0006699/0.1135, allocations: 0.8392 MB / 408.5 MB, free: 37.19 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005827/0.1141, allocations: 0.85 MB / 409.3 MB, free: 36.59 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006648/0.1148, allocations: 0.9961 MB / 410.3 MB, free: 35.54 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: {}