Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.404/1.404, allocations: 222.9 MB / 240.1 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 188.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5857/0.5857, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 82.53 kB / 0.5734 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 71.29 MB / 0.643 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A): time 0.009705/0.1155, allocations: 9.441 MB / 0.6522 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.1212, allocations: 2.971 MB / 0.6552 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.1221, allocations: 16 kB / 0.6552 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.123, allocations: 364.8 kB / 0.6555 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.1257, allocations: 1.238 MB / 0.6567 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1275, allocations: 0.9131 MB / 0.6576 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.1302, allocations: 2.678 MB / 0.6602 GB, free: 2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007757/0.131, allocations: 0.5902 MB / 0.6608 GB, free: 1.383 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1322, allocations: 1.051 MB / 0.6618 GB, free: 336 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.1336, allocations: 1.295 MB / 0.6631 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.1339, allocations: 244 kB / 0.6633 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.1348, allocations: 0.4958 MB / 0.6638 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.1352, allocations: 0.5526 MB / 0.6644 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009306/0.1362, allocations: 1.107 MB / 0.6654 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.1389, allocations: 2.912 MB / 0.6683 GB, free: 9.703 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1389, allocations: 0 / 0.6683 GB, free: 9.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1389, allocations: 3.938 kB / 0.6683 GB, free: 9.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.004e-05/0.139, allocations: 0 / 0.6683 GB, free: 9.699 MB / 478.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.01348/0.1524, allocations: 3.963 MB / 0.6722 GB, free: 5.668 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1525, allocations: 8.031 kB / 0.6722 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.1575, allocations: 0.7935 MB / 0.6729 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.1597, allocations: 1.29 MB / 0.6742 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000575/0.1603, allocations: 0.5585 MB / 0.6747 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.1606, allocations: 151.9 kB / 0.6749 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.1642, allocations: 1.724 MB / 0.6766 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.1642, allocations: 0 / 0.6766 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.1644, allocations: 52 kB / 0.6766 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.1644, allocations: 32 kB / 0.6766 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.1681, allocations: 1.618 MB / 0.6782 GB, free: 15.25 MB / 494.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.01038/0.1785, allocations: 5.913 MB / 0.684 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00978/0.1883, allocations: 3.334 MB / 0.6873 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.1907, allocations: 1.104 MB / 0.6883 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/0.1912, allocations: 0.7413 MB / 0.6891 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002691/0.1939, allocations: 1.239 MB / 0.6903 GB, free: 2.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=156): time 4.368e-06/0.194, allocations: 4 kB / 0.6903 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.05066/0.2446, allocations: 11.41 MB / 0.7014 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.2448, allocations: 183.5 kB / 0.7016 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.2472, allocations: 1.611 MB / 0.7032 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/0.2476, allocations: 61.7 kB / 0.7032 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.2481, allocations: 0.707 MB / 0.7039 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005644/0.2487, allocations: 0.5469 MB / 0.7045 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/0.2494, allocations: 403.7 kB / 0.7048 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.2495, allocations: 301.1 kB / 0.7051 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.2522, allocations: 1.146 MB / 0.7062 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/0.255, allocations: 1.341 MB / 0.7076 GB, free: 468 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.2603, allocations: 2.452 MB / 0.7099 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2603, allocations: 0 / 0.7099 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01124/0.2715, allocations: 4.347 MB / 0.7142 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.2716, allocations: 45.69 kB / 0.7142 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2716, allocations: 0 / 0.7142 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/0.2837, allocations: 3.451 MB / 0.7176 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.2853, allocations: 291.6 kB / 0.7179 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/0.2948, allocations: 3.78 MB / 0.7216 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.2976, allocations: 306 kB / 0.7219 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.2979, allocations: 75.97 kB / 0.7219 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003186/0.3011, allocations: 1.371 MB / 0.7233 GB, free: 140 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002853/0.304, allocations: 1.341 MB / 0.7246 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005254/0.3092, allocations: 2.417 MB / 0.7269 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.281e-06/0.3093, allocations: 0 / 0.7269 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=278) (initialization_lambda0): time 0.01119/0.3205, allocations: 4.312 MB / 0.7312 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.3205, allocations: 46 kB / 0.7312 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3206, allocations: 4 kB / 0.7312 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.3325, allocations: 3.443 MB / 0.7346 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.3341, allocations: 291.6 kB / 0.7348 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008987/0.3431, allocations: 3.702 MB / 0.7385 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.3457, allocations: 270.4 kB / 0.7387 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.346, allocations: 72.06 kB / 0.7388 GB, free: 15.98 MB / 0.545 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.0005186/0.3465, allocations: 317.6 kB / 0.7391 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.3469, allocations: 193.6 kB / 0.7393 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/0.3654, allocations: 5.407 MB / 0.7446 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/0.3655, allocations: 3.984 kB / 0.7446 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3655, allocations: 0 / 0.7446 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006862/0.3662, allocations: 314.2 kB / 0.7449 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/0.3667, allocations: 39.98 kB / 0.7449 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/0.3686, allocations: 167.8 kB / 0.7451 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/0.3702, allocations: 0.5746 MB / 0.7456 GB, free: 8.922 MB / 0.545 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.006276/0.3765, allocations: 2.563 MB / 0.7481 GB, free: 6.102 MB / 0.545 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