Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 101.6 kB / 16.25 MB, free: 6.352 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.001669/0.001669, allocations: 181.5 kB / 17.17 MB, free: 5.957 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.008/1.008, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03104/0.03104, allocations: 8.023 MB / 299 MB, free: 6.922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.547e-05, allocations: 6.219 kB / 361.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004453/0.004481, allocations: 4.285 MB / 365.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.006151, allocations: 1.461 MB / 366.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.006352, allocations: 19.94 kB / 366.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.00667, allocations: 154.8 kB / 367.1 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.007043, allocations: 202.4 kB / 367.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.007549, allocations: 402.8 kB / 367.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000711/0.008268, allocations: 1.013 MB / 368.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.008766, allocations: 0.497 MB / 369.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.009018, allocations: 342.8 kB / 369.5 MB, free: 356 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.08992/0.09895, allocations: 366.2 kB / 369.9 MB, free: 51.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.09922, allocations: 97.75 kB / 370 MB, free: 51.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.09948, allocations: 131.6 kB / 370.1 MB, free: 51.23 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005331/0.1, allocations: 1.165 MB / 371.3 MB, free: 50.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002275/0.1003, allocations: 0.6954 MB / 372 MB, free: 50.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1004, allocations: 139.6 kB / 372.1 MB, free: 50.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001177/0.1006, allocations: 16.03 kB / 372.1 MB, free: 50.23 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 "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 "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: 169 (167) * Number of variables: 170 (170) Notification: Performance of Bindings: time 0.001905/0.1025, allocations: 3.253 MB / 375.4 MB, free: 49 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002089/0.1027, allocations: 215.6 kB / 375.6 MB, free: 48.98 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001494/0.1028, allocations: 146.4 kB / 375.7 MB, free: 48.89 MB / 302.1 MB Notification: Performance of simplify1: time 9.237e-05/0.1029, allocations: 137.7 kB / 375.9 MB, free: 48.89 MB / 302.1 MB Notification: Performance of Alias: time 0.002678/0.1056, allocations: 3.673 MB / 379.5 MB, free: 48 MB / 302.1 MB Notification: Performance of simplify2: time 6.801e-05/0.1057, allocations: 62.31 kB / 379.6 MB, free: 48 MB / 302.1 MB Notification: Performance of Events: time 0.0002262/0.1059, allocations: 209.4 kB / 379.8 MB, free: 47.97 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003085/0.1062, allocations: 382.6 kB / 380.2 MB, free: 47.9 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003098/0.1066, allocations: 398.7 kB / 380.6 MB, free: 47.84 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (6) Unmatched Variables ************************* [ALGB] (1) input Real twoFlanges.constPDC.integrator1.u slice: {} [ALGB] (1) Real twoFlanges.inertia.a slice: {} [ALGB] (1) Real loadTorque.w slice: {} [ALGB] (1) input Real twoFlanges.torqueLimiter.limit1 slice: {} [ALGB] (1) Real inertia.a slice: {} [ALGB] (1) Real tau1.w slice: {} (5) Unmatched Equations ************************* [SCAL] (1) tau1.phi = inertia.phi ($RES_SIM_11) slice: {} [SCAL] (1) loadTorque.phi = inertia.phi ($RES_SIM_74) slice: {} [SCAL] (1) inertia.w = $DER.inertia.phi ($RES_SIM_80) slice: {} [ALGO] (3) ($RES_SIM_3) [----] if twoFlanges.effMap.abs1.u < twoFlanges.limTau.powMax / twoFlanges.limTau.tauMax then [----] twoFlanges.limTau.state := 0; [----] twoFlanges.torqueLimiter.limit1 := twoFlanges.limTau.tauMax; [----] elseif true then [----] twoFlanges.limTau.state := 1; [----] twoFlanges.torqueLimiter.limit1 := twoFlanges.limTau.powMax / twoFlanges.effMap.abs1.u; [----] end if; [----] if twoFlanges.effMap.abs1.u > twoFlanges.limTau.wMax then [----] if twoFlanges.effMap.abs1.u < (1.0 + twoFlanges.limTau.alpha) * twoFlanges.limTau.wMax then [----] twoFlanges.limTau.state := 2; [----] twoFlanges.torqueLimiter.limit1 := (twoFlanges.limTau.powMax / twoFlanges.limTau.wMax) * (1.0 - (twoFlanges.effMap.abs1.u - twoFlanges.limTau.wMax) / (twoFlanges.limTau.wMax * twoFlanges.limTau.alpha)); [----] elseif true then [----] twoFlanges.limTau.state := 3; [----] twoFlanges.torqueLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] twoFlanges.torqueLimiter.limit2 := -twoFlanges.torqueLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_2) [----] if noEvent(twoFlanges.effMap.PMOT.y <= 0.0) then [----] twoFlanges.constPDC.feedback1.u1 := twoFlanges.effMap.PMOT.y * twoFlanges.effMap.toEff.y; [----] elseif true then [----] twoFlanges.constPDC.feedback1.u1 := twoFlanges.effMap.PMOT.y / twoFlanges.effMap.toEff.y; [----] end if; slice: {}