Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07905/0.07905, allocations: 12.61 MB / 28.91 MB, free: 0.6016 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 103.5 kB / 32.51 MB, free: 3.547 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 203.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4345/0.4345, allocations: 78.51 MB / 420 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 139.6 kB / 0.5565 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.116, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1): time 0.00838/0.1244, allocations: 8.223 MB / 0.6311 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004881/0.1294, allocations: 2.528 MB / 0.6335 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1305, allocations: 27.88 kB / 0.6336 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.1313, allocations: 277.2 kB / 0.6338 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.1326, allocations: 0.5508 MB / 0.6344 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.1351, allocations: 1.346 MB / 0.6357 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.1375, allocations: 2.367 MB / 0.638 GB, free: 104 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009478/0.1384, allocations: 0.6688 MB / 0.6386 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.1395, allocations: 0.9026 MB / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.1406, allocations: 1.022 MB / 0.6405 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.1409, allocations: 228 kB / 0.6407 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.1413, allocations: 300 kB / 0.641 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004011/0.1417, allocations: 486.2 kB / 0.6415 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.1426, allocations: 0.9985 MB / 0.6425 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.1451, allocations: 2.737 MB / 0.6451 GB, free: 8.723 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1452, allocations: 0 / 0.6451 GB, free: 8.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1452, allocations: 0 / 0.6451 GB, free: 8.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.1452, allocations: 0 / 0.6451 GB, free: 8.723 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.007037/0.1522, allocations: 2.844 MB / 0.6479 GB, free: 5.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1523, allocations: 11.98 kB / 0.6479 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.1552, allocations: 0.5488 MB / 0.6485 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.1571, allocations: 1.209 MB / 0.6496 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/0.1577, allocations: 0.5758 MB / 0.6502 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.1579, allocations: 147.9 kB / 0.6503 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.1613, allocations: 1.684 MB / 0.652 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1613, allocations: 4 kB / 0.652 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.1615, allocations: 55.98 kB / 0.652 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.1615, allocations: 32 kB / 0.6521 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.1648, allocations: 1.414 MB / 0.6535 GB, free: 15.89 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009322/0.1742, allocations: 5.972 MB / 0.6593 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009648/0.1838, allocations: 3.089 MB / 0.6623 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.186, allocations: 0.8995 MB / 0.6632 GB, free: 5.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.1862, allocations: 29.05 kB / 0.6632 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002424/0.1886, allocations: 0.9798 MB / 0.6642 GB, free: 4.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.22e-06/0.1886, allocations: 0 / 0.6642 GB, free: 4.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=121): time 0.02169/0.2103, allocations: 5.649 MB / 0.6697 GB, free: 14.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.2105, allocations: 252.3 kB / 0.6699 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.213, allocations: 1.423 MB / 0.6713 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.2132, allocations: 53.7 kB / 0.6714 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.2138, allocations: 0.6898 MB / 0.672 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/0.2144, allocations: 433.8 kB / 0.6725 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/0.215, allocations: 335.4 kB / 0.6728 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.2151, allocations: 305.1 kB / 0.6731 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.2173, allocations: 0.8714 MB / 0.6739 GB, free: 10.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.2197, allocations: 1.134 MB / 0.675 GB, free: 9.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.2239, allocations: 1.926 MB / 0.6769 GB, free: 7.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.224, allocations: 3.938 kB / 0.6769 GB, free: 7.215 MB / 494.1 MB Warning: The linear system: 1 : -wT4E1.P = (-pwLine2.vs.re) * pwLine2.is.re - pwLine2.vs.im * pwLine2.is.im 2 : wT4E1.p0 = wT4E1.P 3 : $START.wT4E1.P = wT4E1.p0 [ 0.0 , 0.0 , -1.0 ; 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 0.0 ] * [ $START.wT4E1.P ; wT4E1.p0 ; wT4E1.P ] = [ (-pwLine2.vs.im) * pwLine2.is.im - pwLine2.vs.re * pwLine2.is.re ; 0.0 ; 0.0 ] might be structurally or numerically singular for variable $START.wT4E1.P since U(1,1) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=227) (initialization): time 0.01352/0.2375, allocations: 4.461 MB / 0.6813 GB, free: 2.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.2376, allocations: 33.7 kB / 0.6813 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2376, allocations: 4 kB / 0.6813 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005833/0.2434, allocations: 1.766 MB / 0.683 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.2448, allocations: 315.5 kB / 0.6833 GB, free: 0.5625 MB / 494.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.2478, allocations: 1.51 MB / 0.6848 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.2497, allocations: 266.2 kB / 0.6851 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.2499, allocations: 71.98 kB / 0.6851 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002503/0.2524, allocations: 1.047 MB / 0.6861 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002076/0.2545, allocations: 1.052 MB / 0.6872 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003765/0.2583, allocations: 1.797 MB / 0.6889 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/0.2583, allocations: 0 / 0.6889 GB, free: 10.62 MB / 0.4981 GB Warning: The linear system: 1 : -wT4E1.P = (-pwLine2.vs.re) * pwLine2.is.re - pwLine2.vs.im * pwLine2.is.im 2 : wT4E1.p0 = wT4E1.P 3 : $START.wT4E1.P = wT4E1.p0 [ 0.0 , 0.0 , -1.0 ; 0.0 , 1.0 , -1.0 ; 0.0 , -1.0 , 0.0 ] * [ $START.wT4E1.P ; wT4E1.p0 ; wT4E1.P ] = [ (-pwLine2.vs.im) * pwLine2.is.im - pwLine2.vs.re * pwLine2.is.re ; 0.0 ; 0.0 ] might be structurally or numerically singular for variable $START.wT4E1.P since U(1,1) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.01239/0.2707, allocations: 4.218 MB / 0.693 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.2708, allocations: 41.69 kB / 0.6931 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2708, allocations: 4 kB / 0.6931 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006791/0.2776, allocations: 1.691 MB / 0.6947 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.2795, allocations: 303.5 kB / 0.695 GB, free: 4.285 MB / 0.4981 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/0.284, allocations: 1.477 MB / 0.6965 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.2868, allocations: 214.7 kB / 0.6967 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/0.2871, allocations: 71.98 kB / 0.6967 GB, free: 2.484 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (wT4E1.integratorLimVar.Reinit,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.ReachUpper,$whenCondition1,wT4E1.windControlEmulator1.integrator.local_reset,wT4E1.activePowerController.K2.local_reset,wT4E1.K6.local_reset,wT4G1.K.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * 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: 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,2,0.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(21,34)} Notification: Performance of prepare postOptimizeDAE: time 0.0007521/0.2879, allocations: 301.6 kB / 0.697 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/0.2886, allocations: 177.9 kB / 0.6972 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.2987, allocations: 2.466 MB / 0.6996 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.2987, allocations: 19.89 kB / 0.6996 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.2987, allocations: 3.984 kB / 0.6996 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.2996, allocations: 274.7 kB / 0.6999 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006043/0.3002, allocations: 32 kB / 0.6999 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/0.3028, allocations: 147.8 kB / 0.7001 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.3035, allocations: 144.8 kB / 0.7002 GB, free: 14.88 MB / 0.5137 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 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) <= 1e-15 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 > 1e-15 then wT4E1.integratorLimVar.Rising := true; wT4E1.integratorLimVar.Falling := false; elseif wT4E1.Vcl.y < -1e-15 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) <= 1e-15 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.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)) 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): pwFault.p.ii + pwLine2.ir.im + pwLine1.is.im + pwLine.is.im = 0.0 26/31 (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)) 27/32 (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 28/33 (1): pwFault.p.ir + pwLine2.ir.re + pwLine1.is.re + pwLine.is.re = 0.0 29/34 (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)) 30/35 (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)) 31/36 (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)) 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): pwLine1.vr.re = $cse1 * gENCLS2_1.vd + $cse2 * gENCLS2_1.vq 34/39 (1): pwLine1.vr.im = $cse1 * gENCLS2_1.vq - $cse2 * gENCLS2_1.vd 35/40 (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)) 36/41 (1): gENCLS2_1.p.ir + pwLine1.ir.re + pwLine.ir.re = 0.0 37/42 (1): gENCLS2_1.p.ir = (-gENCLS2_1.CoB) * ($cse1 * gENCLS2_1.id + $cse2 * gENCLS2_1.iq) 38/43 (1): gENCLS2_1.p.ii = gENCLS2_1.CoB * ($cse2 * gENCLS2_1.id - $cse1 * gENCLS2_1.iq) 39/44 (1): gENCLS2_1.p.ii + pwLine1.ir.im + pwLine.ir.im = 0.0 40/45 (1): gENCLS2_1.vd = gENCLS2_1.X_d * gENCLS2_1.iq - gENCLS2_1.R_a * gENCLS2_1.id 41/46 (1): gENCLS2_1.vq = gENCLS2_1.eq + (-gENCLS2_1.R_a) * gENCLS2_1.iq - gENCLS2_1.X_d * gENCLS2_1.id 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): 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)) 44/49 (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)) 45/50 (1): $cse4 = sin(wT4G1.delta) Variables: 1: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 2: pwLine.ir.re:VARIABLE(start = 1e-15 ) "Real part of complex number" type: Real 3: pwLine.ir.im:VARIABLE(start = 1e-15 ) "Imaginary part of complex number" type: Real 4: pwLine.is.re:VARIABLE(start = 1e-15 ) "Real part of complex number" type: Real 5: gENCLS2_1.vq:VARIABLE(start = gENCLS2_1.vq0 unit = "1" ) "q-axis voltage" type: Real 6: gENCLS2_1.id:VARIABLE(start = gENCLS2_1.id0 unit = "1" ) "d-axis current" type: Real 7: pwLine1.ir.im:VARIABLE(start = 1e-15 ) "Imaginary part of complex number" type: Real 8: gENCLS2_1.p.ii:VARIABLE(flow=true start = gENCLS2_1.ii0 unit = "1" ) "Imaginary part of the current" type: Real 9: gENCLS2_1.iq:VARIABLE(start = gENCLS2_1.iq0 unit = "1" ) "q-axis current" type: Real 10: gENCLS2_1.p.ir:VARIABLE(flow=true start = gENCLS2_1.ir0 unit = "1" ) "Real part of the current" type: Real 11: pwLine1.ir.re:VARIABLE(start = 1e-15 ) "Real part of complex number" type: Real 12: pwLine1.vr.im:VARIABLE(start = gENCLS2_1.vi0 ) "Imaginary part of complex number" type: Real 13: gENCLS2_1.vd:VARIABLE(start = gENCLS2_1.vd0 unit = "1" ) "d-axis voltage" type: Real 14: pwLine1.vr.re:VARIABLE(start = gENCLS2_1.vr0 ) "Real part of complex number" type: Real 15: pwLine1.is.im:VARIABLE(start = 1e-15 ) "Imaginary part of complex number" type: Real 16: pwLine1.is.re:VARIABLE(start = 1e-15 ) "Real part of complex number" type: Real 17: pwLine2.ir.im:VARIABLE(start = 1e-15 ) "Imaginary part of complex number" type: Real 18: pwLine2.ir.re:VARIABLE(start = 1e-15 ) "Real part of complex number" type: Real 19: pwFault.p.ir:VARIABLE(flow=true start = 1e-15 unit = "1" ) "Real part of the current" type: Real 20: pwLine2.vr.im:VARIABLE(start = FAULT.v_0 * sin(FAULT.angle_0) ) "Imaginary part of complex number" type: Real 21: pwLine.is.im:VARIABLE(start = 1e-15 ) "Imaginary part of complex number" type: Real 22: pwFault.p.ii:VARIABLE(flow=true start = 1e-15 unit = "1" ) "Imaginary part of the current" type: Real 23: pwLine2.vr.re:VARIABLE(start = FAULT.v_0 * cos(FAULT.angle_0) ) "Real part of complex number" type: Real 24: pwLine2.vs.im:VARIABLE(start = wT4G1.vi0 ) "Imaginary 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.Falling:DISCRETE(protected = true ) "Flag to know if input is negative" type: Boolean 35: wT4E1.integratorLimVar.ReachLower:DISCRETE(protected = true ) "Flag for reaching lower limit" type: Boolean 36: wT4E1.integratorLimVar.outMin:VARIABLE(flow=false ) type: Real 37: wT4E1.integratorLimVar.outMax:VARIABLE(flow=false ) type: Real 38: wT4E1.cCL.min2.u1:VARIABLE(flow=false ) "Connector of Real input signal 1" type: Real 39: wT4E1.cCL.min5.u2:VARIABLE(flow=false ) "Connector of Real input signal 2" type: Real 40: wT4E1.V:VARIABLE(flow=false start = wT4E1.v0 ) type: Real 41: pwLine2.vs.re:VARIABLE(start = wT4G1.vr0 ) "Real part of complex number" type: Real 42: wT4G1.delta:VARIABLE(start = wT4G1.angle_0 unit = "rad" protected = true ) type: Real 43: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 44: wT4G1.IyL:VARIABLE(flow=false start = wT4G1.Iy0 ) type: Real 45: wT4G1.Iy:VARIABLE(flow=false start = wT4G1.K1.y_start ) type: Real 46: wT4E1.WIQCMD:VARIABLE(flow=false start = wT4G1.Iy0 ) type: Real 47: wT4E1.integratorLimVar.ReachUpper:DISCRETE(protected = true ) "Flag for reaching upper limit" type: Boolean 48: wT4E1.integratorLimVar.initVar:VARIABLE(protected = true ) "Dummy variable to be used as setting quantity" type: Real 49: wT4E1.integratorLimVar.Rising:DISCRETE(protected = true ) "Flag to know if input is positive" type: Boolean 50: wT4E1.integratorLimVar.Reinit:DISCRETE(protected = true ) "Flag to reset state variable" 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.006139/0.3097, allocations: 3.389 MB / 0.7035 GB, free: 10.95 MB / 0.5137 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1 could not be translated