Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1143/0.1143, allocations: 12.6 MB / 28.91 MB, free: 0.6055 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 115.5 kB / 32.51 MB, free: 3.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.431/0.431, allocations: 78.51 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 139.8 kB / 0.5565 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1194, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A): time 0.009563/0.1291, allocations: 9.484 MB / 0.6323 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.1351, allocations: 2.948 MB / 0.6352 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1364, allocations: 16 kB / 0.6352 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.1374, allocations: 356.8 kB / 0.6356 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.1405, allocations: 1.322 MB / 0.6369 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1424, allocations: 0.9043 MB / 0.6377 GB, free: 348 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.1455, allocations: 2.83 MB / 0.6405 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.1464, allocations: 0.5941 MB / 0.6411 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.1478, allocations: 1.054 MB / 0.6421 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.1491, allocations: 1.319 MB / 0.6434 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.1494, allocations: 240 kB / 0.6436 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000786/0.1502, allocations: 0.4919 MB / 0.6441 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.1506, allocations: 0.5642 MB / 0.6447 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.1515, allocations: 1.107 MB / 0.6457 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.1541, allocations: 2.924 MB / 0.6486 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1541, allocations: 0 / 0.6486 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1542, allocations: 0 / 0.6486 GB, free: 5.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.1542, allocations: 0 / 0.6486 GB, free: 5.145 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.01454/0.1687, allocations: 4.17 MB / 0.6527 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1688, allocations: 11.98 kB / 0.6527 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/0.1735, allocations: 0.8012 MB / 0.6535 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.1756, allocations: 1.29 MB / 0.6547 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005509/0.1762, allocations: 0.5662 MB / 0.6553 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.1764, allocations: 151.8 kB / 0.6554 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.18, allocations: 1.716 MB / 0.6571 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.18, allocations: 8 kB / 0.6571 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.1802, allocations: 55.94 kB / 0.6572 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.1802, allocations: 28 kB / 0.6572 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.1838, allocations: 1.614 MB / 0.6588 GB, free: 10.47 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.1939, allocations: 5.901 MB / 0.6645 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009626/0.2036, allocations: 3.33 MB / 0.6678 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.2059, allocations: 1.108 MB / 0.6689 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/0.2065, allocations: 0.7419 MB / 0.6696 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002582/0.2091, allocations: 1.242 MB / 0.6708 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=156): time 3.958e-06/0.2091, allocations: 0 / 0.6708 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04836/0.2574, allocations: 11.43 MB / 0.682 GB, free: 2.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/0.2576, allocations: 175.5 kB / 0.6821 GB, free: 1.902 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.2602, allocations: 1.618 MB / 0.6837 GB, free: 288 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003587/0.2606, allocations: 61.7 kB / 0.6838 GB, free: 220 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/0.2611, allocations: 0.707 MB / 0.6845 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.2617, allocations: 0.5509 MB / 0.685 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007175/0.2625, allocations: 399.9 kB / 0.6854 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.2626, allocations: 309.1 kB / 0.6857 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.2652, allocations: 1.134 MB / 0.6868 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.268, allocations: 1.349 MB / 0.6881 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005401/0.2734, allocations: 2.44 MB / 0.6905 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2735, allocations: 4 kB / 0.6905 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01113/0.2846, allocations: 4.347 MB / 0.6947 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.2847, allocations: 37.7 kB / 0.6948 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2847, allocations: 0 / 0.6948 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.2967, allocations: 3.459 MB / 0.6981 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.2984, allocations: 287.6 kB / 0.6984 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/0.3084, allocations: 3.784 MB / 0.7021 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.3114, allocations: 293.9 kB / 0.7024 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.3116, allocations: 87.95 kB / 0.7025 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003111/0.3147, allocations: 1.376 MB / 0.7038 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002746/0.3174, allocations: 1.341 MB / 0.7051 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005235/0.3227, allocations: 2.424 MB / 0.7075 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.3227, allocations: 0 / 0.7075 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=278) (initialization_lambda0): time 0.01123/0.334, allocations: 4.312 MB / 0.7117 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.334, allocations: 37.69 kB / 0.7117 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3341, allocations: 4 kB / 0.7118 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2601/0.5942, allocations: 3.433 MB / 0.7151 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.5959, allocations: 290.2 kB / 0.7154 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.6053, allocations: 3.706 MB / 0.719 GB, free: 82.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.608, allocations: 266.5 kB / 0.7193 GB, free: 82.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.6082, allocations: 80.05 kB / 0.7193 GB, free: 82.63 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(35,69)} Notification: Performance of prepare postOptimizeDAE: time 0.0005013/0.6087, allocations: 321.2 kB / 0.7196 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.6091, allocations: 195.3 kB / 0.7198 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/0.6275, allocations: 5.408 MB / 0.7251 GB, free: 81.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.979e-05/0.6276, allocations: 7.641 kB / 0.7251 GB, free: 81.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6276, allocations: 0.8438 kB / 0.7251 GB, free: 81.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.6284, allocations: 306.6 kB / 0.7254 GB, free: 80.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004539/0.6288, allocations: 37.36 kB / 0.7254 GB, free: 80.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.6306, allocations: 160.2 kB / 0.7256 GB, free: 80.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/0.6325, allocations: 0.5816 MB / 0.7262 GB, free: 80.7 MB / 0.5137 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): eSAC2A.rotatingExciterWithDemagnetization.EFD = if eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper then eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax else if eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower then eSAC2A.rotatingExciterWithDemagnetization.sISO.outMin else eSAC2A.rotatingExciterWithDemagnetization.sISO.w 2/2 (1): eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax = eSAC2A.division.u1 / eSAC2A.DiffV2.y 3/3 (1): eSAC2A.DiffV2.y = eSAC2A.DiffV2.k1 * eSAC2A.const.k + eSAC2A.DiffV2.k2 * eSAC2A.DiffV2.u2 4/4 (1): eSAC2A.DiffV2.u2 = OpenIPSL.NonElectrical.Functions.SE(eSAC2A.EFD, eSAC2A.se1.SE1, eSAC2A.se1.SE2, eSAC2A.se1.E1, eSAC2A.se1.E2) 5/5 (1): eSAC2A.EFD = eSAC2A.rotatingExciterWithDemagnetization.EFD * eSAC2A.rectifierCommutationVoltageDrop.fEX.y 6/6 (1): eSAC2A.rectifierCommutationVoltageDrop.fEX.y = if eSAC2A.rectifierCommutationVoltageDrop.division.y <= 0.0 then 1.0 else if eSAC2A.rectifierCommutationVoltageDrop.division.y > 0.0 and eSAC2A.rectifierCommutationVoltageDrop.division.y <= 0.433 then 1.0 + (-0.577) * eSAC2A.rectifierCommutationVoltageDrop.division.y else if eSAC2A.rectifierCommutationVoltageDrop.division.y > 0.433 and eSAC2A.rectifierCommutationVoltageDrop.division.y < 0.75 then sqrt(0.75 - eSAC2A.rectifierCommutationVoltageDrop.division.y ^ 2.0) else if eSAC2A.rectifierCommutationVoltageDrop.division.y >= 0.75 and eSAC2A.rectifierCommutationVoltageDrop.division.y <= 1.0 then 1.732 * (1.0 - eSAC2A.rectifierCommutationVoltageDrop.division.y) else 0.0 7/7 (1): eSAC2A.rectifierCommutationVoltageDrop.division.y = eSAC2A.rectifierCommutationVoltageDrop.gain2.y / eSAC2A.rotatingExciterWithDemagnetization.EFD 8/8 (1): eSAC2A.rotatingExciterWithDemagnetization.se1.VE_OUT = OpenIPSL.NonElectrical.Functions.SE(eSAC2A.rotatingExciterWithDemagnetization.EFD, eSAC2A.rotatingExciterWithDemagnetization.se1.SE1, eSAC2A.rotatingExciterWithDemagnetization.se1.SE2, eSAC2A.rotatingExciterWithDemagnetization.se1.E1, eSAC2A.rotatingExciterWithDemagnetization.se1.E2) 9/9 (1): eSAC2A.rotatingExciterWithDemagnetization.VE.y = eSAC2A.rotatingExciterWithDemagnetization.EFD * eSAC2A.rotatingExciterWithDemagnetization.se1.VE_OUT 10/10 (1): eSAC2A.gain.u = eSAC2A.rotatingExciterWithDemagnetization.Sum.k1 * eSAC2A.rotatingExciterWithDemagnetization.VE.y + eSAC2A.rotatingExciterWithDemagnetization.Sum.k2 * eSAC2A.rotatingExciterWithDemagnetization.gain.y + eSAC2A.rotatingExciterWithDemagnetization.Sum.k3 * eSAC2A.XADIFD 11/11 (1): eSAC2A.gain.y = eSAC2A.gain.k * eSAC2A.gain.u 12/12 (1): eSAC2A.DiffV3.y = eSAC2A.DiffV3.k1 * eSAC2A.gain.y + eSAC2A.DiffV3.k2 * eSAC2A.simpleLagLim.y 13/13 (1): eSAC2A.gain1.y = eSAC2A.gain1.k * eSAC2A.DiffV3.y 14/14 (1): eSAC2A.hV_GATE.y = max(eSAC2A.gain1.y, minusInf.k) 15/15 (1): eSAC2A.limiter1.u = min(eSAC2A.hV_GATE.y, plusInf.k) 16/16 (1): eSAC2A.limiter1.y = smooth(0, if eSAC2A.limiter1.u > eSAC2A.limiter1.uMax then eSAC2A.limiter1.uMax else if eSAC2A.limiter1.u < eSAC2A.limiter1.uMin then eSAC2A.limiter1.uMin else eSAC2A.limiter1.u) 17/17 (1): eSAC2A.rotatingExciterWithDemagnetization.feedback.y = eSAC2A.limiter1.y - eSAC2A.gain.u 18/18 (6): algorithm eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar := $START.eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar; eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit := pre(eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit); eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower := pre(eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower); eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper := pre(eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper); eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling := pre(eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling); eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising := pre(eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising); if eSAC2A.rotatingExciterWithDemagnetization.feedback.y > 1e-15 then eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling := false; elseif eSAC2A.rotatingExciterWithDemagnetization.feedback.y < -1e-15 then eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising := false; eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling := true; else eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising := false; eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling := false; end if; if eSAC2A.rotatingExciterWithDemagnetization.sISO.w > eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax then eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower := false; elseif eSAC2A.rotatingExciterWithDemagnetization.sISO.w < eSAC2A.rotatingExciterWithDemagnetization.sISO.outMin then eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper := false; else eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper := false; eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower := false; end if; if eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper and eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling then eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar := eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax; elseif eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower and eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising then eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar := eSAC2A.rotatingExciterWithDemagnetization.sISO.outMin; end if; 19/24 (1): eSAC2A.derivative.y = eSAC2A.derivative.k * (eSAC2A.gain.u - eSAC2A.derivative.x) / eSAC2A.derivative.T 20/25 (1): eSAC2A.add3_1.y = eSAC2A.add3_1.k1 * zero.k + eSAC2A.add3_1.k2 * eSAC2A.DiffV.y + eSAC2A.add3_1.k3 * eSAC2A.derivative.y 21/26 (1): eSAC2A.imLeadLag.y = if abs(eSAC2A.imLeadLag.T1 - eSAC2A.imLeadLag.T2) < 1e-15 then eSAC2A.imLeadLag.K * eSAC2A.add3_1.y else eSAC2A.imLeadLag.TF.y 22/27 (1): eSAC2A.simpleLagLim.y = if abs(eSAC2A.simpleLagLim.T) <= 1e-15 then max(min(eSAC2A.imLeadLag.y * eSAC2A.simpleLagLim.K, eSAC2A.simpleLagLim.outMax), eSAC2A.simpleLagLim.outMin) else max(min(eSAC2A.simpleLagLim.state, eSAC2A.simpleLagLim.outMax), eSAC2A.simpleLagLim.outMin) 23/28 (1): eSAC2A.imLeadLag.TF.y = (eSAC2A.imLeadLag.TF.bb[2] - eSAC2A.imLeadLag.TF.d * eSAC2A.imLeadLag.TF.a[2]) * eSAC2A.imLeadLag.TF.x[1] + eSAC2A.imLeadLag.TF.d * eSAC2A.add3_1.y 24/29 (1): eSAC2A.rotatingExciterWithDemagnetization.gain.y = eSAC2A.rotatingExciterWithDemagnetization.gain.k * eSAC2A.rotatingExciterWithDemagnetization.EFD Variables: 1: eSAC2A.rotatingExciterWithDemagnetization.gain.y:VARIABLE(flow=false ) "Output signal connector" type: Real 2: eSAC2A.imLeadLag.TF.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 3: eSAC2A.simpleLagLim.y:VARIABLE(flow=false start = eSAC2A.simpleLagLim.y_start ) "Connector of Real output signal" type: Real 4: eSAC2A.imLeadLag.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 5: eSAC2A.add3_1.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 6: eSAC2A.derivative.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 7: eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling:DISCRETE(protected = true ) "Flag to know if input is negative" type: Boolean 8: eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper:DISCRETE(protected = true ) "Flag for reaching upper limit" type: Boolean 9: eSAC2A.rotatingExciterWithDemagnetization.feedback.y:VARIABLE(flow=false ) type: Real 10: eSAC2A.limiter1.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 11: eSAC2A.limiter1.u:VARIABLE(flow=false ) "Connector of Real input signal" type: Real 12: eSAC2A.hV_GATE.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 13: eSAC2A.gain1.y:VARIABLE(flow=false ) "Output signal connector" type: Real 14: eSAC2A.DiffV3.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 15: eSAC2A.gain.y:VARIABLE(flow=false ) "Output signal connector" type: Real 16: eSAC2A.gain.u:VARIABLE(flow=false ) "Input signal connector" type: Real 17: eSAC2A.rotatingExciterWithDemagnetization.VE.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 18: eSAC2A.rotatingExciterWithDemagnetization.se1.VE_OUT:VARIABLE(flow=false ) "Saturated Output" type: Real 19: eSAC2A.rotatingExciterWithDemagnetization.EFD:VARIABLE(flow=false ) type: Real 20: eSAC2A.rectifierCommutationVoltageDrop.division.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 21: eSAC2A.rectifierCommutationVoltageDrop.fEX.y:VARIABLE(flow=false ) type: Real 22: eSAC2A.EFD:VARIABLE(flow=false ) "Excitation Voltage [pu]" type: Real 23: eSAC2A.DiffV2.u2:VARIABLE(flow=false ) "Connector of Real input signal 2" type: Real 24: eSAC2A.DiffV2.y:VARIABLE(flow=false ) "Connector of Real output signal" type: Real 25: eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax:VARIABLE(flow=false ) type: Real 26: eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower:DISCRETE(protected = true ) "Flag for reaching lower limit" type: Boolean 27: eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar:VARIABLE(protected = true ) "Dummy variable to be used as setting quantity" type: Real 28: eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit:DISCRETE(protected = true ) "Flag to reset state variable" type: Boolean 29: eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising:DISCRETE(protected = true ) "Flag to know if input is positive" type: Boolean [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006132/0.6386, allocations: 2.538 MB / 0.7286 GB, free: 79.14 MB / 0.5137 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A could not be translated