Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001683, allocations: 96.03 kB / 16.24 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 189.8 kB / 17.18 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.052/1.052, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03202/0.03202, allocations: 8.017 MB / 299 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.459e-05, allocations: 2.281 kB / 361.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004401/0.004428, allocations: 4.102 MB / 365.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.006084, allocations: 1.422 MB / 366.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.006276, allocations: 15.94 kB / 366.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.006571, allocations: 146.9 kB / 366.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.006943, allocations: 198.5 kB / 367 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.007459, allocations: 383.2 kB / 367.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.008155, allocations: 0.9505 MB / 368.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.008634, allocations: 471.7 kB / 368.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.008881, allocations: 319 kB / 369.1 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.00914, allocations: 338.5 kB / 369.5 MB, free: 396 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.009228, allocations: 92 kB / 369.6 MB, free: 304 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.009373, allocations: 128 kB / 369.7 MB, free: 176 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.08484/0.09422, allocations: 1.075 MB / 370.8 MB, free: 51.13 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000169/0.09441, allocations: 0.6506 MB / 371.4 MB, free: 50.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.09455, allocations: 129.6 kB / 371.5 MB, free: 50.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001233/0.09468, allocations: 12.39 kB / 371.5 MB, free: 50.69 MB / 302.1 MB 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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 (151) * Number of variables: 154 (154) Notification: Performance of Bindings: time 0.001597/0.09628, allocations: 3.027 MB / 374.6 MB, free: 49.53 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001351/0.09642, allocations: 205.3 kB / 374.8 MB, free: 49.52 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001335/0.09656, allocations: 140.5 kB / 374.9 MB, free: 49.43 MB / 302.1 MB Notification: Performance of simplify1: time 7.928e-05/0.09665, allocations: 125.2 kB / 375 MB, free: 49.43 MB / 302.1 MB Notification: Performance of Alias: time 0.002173/0.09883, allocations: 3.372 MB / 378.4 MB, free: 48.6 MB / 302.1 MB Notification: Performance of simplify2: time 3.815e-05/0.09888, allocations: 52.7 kB / 378.5 MB, free: 48.6 MB / 302.1 MB Notification: Performance of Events: time 0.0002065/0.09909, allocations: 214.7 kB / 378.7 MB, free: 48.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002502/0.09935, allocations: 352.3 kB / 379 MB, free: 48.52 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002827/0.09964, allocations: 375.3 kB / 379.4 MB, free: 48.46 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5) Unmatched Variables ************************* [DER-] (1) output Real $DER.oneFlange.constPDC.integrator1.y slice: {} [ALGB] (1) output Real powMech.power slice: {} [ALGB] (1) output Real oneFlange.toElePow.normalizeTau.y slice: {} [ALGB] (1) input Real oneFlange.variableLimiter.limit2 slice: {} [ALGB] (1) Real loadTorque.w slice: {} (4) Unmatched Equations ************************* [SCAL] (1) inertia.w = $DER.inertia.phi ($RES_SIM_71) slice: {} [SCAL] (1) loadTorque.phi = inertia.phi ($RES_SIM_65) slice: {} [ALGO] (3) ($RES_SIM_3) [----] if oneFlange.toElePow.abs1.u < oneFlange.limTau.powMax / oneFlange.limTau.tauMax then [----] oneFlange.limTau.state := 0; [----] oneFlange.variableLimiter.limit1 := oneFlange.limTau.tauMax; [----] elseif true then [----] oneFlange.limTau.state := 1; [----] oneFlange.variableLimiter.limit1 := oneFlange.limTau.powMax / oneFlange.toElePow.abs1.u; [----] end if; [----] if oneFlange.toElePow.abs1.u > oneFlange.limTau.wMax then [----] if oneFlange.toElePow.abs1.u < (1.0 + oneFlange.limTau.alpha) * oneFlange.limTau.wMax then [----] oneFlange.limTau.state := 2; [----] oneFlange.variableLimiter.limit1 := (oneFlange.limTau.powMax / oneFlange.limTau.wMax) * (1.0 - (oneFlange.toElePow.abs1.u - oneFlange.limTau.wMax) / (oneFlange.limTau.wMax * oneFlange.limTau.alpha)); [----] elseif true then [----] oneFlange.limTau.state := 3; [----] oneFlange.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] oneFlange.variableLimiter.limit2 := -oneFlange.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_2) [----] if noEvent(oneFlange.toElePow.PMOT.y <= 0.0) then [----] oneFlange.gain.u := oneFlange.toElePow.PMOT.y * oneFlange.toElePow.toEff.y; [----] elseif true then [----] oneFlange.gain.u := oneFlange.toElePow.PMOT.y / oneFlange.toElePow.toEff.y; [----] end if; slice: {}