Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 97.53 kB / 16.25 MB, free: 6.355 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.001743/0.001743, allocations: 183.8 kB / 17.18 MB, free: 5.961 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.046/1.046, 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.03199/0.03199, allocations: 8.022 MB / 299 MB, free: 6.934 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.553e-05, allocations: 6.219 kB / 361.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004514/0.004543, allocations: 4.13 MB / 365.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.006507, allocations: 1.43 MB / 366.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.00684, allocations: 16 kB / 366.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.007204, allocations: 146.8 kB / 366.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.007687, allocations: 198.5 kB / 367.1 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.008294, allocations: 387.3 kB / 367.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007837/0.009087, allocations: 0.9548 MB / 368.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.009664, allocations: 0.5125 MB / 368.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.009971, allocations: 330.8 kB / 369.2 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.01028, allocations: 350.5 kB / 369.6 MB, free: 288 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.165e-05/0.01037, allocations: 96 kB / 369.7 MB, free: 192 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.01054, allocations: 135.9 kB / 369.8 MB, free: 56 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.09168/0.1022, allocations: 1.094 MB / 370.9 MB, free: 51.01 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002136/0.1025, allocations: 0.6656 MB / 371.6 MB, free: 50.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1026, allocations: 137.1 kB / 371.7 MB, free: 50.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001036/0.1027, allocations: 10.56 kB / 371.7 MB, free: 50.52 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 "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: 159 (157) * Number of variables: 161 (161) Notification: Performance of Bindings: time 0.001823/0.1046, allocations: 3.132 MB / 374.8 MB, free: 49.33 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001847/0.1048, allocations: 202.6 kB / 375 MB, free: 49.32 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001441/0.1049, allocations: 138.8 kB / 375.2 MB, free: 49.23 MB / 302.1 MB Notification: Performance of simplify1: time 8.926e-05/0.105, allocations: 132.9 kB / 375.3 MB, free: 49.23 MB / 302.1 MB Notification: Performance of Alias: time 0.002506/0.1075, allocations: 3.533 MB / 378.8 MB, free: 48.38 MB / 302.1 MB Notification: Performance of simplify2: time 5.811e-05/0.1076, allocations: 53.86 kB / 378.9 MB, free: 48.38 MB / 302.1 MB Notification: Performance of Events: time 0.0002268/0.1078, allocations: 212.6 kB / 379.1 MB, free: 48.35 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002673/0.1081, allocations: 345.7 kB / 379.4 MB, free: 48.3 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003018/0.1084, allocations: 378 kB / 379.8 MB, free: 48.23 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5) Unmatched Variables ************************* [ALGB] (1) output Real powMech.power slice: {} [DER-] (1) output Real $DER.oneFlangeConn.constPDC.integrator1.y slice: {} [ALGB] (1) Real oneFlangeConn.inertia.a slice: {} [ALGB] (1) Real loadTorque.w slice: {} [ALGB] (1) input Real oneFlangeConn.variableLimiter.limit2 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 toConnGenTauNorm.conn.genW < oneFlangeConn.limTau.powMax / oneFlangeConn.limTau.tauMax then [----] oneFlangeConn.limTau.state := 0; [----] oneFlangeConn.variableLimiter.limit1 := oneFlangeConn.limTau.tauMax; [----] elseif true then [----] oneFlangeConn.limTau.state := 1; [----] oneFlangeConn.variableLimiter.limit1 := oneFlangeConn.limTau.powMax / toConnGenTauNorm.conn.genW; [----] end if; [----] if toConnGenTauNorm.conn.genW > oneFlangeConn.limTau.wMax then [----] if toConnGenTauNorm.conn.genW < (1.0 + oneFlangeConn.limTau.alpha) * oneFlangeConn.limTau.wMax then [----] oneFlangeConn.limTau.state := 2; [----] oneFlangeConn.variableLimiter.limit1 := (oneFlangeConn.limTau.powMax / oneFlangeConn.limTau.wMax) * (1.0 - (toConnGenTauNorm.conn.genW - oneFlangeConn.limTau.wMax) / (oneFlangeConn.limTau.wMax * oneFlangeConn.limTau.alpha)); [----] elseif true then [----] oneFlangeConn.limTau.state := 3; [----] oneFlangeConn.variableLimiter.limit1 := 0.0; [----] end if; [----] end if; [----] oneFlangeConn.variableLimiter.limit2 := -oneFlangeConn.variableLimiter.limit1; slice: {1, 2} [ALGO] (1) ($RES_SIM_2) [----] if noEvent(oneFlangeConn.toElePow.PMOT.y <= 0.0) then [----] oneFlangeConn.gain.u := oneFlangeConn.toElePow.PMOT.y * oneFlangeConn.toElePow.toEff.y; [----] elseif true then [----] oneFlangeConn.gain.u := oneFlangeConn.toElePow.PMOT.y / oneFlangeConn.toElePow.toEff.y; [----] end if; slice: {}