Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1.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.0007045/0.0007045, allocations: 72.19 kB / 9.877 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000958/0.001663, 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.8868/0.8868, allocations: 158.6 MB / 169.6 MB, free: 2.797 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1598/1.047, allocations: 49.49 MB / 219.1 MB, free: 5.57 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.0009909/0.0009909, allocations: 148.6 kB / 220 MB, free: 4.68 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002288, allocations: 473.7 kB / 220.5 MB, free: 4.215 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.1425/0.1425, allocations: 32.51 MB / 253.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01712/0.1596, allocations: 10.85 MB / 264.6 MB, free: 8.047 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.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 265.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.706e-05, allocations: 10.25 kB / 265.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1): time 0.005967/0.005984, allocations: 7.49 MB / 273.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.00973, allocations: 2.62 MB / 276 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.01041, allocations: 31.81 kB / 276 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.01134, allocations: 293 kB / 276.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.01289, allocations: 0.566 MB / 276.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.01501, allocations: 1.294 MB / 278.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.01748, allocations: 2.363 MB / 280.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.01806, allocations: 477.3 kB / 281 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.01961, allocations: 1.623 MB / 282.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.02034, allocations: 0.7942 MB / 283.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.02056, allocations: 228 kB / 283.6 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.02094, allocations: 299.9 kB / 283.9 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.02117, allocations: 366.8 kB / 284.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.02159, allocations: 0.5183 MB / 284.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.02298, allocations: 1.479 MB / 286.3 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.023, allocations: 0 / 286.3 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.023, allocations: 0 / 286.3 MB, free: 2.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.02303, allocations: 0 / 286.3 MB, free: 2.188 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004056/0.02708, allocations: 3.176 MB / 289.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.02712, allocations: 15.88 kB / 289.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.02881, allocations: 0.6799 MB / 290.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.02989, allocations: 0.8033 MB / 290.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.03033, allocations: 1.028 MB / 292 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.03049, allocations: 143.9 kB / 292.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.03183, allocations: 1.322 MB / 293.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.03185, allocations: 3.938 kB / 293.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.03193, allocations: 56 kB / 293.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.03195, allocations: 31.94 kB / 293.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.0326, allocations: 478 kB / 294 MB, free: 10.01 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.004266/0.03687, allocations: 3.366 MB / 297.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.03957, allocations: 1.439 MB / 298.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.03991, allocations: 298.3 kB / 299.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.019e-05/0.03998, allocations: 24.98 kB / 299.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.04054, allocations: 0.6056 MB / 299.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 3.216e-06/0.04054, allocations: 0 / 299.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.006212/0.04675, allocations: 3.011 MB / 302.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.04682, allocations: 230.6 kB / 303 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.04756, allocations: 1.042 MB / 304 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.04762, allocations: 57.69 kB / 304.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.04786, allocations: 0.5247 MB / 304.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.0481, allocations: 464 kB / 305 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.04841, allocations: 319.3 kB / 305.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.04847, allocations: 309.1 kB / 305.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.04898, allocations: 354.4 kB / 306 MB, free: 13.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.04963, allocations: 0.6824 MB / 306.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.0507, allocations: 0.9709 MB / 307.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.05071, allocations: 3.938 kB / 307.6 MB, free: 11.88 MB / 314.7 MB Warning: Initialization start-value cycle: the start attribute of 'wT4E1.K6.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.K6.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 'wT4E1.K6.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 'wT4E1.Q' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.Q' 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 'wT4E1.Q' 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 'wT4E1.P' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.P' 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 'wT4E1.P' 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=217) (initialization): time 0.002092/0.0528, allocations: 1.673 MB / 309.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.05285, allocations: 37.7 kB / 309.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.05286, allocations: 7.984 kB / 309.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.05493, allocations: 1.152 MB / 310.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.05561, allocations: 359.2 kB / 310.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.05769, allocations: 2.616 MB / 313.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.05834, allocations: 214.9 kB / 313.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.05841, allocations: 47.98 kB / 313.7 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006943/0.05911, allocations: 449.7 kB / 314.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006214/0.05973, allocations: 0.6783 MB / 314.9 MB, free: 4.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001243/0.06097, allocations: 0.9475 MB / 315.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.06098, allocations: 0 / 315.8 MB, free: 3.352 MB / 314.7 MB Warning: Initialization start-value cycle: the start attribute of 'wT4E1.K6.y' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.K6.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 'wT4E1.K6.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 'wT4E1.Q' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.Q' 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 'wT4E1.Q' 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 'wT4E1.P' depends, directly or transitively, on the variable itself. The start attribute defines the initial value of 'wT4E1.P' 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 'wT4E1.P' 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=217) (initialization_lambda0): time 0.001958/0.06293, allocations: 1.642 MB / 317.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.06297, allocations: 37.7 kB / 317.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.06297, allocations: 4 kB / 317.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.06487, allocations: 1.109 MB / 318.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.06551, allocations: 351.5 kB / 318.9 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.06753, allocations: 2.592 MB / 321.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.06818, allocations: 183.2 kB / 321.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.06826, allocations: 43.98 kB / 321.8 MB, free: 13.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 (wT4G1.K.local_reset,wT4E1.K6.local_reset,wT4E1.activePowerController.K2.local_reset,wT4E1.windControlEmulator1.integrator.local_reset,wT4E1.integratorLimVar.Reinit,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.ReachUpper,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(19,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.06852, allocations: 309.6 kB / 322.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.0687, allocations: 143.8 kB / 322.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.07022, allocations: 1.106 MB / 323.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.07023, allocations: 11.97 kB / 323.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.07024, allocations: 0 / 323.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.0704, allocations: 154.6 kB / 323.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.07046, allocations: 28 kB / 323.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.07058, allocations: 35.98 kB / 323.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.07105, allocations: 107.9 kB / 323.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.07128, allocations: 152.6 kB / 323.8 MB, free: 11.12 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): wT4E1.WIQCMD = if wT4E1.integratorLimVar.ReachUpper then wT4E1.integratorLimVar.outMax else if wT4E1.integratorLimVar.ReachLower then wT4E1.integratorLimVar.outMin else wT4E1.integratorLimVar.w 2/2 (1): wT4G1.Iy = if abs(wT4G1.K1.T) <= 2.220446049250313e-16 then wT4E1.WIQCMD * wT4G1.K1.K else wT4G1.K1.state 3/3 (1): wT4G1.IyL = if wT4E1.V > wT4G1.hVRCL.VHVRCR then wT4G1.hVRCL.CurHVRCR else wT4G1.Iy 4/4 (1): -wT4G1.IyL = $cse4 * wT4G1.Is.re - $cse3 * wT4G1.Is.im 5/5 (1): $cse3 = cos(wT4G1.delta) 6/6 (1): wT4G1.delta = atan2(pwLine2.vs.im, pwLine2.vs.re) 7/7 (1): wT4E1.V = sqrt(pwLine2.vs.re ^ 2.0 + pwLine2.vs.im ^ 2.0) 8/8 (1): wT4E1.cCL.min5.u2 = (-1.6 + wT4E1.cCL.Qmax) * (-1.0 + wT4E1.V) + wT4E1.cCL.Qmax 9/9 (1): wT4E1.cCL.min2.u1 = min(wT4E1.cCL.const2.k, wT4E1.cCL.min5.u2) 10/10 (1): wT4E1.integratorLimVar.outMax = min(wT4E1.cCL.min2.u1, wT4E1.cCL.const3.k) 11/11 (1): wT4E1.integratorLimVar.outMin = wT4E1.cCL.gain.k * wT4E1.integratorLimVar.outMax 12/12 (6): algorithm wT4E1.integratorLimVar.initVar := $START.wT4E1.integratorLimVar.initVar; wT4E1.integratorLimVar.Reinit := pre(wT4E1.integratorLimVar.Reinit); wT4E1.integratorLimVar.ReachLower := pre(wT4E1.integratorLimVar.ReachLower); wT4E1.integratorLimVar.ReachUpper := pre(wT4E1.integratorLimVar.ReachUpper); wT4E1.integratorLimVar.Falling := pre(wT4E1.integratorLimVar.Falling); wT4E1.integratorLimVar.Rising := pre(wT4E1.integratorLimVar.Rising); if wT4E1.Vcl.y > 2.220446049250313e-16 then wT4E1.integratorLimVar.Rising := true; wT4E1.integratorLimVar.Falling := false; elseif wT4E1.Vcl.y < -2.220446049250313e-16 then wT4E1.integratorLimVar.Rising := false; wT4E1.integratorLimVar.Falling := true; else wT4E1.integratorLimVar.Rising := false; wT4E1.integratorLimVar.Falling := false; end if; if wT4E1.integratorLimVar.w > wT4E1.integratorLimVar.outMax then wT4E1.integratorLimVar.ReachUpper := true; wT4E1.integratorLimVar.ReachLower := false; elseif wT4E1.integratorLimVar.w < wT4E1.integratorLimVar.outMin then wT4E1.integratorLimVar.ReachLower := true; wT4E1.integratorLimVar.ReachUpper := false; else wT4E1.integratorLimVar.ReachUpper := false; wT4E1.integratorLimVar.ReachLower := false; end if; if wT4E1.integratorLimVar.ReachUpper and wT4E1.integratorLimVar.Falling then wT4E1.integratorLimVar.Reinit := true; wT4E1.integratorLimVar.initVar := wT4E1.integratorLimVar.outMax; elseif wT4E1.integratorLimVar.ReachLower and wT4E1.integratorLimVar.Rising then wT4E1.integratorLimVar.Reinit := true; wT4E1.integratorLimVar.initVar := wT4E1.integratorLimVar.outMin; end if; 13/18 (1): wT4E1.Vcl.y = wT4E1.K6.y - wT4E1.V 14/19 (1): wT4G1.lVPL.Vt = if abs(wT4G1.K2.T) <= 2.220446049250313e-16 then wT4E1.V * wT4G1.K2.K else wT4G1.K2.state 15/20 (1): wT4G1.lVPL.LVPL = if wT4G1.lVPL.Vt < wT4G1.lVPL.VLVPL1 then 0.0 else if wT4G1.lVPL.Vt > wT4G1.lVPL.VLVPL2 then 1e6 else wT4G1.lVPL.K * (wT4G1.lVPL.Vt - wT4G1.lVPL.VLVPL1) 16/21 (1): wT4G1.Iperr.u2 = smooth(0, if wT4G1.K.y > wT4G1.lVPL.LVPL then wT4G1.lVPL.LVPL else if wT4G1.K.y < wT4G1.const.k then wT4G1.const.k else wT4G1.K.y) 17/22 (1): wT4G1.IxL = if wT4E1.V < 0.4 then 0.0 else if wT4E1.V > 0.8 then wT4G1.Iperr.u2 else 1.25 * wT4G1.Iperr.u2 * wT4E1.V 18/23 (1): wT4G1.IxL = (-$cse3) * wT4G1.Is.re - $cse4 * wT4G1.Is.im 19/24 (1): wT4G1.Is.re = (-pwLine2.is.re) / wT4G1.CoB 20/25 (1): 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.is.re else pwLine2.vs.re - pwLine2.vr.re - (pwLine2.Z.re * (pwLine2.is.re + pwLine2.vs.im * pwLine2.Y.im - pwLine2.vs.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.is.im + (-pwLine2.vs.re) * pwLine2.Y.im - pwLine2.vs.im * pwLine2.Y.re)) 21/26 (1): wT4G1.Is.im = (-pwLine2.is.im) / wT4G1.CoB 22/27 (1): 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.is.im else pwLine2.vs.im - pwLine2.vr.im - (pwLine2.Z.re * (pwLine2.is.im + (-pwLine2.vs.re) * pwLine2.Y.im - pwLine2.vs.im * pwLine2.Y.re) + pwLine2.Z.im * (pwLine2.is.re + pwLine2.vs.im * pwLine2.Y.im - pwLine2.vs.re * pwLine2.Y.re)) 23/28 (1): 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.ir.re else pwLine2.vr.re - pwLine2.vs.re - (pwLine2.Z.re * (pwLine2.ir.re + pwLine2.vr.im * pwLine2.Y.im - pwLine2.vr.re * pwLine2.Y.re) - pwLine2.Z.im * (pwLine2.ir.im + (-pwLine2.vr.re) * pwLine2.Y.im - pwLine2.vr.im * pwLine2.Y.re)) 24/29 (1): 0.0 = if time < pwFault.t1 then pwFault.p.ii else if time < pwFault.t2 and pwFault.ground then pwLine2.vr.re - 1e-10 else if time < pwFault.t2 then pwFault.p.ii - (pwFault.R * pwLine2.vr.im - pwFault.X * pwLine2.vr.re) / (pwFault.X ^ 2.0 + pwFault.R ^ 2.0) else pwFault.p.ii 25/30 (1): 0.0 = if time < pwFault.t1 then pwFault.p.ir else if time < pwFault.t2 and pwFault.ground then pwLine2.vr.im else if time < pwFault.t2 then pwFault.p.ir - (pwFault.R * pwLine2.vr.re + pwFault.X * pwLine2.vr.im) / (pwFault.R ^ 2.0 + pwFault.X ^ 2.0) else pwFault.p.ir 26/31 (1): pwFault.p.ir + pwLine2.ir.re + pwLine1.is.re + pwLine.is.re = 0.0 27/32 (1): 0.0 = if time >= pwLine2.t1 and time < pwLine2.t2 then pwLine2.ir.im else pwLine2.vr.im - pwLine2.vs.im - (pwLine2.Z.re * (pwLine2.ir.im + (-pwLine2.vr.re) * pwLine2.Y.im - pwLine2.vr.im * pwLine2.Y.re) + pwLine2.Z.im * (pwLine2.ir.re + pwLine2.vr.im * pwLine2.Y.im - pwLine2.vr.re * pwLine2.Y.re)) 28/33 (1): pwFault.p.ii + pwLine2.ir.im + pwLine1.is.im + pwLine.is.im = 0.0 29/34 (1): 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.is.re else pwLine2.vr.re - pwLine1.vr.re - (pwLine1.Z.re * (pwLine1.is.re + pwLine2.vr.im * pwLine1.Y.im - pwLine2.vr.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.is.im + (-pwLine2.vr.re) * pwLine1.Y.im - pwLine2.vr.im * pwLine1.Y.re)) 30/35 (1): 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.is.im else pwLine2.vr.im - pwLine1.vr.im - (pwLine1.Z.re * (pwLine1.is.im + (-pwLine2.vr.re) * pwLine1.Y.im - pwLine2.vr.im * pwLine1.Y.re) + pwLine1.Z.im * (pwLine1.is.re + pwLine2.vr.im * pwLine1.Y.im - pwLine2.vr.re * pwLine1.Y.re)) 31/36 (1): 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.ir.re else pwLine1.vr.re - pwLine2.vr.re - (pwLine1.Z.re * (pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im - pwLine1.vr.re * pwLine1.Y.re) - pwLine1.Z.im * (pwLine1.ir.im + (-pwLine1.vr.re) * pwLine1.Y.im - pwLine1.vr.im * pwLine1.Y.re)) 32/37 (1): 0.0 = if time >= pwLine1.t1 and time < pwLine1.t2 then pwLine1.ir.im else pwLine1.vr.im - pwLine2.vr.im - (pwLine1.Z.re * (pwLine1.ir.im + (-pwLine1.vr.re) * pwLine1.Y.im - pwLine1.vr.im * pwLine1.Y.re) + pwLine1.Z.im * (pwLine1.ir.re + pwLine1.vr.im * pwLine1.Y.im - pwLine1.vr.re * pwLine1.Y.re)) 33/38 (1): gENCLS2_1.p.ir + pwLine1.ir.re + pwLine.ir.re = 0.0 34/39 (1): gENCLS2_1.p.ir = (-gENCLS2_1.CoB) * ($cse1 * gENCLS2_1.id + $cse2 * gENCLS2_1.iq) 35/40 (1): gENCLS2_1.p.ii = gENCLS2_1.CoB * ($cse2 * gENCLS2_1.id - $cse1 * gENCLS2_1.iq) 36/41 (1): gENCLS2_1.p.ii + pwLine1.ir.im + pwLine.ir.im = 0.0 37/42 (1): 0.0 = if time >= pwLine.t1 and time < pwLine.t2 then pwLine.ir.re else pwLine1.vr.re - pwLine2.vr.re - (pwLine.Z.re * (pwLine.ir.re + pwLine1.vr.im * pwLine.Y.im - pwLine1.vr.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.ir.im + (-pwLine1.vr.re) * pwLine.Y.im - pwLine1.vr.im * pwLine.Y.re)) 38/43 (1): 0.0 = if time >= pwLine.t1 and time < pwLine.t2 then pwLine.ir.im else pwLine1.vr.im - pwLine2.vr.im - (pwLine.Z.re * (pwLine.ir.im + (-pwLine1.vr.re) * pwLine.Y.im - pwLine1.vr.im * pwLine.Y.re) + pwLine.Z.im * (pwLine.ir.re + pwLine1.vr.im * pwLine.Y.im - pwLine1.vr.re * pwLine.Y.re)) 39/44 (1): pwLine1.vr.im = $cse1 * gENCLS2_1.vq - $cse2 * gENCLS2_1.vd 40/45 (1): pwLine1.vr.re = $cse1 * gENCLS2_1.vd + $cse2 * gENCLS2_1.vq 41/46 (1): 0.0 = if time >= pwLine.t1 and time < pwLine.t2 then pwLine.is.re else pwLine2.vr.re - pwLine1.vr.re - (pwLine.Z.re * (pwLine.is.re + pwLine2.vr.im * pwLine.Y.im - pwLine2.vr.re * pwLine.Y.re) - pwLine.Z.im * (pwLine.is.im + (-pwLine2.vr.re) * pwLine.Y.im - pwLine2.vr.im * pwLine.Y.re)) 42/47 (1): 0.0 = if time >= pwLine.t1 and time < pwLine.t2 then pwLine.is.im else pwLine2.vr.im - pwLine1.vr.im - (pwLine.Z.re * (pwLine.is.im + (-pwLine2.vr.re) * pwLine.Y.im - pwLine2.vr.im * pwLine.Y.re) + pwLine.Z.im * (pwLine.is.re + pwLine2.vr.im * pwLine.Y.im - pwLine2.vr.re * pwLine.Y.re)) 43/48 (1): gENCLS2_1.vq = gENCLS2_1.eq + (-gENCLS2_1.R_a) * gENCLS2_1.iq - gENCLS2_1.X_d * gENCLS2_1.id 44/49 (1): gENCLS2_1.vd = gENCLS2_1.X_d * gENCLS2_1.iq - gENCLS2_1.R_a * gENCLS2_1.id 45/50 (1): $cse4 = sin(wT4G1.delta) Variables: 1: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 2: gENCLS2_1.vd:VARIABLE(start = gENCLS2_1.vd0 unit = \"1\" ) \"d-axis voltage\" type: Real 3: gENCLS2_1.id:VARIABLE(start = gENCLS2_1.id0 unit = \"1\" ) \"d-axis current\" type: Real 4: pwLine.is.re:VARIABLE(start = 2.220446049250313e-16 ) \"Real part of complex number\" type: Real 5: pwLine.is.im:VARIABLE(start = 2.220446049250313e-16 ) \"Imaginary part of complex number\" type: Real 6: pwLine1.vr.re:VARIABLE(start = gENCLS2_1.vr0 ) \"Real part of complex number\" type: Real 7: gENCLS2_1.vq:VARIABLE(start = gENCLS2_1.vq0 unit = \"1\" ) \"q-axis voltage\" type: Real 8: pwLine1.vr.im:VARIABLE(start = gENCLS2_1.vi0 ) \"Imaginary part of complex number\" type: Real 9: pwLine.ir.re:VARIABLE(start = 2.220446049250313e-16 ) \"Real part of complex number\" type: Real 10: pwLine.ir.im:VARIABLE(start = 2.220446049250313e-16 ) \"Imaginary part of complex number\" type: Real 11: gENCLS2_1.p.ii:VARIABLE(flow=true start = gENCLS2_1.ii0 unit = \"1\" ) \"Imaginary part of the current\" type: Real 12: gENCLS2_1.iq:VARIABLE(start = gENCLS2_1.iq0 unit = \"1\" ) \"q-axis current\" type: Real 13: gENCLS2_1.p.ir:VARIABLE(flow=true start = gENCLS2_1.ir0 unit = \"1\" ) \"Real part of the current\" type: Real 14: pwLine1.ir.re:VARIABLE(start = 2.220446049250313e-16 ) \"Real part of complex number\" type: Real 15: pwLine1.ir.im:VARIABLE(start = 2.220446049250313e-16 ) \"Imaginary part of complex number\" type: Real 16: pwLine1.is.re:VARIABLE(start = 2.220446049250313e-16 ) \"Real part of complex number\" type: Real 17: pwLine1.is.im:VARIABLE(start = 2.220446049250313e-16 ) \"Imaginary part of complex number\" type: Real 18: pwFault.p.ii:VARIABLE(flow=true start = 2.220446049250313e-16 unit = \"1\" ) \"Imaginary part of the current\" type: Real 19: pwLine2.ir.im:VARIABLE(start = 2.220446049250313e-16 ) \"Imaginary part of complex number\" type: Real 20: pwLine2.ir.re:VARIABLE(start = 2.220446049250313e-16 ) \"Real part of complex number\" type: Real 21: pwFault.p.ir:VARIABLE(flow=true start = 2.220446049250313e-16 unit = \"1\" ) \"Real part of the current\" type: Real 22: pwLine2.vr.re:VARIABLE(start = FAULT.v_0 * cos(FAULT.angle_0) ) \"Real part of complex number\" type: Real 23: pwLine2.vr.im:VARIABLE(start = FAULT.v_0 * sin(FAULT.angle_0) ) \"Imaginary part of complex number\" type: Real 24: pwLine2.vs.re:VARIABLE(start = wT4G1.vr0 ) \"Real part of complex number\" type: Real 25: wT4G1.Is.im:VARIABLE() \"Imaginary part of complex number\" type: Real 26: pwLine2.is.im:VARIABLE(start = -wT4G1.ii1 ) \"Imaginary part of complex number\" type: Real 27: pwLine2.is.re:VARIABLE(start = -wT4G1.ir1 ) \"Real part of complex number\" type: Real 28: wT4G1.Is.re:VARIABLE() \"Real part of complex number\" type: Real 29: wT4G1.IxL:VARIABLE(flow=false start = wT4G1.Ix0 ) type: Real 30: wT4G1.Iperr.u2:VARIABLE(flow=false start = wT4G1.Ipcmd0 ) type: Real 31: wT4G1.lVPL.LVPL:VARIABLE(flow=false ) type: Real 32: wT4G1.lVPL.Vt:VARIABLE(flow=false start = wT4G1.K2.y_start ) type: Real 33: wT4E1.Vcl.y:VARIABLE(flow=false ) type: Real 34: wT4E1.integratorLimVar.Reinit:DISCRETE(protected = true ) \"Flag to reset state variable\" type: Boolean 35: wT4E1.integratorLimVar.Falling:DISCRETE(protected = true ) \"Flag to know if input is negative\" type: Boolean 36: wT4E1.integratorLimVar.initVar:VARIABLE(protected = true ) \"Dummy variable to be used as setting quantity\" type: Real 37: wT4E1.integratorLimVar.Rising:DISCRETE(protected = true ) \"Flag to know if input is positive\" type: Boolean 38: wT4E1.integratorLimVar.ReachLower:DISCRETE(protected = true ) \"Flag for reaching lower limit\" type: Boolean 39: wT4E1.integratorLimVar.outMin:VARIABLE(flow=false ) type: Real 40: wT4E1.integratorLimVar.outMax:VARIABLE(flow=false ) type: Real 41: wT4E1.cCL.min2.u1:VARIABLE(flow=false ) \"Connector of Real input signal 1\" type: Real 42: wT4E1.cCL.min5.u2:VARIABLE(flow=false ) \"Connector of Real input signal 2\" type: Real 43: wT4E1.V:VARIABLE(flow=false start = wT4G1.v_0 ) type: Real 44: pwLine2.vs.im:VARIABLE(start = wT4G1.vi0 ) \"Imaginary part of complex number\" type: Real 45: wT4G1.delta:VARIABLE(start = wT4G1.angle_0 unit = \"rad\" protected = true ) type: Real 46: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 47: wT4G1.IyL:VARIABLE(flow=false start = wT4G1.Iy0 ) type: Real 48: wT4G1.Iy:VARIABLE(flow=false start = wT4G1.K1.y_start ) type: Real 49: wT4E1.WIQCMD:VARIABLE(flow=false start = wT4G1.Iy0 ) type: Real 50: wT4E1.integratorLimVar.ReachUpper:DISCRETE(protected = true ) \"Flag for reaching upper 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.001665/0.07294, allocations: 3.135 MB / 326.9 MB, free: 7.324 MB / 330.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6147762089967728]