Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 174.7 kB / 16.08 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.8 MB / 239.7 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007528, allocations: 106 kB / 290.5 MB, free: 11.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.445/0.445, allocations: 78.43 MB / 419.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 8 kB / 499.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1): time 0.006201/0.2598, allocations: 8.319 MB / 0.5627 GB, free: 11.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.2636, allocations: 2.57 MB / 0.5652 GB, free: 9.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.2643, allocations: 23.94 kB / 0.5652 GB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.2648, allocations: 198.4 kB / 0.5654 GB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.2657, allocations: 397.4 kB / 0.5658 GB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2676, allocations: 1.273 MB / 0.567 GB, free: 7.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.2689, allocations: 2.164 MB / 0.5691 GB, free: 5.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.2695, allocations: 0.6157 MB / 0.5697 GB, free: 4.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.27, allocations: 0.6916 MB / 0.5704 GB, free: 3.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.2706, allocations: 0.8469 MB / 0.5712 GB, free: 3.039 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.2707, allocations: 72 kB / 0.5713 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.271, allocations: 139.9 kB / 0.5714 GB, free: 2.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.2712, allocations: 322.2 kB / 0.5717 GB, free: 2.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.2717, allocations: 0.8071 MB / 0.5725 GB, free: 1.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2731, allocations: 2.487 MB / 0.5749 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2731, allocations: 4 kB / 0.5749 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2731, allocations: 0 / 0.5749 GB, free: 15.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.2732, allocations: 0 / 0.5749 GB, free: 15.2 MB / 394.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.006181/0.2794, allocations: 2.443 MB / 0.5773 GB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2794, allocations: 8.031 kB / 0.5773 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.2821, allocations: 0.5488 MB / 0.5779 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.2838, allocations: 1.15 MB / 0.579 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005359/0.2844, allocations: 0.568 MB / 0.5795 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.2846, allocations: 143.9 kB / 0.5797 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.2877, allocations: 1.692 MB / 0.5813 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.2877, allocations: 0 / 0.5813 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.2879, allocations: 60 kB / 0.5814 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.2879, allocations: 28 kB / 0.5814 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.2911, allocations: 1.422 MB / 0.5828 GB, free: 6.836 MB / 394.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.008758/0.2999, allocations: 6.006 MB / 0.5887 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008959/0.3088, allocations: 3.085 MB / 0.5917 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.3108, allocations: 0.8995 MB / 0.5926 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3109, allocations: 25.05 kB / 0.5926 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002076/0.313, allocations: 0.9839 MB / 0.5936 GB, free: 11.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 3.456e-06/0.313, allocations: 0 / 0.5936 GB, free: 11.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.01973/0.3327, allocations: 5.649 MB / 0.5991 GB, free: 5.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3329, allocations: 256.3 kB / 0.5993 GB, free: 5.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3347, allocations: 1.395 MB / 0.6007 GB, free: 4.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.3349, allocations: 57.7 kB / 0.6007 GB, free: 4.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.3354, allocations: 0.6819 MB / 0.6014 GB, free: 3.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.3357, allocations: 449.7 kB / 0.6018 GB, free: 2.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.336, allocations: 173.6 kB / 0.602 GB, free: 2.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.3361, allocations: 301.1 kB / 0.6023 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.338, allocations: 0.8589 MB / 0.6031 GB, free: 1.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.3402, allocations: 1.138 MB / 0.6042 GB, free: 336 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.344, allocations: 1.928 MB / 0.6061 GB, free: 14.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.344, allocations: 7.938 kB / 0.6061 GB, free: 14.31 MB / 426.7 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.01241/0.3564, allocations: 4.452 MB / 0.6105 GB, free: 9.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.3566, allocations: 287.5 kB / 0.6107 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3566, allocations: 4 kB / 0.6107 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/0.3621, allocations: 1.762 MB / 0.6125 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3633, allocations: 307.5 kB / 0.6128 GB, free: 7.363 MB / 426.7 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.002699/0.366, allocations: 1.51 MB / 0.6142 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3676, allocations: 266.2 kB / 0.6145 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3678, allocations: 63.98 kB / 0.6145 GB, free: 5.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.3678, allocations: 4 kB / 0.6146 GB, free: 5.484 MB / 426.7 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 postOpt replaceHomotopyWithSimplified (initialization): time 0.01111/0.3789, allocations: 4.125 MB / 0.6186 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3789, allocations: 8 kB / 0.6186 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/0.384, allocations: 1.691 MB / 0.6202 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.3851, allocations: 291.6 kB / 0.6205 GB, free: 15.3 MB / 442.7 MB 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.002572/0.3877, allocations: 1.477 MB / 0.622 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.3892, allocations: 226.5 kB / 0.6222 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3894, allocations: 59.98 kB / 0.6222 GB, free: 13.5 MB / 442.7 MB 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.0007474/0.3901, allocations: 458.6 kB / 0.6227 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.3904, allocations: 177.9 kB / 0.6228 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005662/0.3961, allocations: 2.481 MB / 0.6253 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.3961, allocations: 7.984 kB / 0.6253 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3961, allocations: 3.938 kB / 0.6253 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.3964, allocations: 274.7 kB / 0.6255 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.3967, allocations: 28 kB / 0.6256 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.3979, allocations: 151.8 kB / 0.6257 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/0.3982, allocations: 136.8 kB / 0.6258 GB, free: 9.746 MB / 442.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524: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 1000000.0 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 ) "Feedback input" 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:9746:5-9747:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003272/0.4015, allocations: 3.391 MB / 0.6291 GB, free: 5.828 MB / 442.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.