Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001126/0.001126, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.331/1.331, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.00142/0.00142, allocations: 192.4 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4387/0.4387, allocations: 78.54 MB / 419.1 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 84.08 kB / 0.5543 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 68.16 MB / 0.6209 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A): time 0.007197/0.2893, allocations: 9.432 MB / 0.6301 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.2945, allocations: 2.971 MB / 0.633 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.2953, allocations: 16 kB / 0.633 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.2961, allocations: 352.8 kB / 0.6333 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.2989, allocations: 1.331 MB / 0.6346 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3006, allocations: 0.8985 MB / 0.6355 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.3033, allocations: 2.826 MB / 0.6383 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.3041, allocations: 0.59 MB / 0.6389 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.3052, allocations: 1.058 MB / 0.6399 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.3066, allocations: 1.307 MB / 0.6412 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.3069, allocations: 248 kB / 0.6414 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/0.3077, allocations: 499.7 kB / 0.6419 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.3082, allocations: 0.5604 MB / 0.6424 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.3091, allocations: 1.115 MB / 0.6435 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.312, allocations: 2.931 MB / 0.6464 GB, free: 15.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.312, allocations: 0 / 0.6464 GB, free: 15.99 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.312, allocations: 0 / 0.6464 GB, free: 15.99 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.312, allocations: 0 / 0.6464 GB, free: 15.99 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.01392/0.3259, allocations: 4.25 MB / 0.6505 GB, free: 11.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.326, allocations: 8.031 kB / 0.6505 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/0.3307, allocations: 0.8065 MB / 0.6513 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.3329, allocations: 1.296 MB / 0.6526 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/0.3335, allocations: 0.5662 MB / 0.6531 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.3338, allocations: 155.9 kB / 0.6533 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.3373, allocations: 1.716 MB / 0.655 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3373, allocations: 7.984 kB / 0.655 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.3375, allocations: 56 kB / 0.655 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.3375, allocations: 28 kB / 0.6551 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.3412, allocations: 1.614 MB / 0.6566 GB, free: 5.23 MB / 462.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.01069/0.3519, allocations: 5.918 MB / 0.6624 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009472/0.3614, allocations: 3.319 MB / 0.6657 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.3637, allocations: 1.107 MB / 0.6667 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/0.3644, allocations: 0.7413 MB / 0.6675 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002597/0.367, allocations: 1.241 MB / 0.6687 GB, free: 8.367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 4.128e-06/0.367, allocations: 4 kB / 0.6687 GB, free: 8.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.04745/0.4145, allocations: 11.43 MB / 0.6798 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.4146, allocations: 175.5 kB / 0.68 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.4171, allocations: 1.611 MB / 0.6816 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.4173, allocations: 61.7 kB / 0.6816 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.4179, allocations: 0.7235 MB / 0.6823 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.4185, allocations: 0.5732 MB / 0.6829 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008014/0.4193, allocations: 400 kB / 0.6833 GB, free: 9.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.4194, allocations: 301.1 kB / 0.6836 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.422, allocations: 1.13 MB / 0.6847 GB, free: 7.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.4248, allocations: 1.36 MB / 0.686 GB, free: 6.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.4299, allocations: 2.436 MB / 0.6884 GB, free: 3.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4299, allocations: 4 kB / 0.6884 GB, free: 3.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01087/0.4408, allocations: 4.36 MB / 0.6926 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.4409, allocations: 37.69 kB / 0.6927 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4409, allocations: 4 kB / 0.6927 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/0.4523, allocations: 3.451 MB / 0.6961 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.4537, allocations: 287.6 kB / 0.6963 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/0.4628, allocations: 3.8 MB / 0.7 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.4654, allocations: 298.5 kB / 0.7003 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.4657, allocations: 71.98 kB / 0.7004 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003175/0.4689, allocations: 1.371 MB / 0.7017 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002723/0.4716, allocations: 1.345 MB / 0.703 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005037/0.4767, allocations: 2.413 MB / 0.7054 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.635e-06/0.4767, allocations: 4 kB / 0.7054 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=278) (initialization_lambda0): time 0.01059/0.4873, allocations: 4.321 MB / 0.7096 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.4874, allocations: 45.69 kB / 0.7097 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4874, allocations: 4 kB / 0.7097 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.4987, allocations: 3.435 MB / 0.713 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.5002, allocations: 287.6 kB / 0.7133 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00874/0.5089, allocations: 3.715 MB / 0.7169 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.5114, allocations: 286.7 kB / 0.7172 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.5117, allocations: 71.98 kB / 0.7173 GB, free: 5.91 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.0005277/0.5123, allocations: 321.6 kB / 0.7176 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.5127, allocations: 202.7 kB / 0.7178 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/0.53, allocations: 5.411 MB / 0.7231 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.5301, allocations: 7.969 kB / 0.7231 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5301, allocations: 0 / 0.7231 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.5307, allocations: 315.4 kB / 0.7234 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.5312, allocations: 36 kB / 0.7234 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.533, allocations: 163.8 kB / 0.7236 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/0.5347, allocations: 0.5746 MB / 0.7241 GB, free: 14.84 MB / 0.5294 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.005801/0.5405, allocations: 2.569 MB / 0.7266 GB, free: 12.02 MB / 0.5294 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