Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 72.19 kB / 9.877 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002478, allocations: 439.8 kB / 10.31 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9607/0.9607, allocations: 158.6 MB / 169.7 MB, free: 2.797 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.173/1.134, allocations: 49.49 MB / 219.1 MB, free: 5.578 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 156.4 kB / 220 MB, free: 4.691 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.003503, allocations: 477.7 kB / 220.5 MB, free: 4.223 MB / 218.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo): time 0.1396/0.1396, allocations: 32.51 MB / 253.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01824/0.1578, allocations: 10.85 MB / 264.6 MB, free: 8.059 MB / 266.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 265.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.873e-05, allocations: 6.25 kB / 265.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A): time 0.00713/0.007148, allocations: 8.731 MB / 274.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.01283, allocations: 2.997 MB / 277.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.01372, allocations: 16 kB / 277.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007391/0.01446, allocations: 372.6 kB / 278 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.01674, allocations: 1.332 MB / 279.3 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.01841, allocations: 0.9203 MB / 280.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.02061, allocations: 2.779 MB / 283 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.02107, allocations: 424.8 kB / 283.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.02275, allocations: 1.843 MB / 285.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008876/0.02364, allocations: 1.051 MB / 286.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005484/0.02419, allocations: 240 kB / 286.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/0.02482, allocations: 459.6 kB / 287 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.02511, allocations: 402.7 kB / 287.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004971/0.02561, allocations: 0.5807 MB / 288 MB, free: 472 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.02718, allocations: 1.79 MB / 289.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.0272, allocations: 0 / 289.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0272, allocations: 0 / 289.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.02722, allocations: 0 / 289.8 MB, free: 14.66 MB / 298.7 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.007474/0.03469, allocations: 4.646 MB / 294.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.03474, allocations: 12.03 kB / 294.5 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.03735, allocations: 1.007 MB / 295.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.03839, allocations: 0.8146 MB / 296.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.03884, allocations: 0.9311 MB / 297.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.03902, allocations: 151.9 kB / 297.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.04036, allocations: 1.17 MB / 298.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.04038, allocations: 3.938 kB / 298.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.04048, allocations: 59.98 kB / 298.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.0405, allocations: 28 kB / 298.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.04134, allocations: 0.5581 MB / 299.2 MB, free: 4.914 MB / 298.7 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.004892/0.04623, allocations: 2.853 MB / 302 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.04898, allocations: 1.569 MB / 303.6 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.04944, allocations: 399.8 kB / 304 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.04967, allocations: 69.27 kB / 304 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007728/0.05045, allocations: 0.7409 MB / 304.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 4.549e-06/0.05045, allocations: 3.984 kB / 304.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=156): time 0.01747/0.06792, allocations: 7.754 MB / 312.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.06799, allocations: 187.5 kB / 312.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.06904, allocations: 1.208 MB / 313.9 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.06916, allocations: 57.7 kB / 314 MB, free: 5.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.06944, allocations: 0.5109 MB / 314.5 MB, free: 5.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.06981, allocations: 0.5731 MB / 315.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/0.07029, allocations: 391.6 kB / 315.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.07035, allocations: 301.1 kB / 315.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.07115, allocations: 498.2 kB / 316.2 MB, free: 3.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.07202, allocations: 0.715 MB / 317 MB, free: 2.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.07364, allocations: 1.32 MB / 318.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.07365, allocations: 3.938 kB / 318.3 MB, free: 1.359 MB / 314.7 MB Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.imSimpleLag.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.imSimpleLag.y' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.imSimpleLag.y' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.simpleLagLim.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.simpleLagLim.y' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.simpleLagLim.y' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.imSimpleLag.state' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.imSimpleLag.state' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.imSimpleLag.state' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Notification: Performance of matching and sorting (n=273) (initialization): time 0.003439/0.07709, allocations: 2.306 MB / 320.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.07714, allocations: 45.84 kB / 320.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.07716, allocations: 4 kB / 320.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.08145, allocations: 2.216 MB / 322.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/0.08232, allocations: 359.5 kB / 323.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.08633, allocations: 2.018 MB / 325.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.08789, allocations: 242.8 kB / 325.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.08804, allocations: 51.98 kB / 325.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001166/0.08921, allocations: 0.5936 MB / 326.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000903/0.09011, allocations: 0.7227 MB / 326.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001675/0.09179, allocations: 1.305 MB / 328.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/0.09179, allocations: 0 / 328.1 MB, free: 7.184 MB / 330.7 MB Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.imSimpleLag.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.imSimpleLag.y' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.imSimpleLag.y' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.simpleLagLim.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.simpleLagLim.y' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.simpleLagLim.y' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Warning: Initialization start-value cycle: the start attribute of 'eSAC2A.imSimpleLag.state' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'eSAC2A.imSimpleLag.state' and therefore cannot be computed from it, so this start value cannot be used to initialize the variable (see Modelica Specification section 4.9.6). This is possibly a modeling error; if unintended, give 'eSAC2A.imSimpleLag.state' a start value that does not depend on itself. Use the transformational debugger to inspect the dependency chain. Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.003413/0.09521, allocations: 2.267 MB / 330.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.09525, allocations: 49.94 kB / 330.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.09526, allocations: 11.94 kB / 330.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/0.09952, allocations: 2.209 MB / 332.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/0.1005, allocations: 359.4 kB / 333 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.1031, allocations: 1.994 MB / 335 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.14/0.243, allocations: 227 kB / 335.2 MB, free: 50.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004563/0.2435, allocations: 57.34 kB / 335.3 MB, free: 50.27 MB / 330.7 MB 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 (165): * Single equations (assignments): 164 * 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,66)} Notification: Performance of prepare postOptimizeDAE: time 0.0004827/0.244, allocations: 311.3 kB / 335.6 MB, free: 50.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.2445, allocations: 174 kB / 335.8 MB, free: 50.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006737/0.2512, allocations: 3.192 MB / 339 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.2512, allocations: 10.47 kB / 339 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2512, allocations: 1.969 kB / 339 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.2517, allocations: 183.3 kB / 339.1 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.2518, allocations: 33.7 kB / 339.2 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.252, allocations: 35.7 kB / 339.2 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.2527, allocations: 118.3 kB / 339.3 MB, free: 49.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009287/0.2536, allocations: 0.5677 MB / 339.9 MB, free: 49.85 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:531:7-533: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.p = if eSAC2A.gain1.y < minusInf.k then minusInf.k else eSAC2A.gain1.y 15/15 (1): eSAC2A.limiter1.u = if plusInf.k > eSAC2A.hV_GATE.p then eSAC2A.hV_GATE.p else 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 > 2.220446049250313e-16 then eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising := true; eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling := false; elseif eSAC2A.rotatingExciterWithDemagnetization.feedback.y < -2.220446049250313e-16 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 = 0.03 * (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) < 2.220446049250313e-16 then eSAC2A.imLeadLag.K * eSAC2A.add3_1.y else eSAC2A.imLeadLag.TF.y 22/27 (1): eSAC2A.simpleLagLim.y = if abs(eSAC2A.simpleLagLim.T) <= 2.220446049250313e-16 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.sISO.Rising:DISCRETE(protected = true ) \"Flag to know if input is positive\" type: Boolean 10: eSAC2A.rotatingExciterWithDemagnetization.sISO.initVar:VARIABLE(protected = true ) \"Dummy variable to be used as setting quantity\" type: Real 11: eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit:DISCRETE(protected = true ) \"Flag to reset state variable\" type: Boolean 12: eSAC2A.rotatingExciterWithDemagnetization.feedback.y:VARIABLE(flow=false ) type: Real 13: eSAC2A.limiter1.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 14: eSAC2A.limiter1.u:VARIABLE(flow=false ) \"Connector of Real input signal\" type: Real 15: eSAC2A.hV_GATE.p:VARIABLE(flow=false ) type: Real 16: eSAC2A.gain1.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 17: eSAC2A.DiffV3.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 18: eSAC2A.gain.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 19: eSAC2A.gain.u:VARIABLE(flow=false ) \"Input signal connector\" type: Real 20: eSAC2A.rotatingExciterWithDemagnetization.VE.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 21: eSAC2A.rotatingExciterWithDemagnetization.se1.VE_OUT:VARIABLE(flow=false ) \"Saturated Output\" type: Real 22: eSAC2A.rotatingExciterWithDemagnetization.EFD:VARIABLE(flow=false ) type: Real 23: eSAC2A.rectifierCommutationVoltageDrop.division.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 24: eSAC2A.rectifierCommutationVoltageDrop.fEX.y:VARIABLE(flow=false ) type: Real 25: eSAC2A.EFD:VARIABLE(flow=false ) \"Excitation Voltage [pu]\" type: Real 26: eSAC2A.DiffV2.u2:VARIABLE(flow=false ) \"Connector of Real input signal 2\" type: Real 27: eSAC2A.DiffV2.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 28: eSAC2A.rotatingExciterWithDemagnetization.sISO.outMax:VARIABLE(flow=false ) type: Real 29: eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower:DISCRETE(protected = true ) \"Flag for reaching lower limit\" type: Boolean [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:10182:5-10183:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: (null) Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002276/0.2559, allocations: 2.084 MB / 342 MB, free: 48.51 MB / 330.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9431406892836094]