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.005249/0.005249, allocations: 169.6 kB / 15.11 MB, free: 5.988 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.266/1.266, allocations: 223.2 MB / 239 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008691, allocations: 109 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4645/0.4645, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3347, allocations: 69.34 MB / 0.5558 GB, free: 38.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.4683, allocations: 107 MB / 0.6603 GB, free: 15.46 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.4687, allocations: 91.94 kB / 0.6604 GB, free: 15.37 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1013/0.57, allocations: 38.91 MB / 0.6984 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5701, allocations: 0 / 0.6984 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000116/0.5702, allocations: 39.92 kB / 0.6984 GB, free: 8.297 MB / 0.4948 GB 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.005631/0.5758, allocations: 2.384 MB / 0.7007 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5759, allocations: 8.031 kB / 0.7008 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.5777, allocations: 445.1 kB / 0.7012 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.5798, allocations: 1.115 MB / 0.7023 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/0.5803, allocations: 0.5938 MB / 0.7028 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.5806, allocations: 139.9 kB / 0.703 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.584, allocations: 1.766 MB / 0.7047 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.584, allocations: 0 / 0.7047 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.5842, allocations: 52 kB / 0.7048 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.5842, allocations: 32 kB / 0.7048 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.5875, allocations: 1.536 MB / 0.7063 GB, free: 15.94 MB / 0.5105 GB 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.009661/0.5972, allocations: 6.081 MB / 0.7122 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.6074, allocations: 3.89 MB / 0.716 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.6075, allocations: 21.06 kB / 0.716 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/0.6097, allocations: 1.072 MB / 0.7171 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.547e-06/0.6097, allocations: 0 / 0.7171 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.02189/0.6316, allocations: 6.966 MB / 0.7239 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6318, allocations: 230.5 kB / 0.7241 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.6337, allocations: 1.223 MB / 0.7253 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.6339, allocations: 57.69 kB / 0.7254 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.6344, allocations: 0.6781 MB / 0.726 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.6348, allocations: 445.7 kB / 0.7265 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.6349, allocations: 40 kB / 0.7265 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.635, allocations: 369.9 kB / 0.7268 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.637, allocations: 0.9487 MB / 0.7278 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.6392, allocations: 1.201 MB / 0.7289 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.6413, allocations: 1.039 MB / 0.73 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6413, allocations: 8 kB / 0.73 GB, free: 7.145 MB / 0.5261 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 ; 1.0 , 0.0 , -1.0 ; -1.0 , 0.0 , 0.0 ] * [ wT4E1.p0 ; $START.wT4E1.P ; 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(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=227) (initialization): time 0.006612/0.6479, allocations: 3.383 MB / 0.7333 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005915/0.6485, allocations: 1.823 MB / 0.735 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6485, allocations: 4 kB / 0.7351 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00563/0.6542, allocations: 2.04 MB / 0.737 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.6554, allocations: 319.6 kB / 0.7373 GB, free: 15.39 MB / 0.5417 GB 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.00422/0.6596, allocations: 3.16 MB / 0.7404 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.6616, allocations: 306.4 kB / 0.7407 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.6618, allocations: 63.98 kB / 0.7408 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.6618, allocations: 4 kB / 0.7408 GB, free: 11.69 MB / 0.5417 GB Warning: The linear system: 1 : -wT4E1.P = (-pwLine2.vs.re) * pwLine2.is.re - pwLine2.vs.im * pwLine2.is.im 2 : $START.wT4E1.P = wT4E1.p0 3 : wT4E1.p0 = wT4E1.P [ -1.0 , 0.0 , 0.0 ; 0.0 , -1.0 , 0.0 ; -1.0 , 1.0 , 0.0 ] * [ wT4E1.P ; wT4E1.p0 ; $START.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(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00568/0.6675, allocations: 3.059 MB / 0.7438 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6675, allocations: 8.188 kB / 0.7438 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00561/0.6731, allocations: 1.969 MB / 0.7457 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.6742, allocations: 299.6 kB / 0.746 GB, free: 6.285 MB / 0.5417 GB 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.004393/0.6786, allocations: 3.118 MB / 0.749 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.6804, allocations: 266.5 kB / 0.7493 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.6806, allocations: 63.94 kB / 0.7494 GB, free: 2.668 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Reinit,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 (163): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,0.0%) 2} * Non-linear torn systems: 1 {21 34} Notification: Performance of prepare postOptimizeDAE: time 0.0009873/0.6815, allocations: 454.5 kB / 0.7498 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.6818, allocations: 170 kB / 0.7499 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009137/0.691, allocations: 3.712 MB / 0.7536 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.691, allocations: 16 kB / 0.7536 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.691, allocations: 0 / 0.7536 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.691, allocations: 3.984 kB / 0.7536 GB, free: 14.29 MB / 0.5573 GB 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 postOpt removeSimpleEquations (simulation): time 0.01451/0.7055, allocations: 6.695 MB / 0.7601 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.7055, allocations: 3.984 kB / 0.7601 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.7065, allocations: 195.8 kB / 0.7603 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004845/0.7114, allocations: 1.803 MB / 0.7621 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.7115, allocations: 31.98 kB / 0.7621 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/0.7173, allocations: 3.88 MB / 0.7659 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7173, allocations: 4.062 kB / 0.7659 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2629/0.9802, allocations: 5.314 MB / 0.7711 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.9808, allocations: 272.5 kB / 0.7714 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.981, allocations: 29.92 kB / 0.7714 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.9825, allocations: 203.2 kB / 0.7716 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/0.9829, allocations: 147.9 kB / 0.7717 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.955e-05/0.983, allocations: 37 kB / 0.7718 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001425/0.9845, allocations: 0.9197 MB / 0.7727 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9845, allocations: 3.719 kB / 0.7727 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001793/0.9863, allocations: 0.7464 MB / 0.7734 GB, free: 140.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (gENCLS2_1.omega,gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,wT4E1.K6.y,wT4E1.activePowerController.K2.y,wT4E1.activePowerController.K3.x,wT4E1.activePowerController.K5.state,wT4E1.PF_Controller.K0.state,wT4E1.windControlEmulator1.K.state,wT4E1.windControlEmulator1.K8.state,wT4E1.windControlEmulator1.K8_extra.state,wT4E1.windControlEmulator1.integrator.y,wT4E1.integratorLimVar.w) * Number of discrete variables: 6 ($whenCondition1,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.Rising,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Reinit) * Number of discrete states: 5 (wT4E1.integratorLimVar.Reinit,wT4E1.integratorLimVar.ReachLower,wT4E1.integratorLimVar.ReachUpper,wT4E1.integratorLimVar.Falling,wT4E1.integratorLimVar.Rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {18 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.9866, allocations: 176.2 kB / 0.7736 GB, free: 140.7 MB / 0.5573 GB Error: A torn linear system has no symbolic jacobian and currently there are no means to solve that numerically. Please compile with the module "calculateStrongComponentJacobians" to provide symbolic jacobians for torn linear systems. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3332:9-3332:50:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{112:145}, {15:6}}, {47:146} Size: 1 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1480:5-1480:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]