Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.004846/0.004846, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.241/1.241, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008824/0.0008824, allocations: 99.83 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4019/0.4019, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 8 kB / 499.7 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 69.36 MB / 0.5557 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.426, allocations: 107 MB / 0.6602 GB, free: 15.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4263, allocations: 87.94 kB / 0.6603 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.099/0.5253, allocations: 38.91 MB / 0.6983 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5253, allocations: 0 / 0.6983 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001277/0.5255, allocations: 39.94 kB / 0.6984 GB, free: 8.18 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.005886/0.5314, allocations: 2.384 MB / 0.7007 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.5314, allocations: 12.03 kB / 0.7007 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.5334, allocations: 437.1 kB / 0.7011 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.5354, allocations: 1.115 MB / 0.7022 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/0.5359, allocations: 0.5938 MB / 0.7028 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.5362, allocations: 139.9 kB / 0.7029 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.5394, allocations: 1.766 MB / 0.7046 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5394, allocations: 0 / 0.7046 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5395, allocations: 59.98 kB / 0.7047 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.5396, allocations: 32 kB / 0.7047 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.5426, allocations: 1.536 MB / 0.7062 GB, free: 15.81 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.008979/0.5516, allocations: 6.077 MB / 0.7122 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009467/0.5611, allocations: 3.898 MB / 0.716 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.441e-05/0.5612, allocations: 21.06 kB / 0.716 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002008/0.5632, allocations: 1.072 MB / 0.717 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 2.585e-06/0.5632, allocations: 0 / 0.717 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.021/0.5842, allocations: 6.966 MB / 0.7238 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.5844, allocations: 230.5 kB / 0.7241 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.5864, allocations: 1.223 MB / 0.7253 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.5867, allocations: 53.7 kB / 0.7253 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.5873, allocations: 0.682 MB / 0.726 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.5878, allocations: 441.7 kB / 0.7264 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.588, allocations: 39.94 kB / 0.7264 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5882, allocations: 373.9 kB / 0.7268 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.5903, allocations: 0.9487 MB / 0.7277 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.5926, allocations: 1.194 MB / 0.7289 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.5948, allocations: 1.046 MB / 0.7299 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.5948, allocations: 0 / 0.7299 GB, free: 7.027 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.006881/0.6017, allocations: 3.382 MB / 0.7332 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005669/0.6023, allocations: 1.825 MB / 0.735 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6023, allocations: 7.984 kB / 0.735 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.6079, allocations: 2.04 MB / 0.737 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.6091, allocations: 315.6 kB / 0.7373 GB, free: 15.27 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.003941/0.6131, allocations: 3.16 MB / 0.7404 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.6149, allocations: 306.4 kB / 0.7407 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.6151, allocations: 63.98 kB / 0.7407 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6151, allocations: 8 kB / 0.7407 GB, free: 11.56 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.006103/0.6212, allocations: 3.059 MB / 0.7437 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.6212, allocations: 4 kB / 0.7437 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005374/0.6266, allocations: 1.973 MB / 0.7457 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.6278, allocations: 295.6 kB / 0.7459 GB, free: 6.16 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.003958/0.6318, allocations: 3.113 MB / 0.749 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.6337, allocations: 262.5 kB / 0.7492 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/0.634, allocations: 67.92 kB / 0.7493 GB, free: 2.551 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.001003/0.635, allocations: 464.2 kB / 0.7497 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/0.6355, allocations: 170 kB / 0.7499 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0092/0.6447, allocations: 3.708 MB / 0.7535 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6448, allocations: 12 kB / 0.7535 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6448, allocations: 7.984 kB / 0.7535 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.6448, allocations: 3.984 kB / 0.7535 GB, free: 14.16 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.0157/0.6605, allocations: 6.699 MB / 0.7601 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6606, allocations: 0 / 0.7601 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6616, allocations: 195.8 kB / 0.7603 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005047/0.6667, allocations: 1.803 MB / 0.762 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.6669, allocations: 31.98 kB / 0.7621 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/0.6725, allocations: 3.879 MB / 0.7659 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6725, allocations: 0 / 0.7659 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2222/0.8948, allocations: 5.316 MB / 0.771 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.8954, allocations: 268.1 kB / 0.7713 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.8957, allocations: 32.47 kB / 0.7713 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.897, allocations: 204.5 kB / 0.7715 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.8974, allocations: 144.4 kB / 0.7717 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.8975, allocations: 38.28 kB / 0.7717 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001296/0.8988, allocations: 0.9219 MB / 0.7726 GB, free: 141 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8988, allocations: 0 / 0.7726 GB, free: 141 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001664/0.9005, allocations: 0.7518 MB / 0.7733 GB, free: 141 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.0002641/0.9008, allocations: 172.4 kB / 0.7735 GB, free: 140.9 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]