Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004982/0.004982, allocations: 171.3 kB / 15.11 MB, free: 5.984 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.309/1.309, allocations: 223.2 MB / 239 MB, free: 1.781 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.0009324/0.0009324, allocations: 103.8 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.45/0.45, allocations: 79.43 MB / 420.8 MB, free: 43.62 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 8 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3763, allocations: 69.51 MB / 0.5569 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5055, allocations: 107.6 MB / 0.662 GB, free: 13.96 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5058, allocations: 91.94 kB / 0.6621 GB, free: 13.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1006/0.6065, allocations: 39.1 MB / 0.7003 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6065, allocations: 0 / 0.7003 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001085/0.6066, allocations: 36 kB / 0.7003 GB, free: 6.621 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.005434/0.6121, allocations: 2.38 MB / 0.7026 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.199e-05/0.6121, allocations: 8.031 kB / 0.7026 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.6138, allocations: 449.1 kB / 0.7031 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.6156, allocations: 1.111 MB / 0.7042 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/0.6161, allocations: 0.5914 MB / 0.7047 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.6164, allocations: 143.9 kB / 0.7049 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.6196, allocations: 1.77 MB / 0.7066 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.6197, allocations: 0 / 0.7066 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.6198, allocations: 56 kB / 0.7066 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.6198, allocations: 28 kB / 0.7067 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.6229, allocations: 1.532 MB / 0.7082 GB, free: 14.26 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.009312/0.6322, allocations: 6.077 MB / 0.7141 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00998/0.6422, allocations: 3.896 MB / 0.7179 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.6424, allocations: 25.03 kB / 0.7179 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002226/0.6446, allocations: 1.068 MB / 0.719 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 2.745e-06/0.6447, allocations: 0 / 0.719 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.02221/0.6669, allocations: 6.966 MB / 0.7258 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.667, allocations: 230.6 kB / 0.726 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.6693, allocations: 1.227 MB / 0.7272 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.6696, allocations: 57.64 kB / 0.7273 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.6702, allocations: 0.6742 MB / 0.7279 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/0.6706, allocations: 445.7 kB / 0.7283 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.6708, allocations: 36 kB / 0.7284 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6709, allocations: 369.9 kB / 0.7287 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.673, allocations: 0.9448 MB / 0.7296 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.6752, allocations: 1.201 MB / 0.7308 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.6772, allocations: 1.045 MB / 0.7318 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6772, allocations: 4 kB / 0.7318 GB, free: 5.477 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.006523/0.6838, allocations: 3.382 MB / 0.7351 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006648/0.6844, allocations: 1.817 MB / 0.7369 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6845, allocations: 8 kB / 0.7369 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005878/0.6903, allocations: 2.036 MB / 0.7389 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6918, allocations: 327.5 kB / 0.7392 GB, free: 13.72 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.004261/0.6961, allocations: 3.16 MB / 0.7423 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.6981, allocations: 306.4 kB / 0.7426 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.6983, allocations: 68 kB / 0.7427 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6983, allocations: 4 kB / 0.7427 GB, free: 10.01 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.005875/0.7042, allocations: 3.056 MB / 0.7457 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7042, allocations: 4.25 kB / 0.7457 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/0.7098, allocations: 1.973 MB / 0.7476 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.711, allocations: 299.5 kB / 0.7479 GB, free: 4.609 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.004113/0.7151, allocations: 3.11 MB / 0.7509 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.7168, allocations: 270.5 kB / 0.7512 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7169, allocations: 67.92 kB / 0.7512 GB, free: 0.9961 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.0008788/0.7178, allocations: 450.5 kB / 0.7517 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.7181, allocations: 170 kB / 0.7518 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009479/0.7276, allocations: 3.712 MB / 0.7555 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/0.7277, allocations: 12 kB / 0.7555 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7277, allocations: 4 kB / 0.7555 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.7277, allocations: 3.984 kB / 0.7555 GB, free: 12.61 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.7434, allocations: 6.699 MB / 0.762 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.7435, allocations: 0 / 0.762 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7445, allocations: 195.8 kB / 0.7622 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005091/0.7496, allocations: 1.803 MB / 0.764 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.7498, allocations: 32 kB / 0.764 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2527/1.003, allocations: 3.877 MB / 0.7678 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.003, allocations: 1.438 kB / 0.7678 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.017, allocations: 5.313 MB / 0.773 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/1.018, allocations: 278.6 kB / 0.7732 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003377/1.018, allocations: 31.14 kB / 0.7733 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.02, allocations: 202.5 kB / 0.7735 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/1.02, allocations: 144.7 kB / 0.7736 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.02, allocations: 40.2 kB / 0.7736 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001313/1.022, allocations: 0.9183 MB / 0.7745 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.022, allocations: 9.594 kB / 0.7745 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002004/1.024, allocations: 0.7437 MB / 0.7753 GB, free: 140.6 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.0003833/1.024, allocations: 176.2 kB / 0.7754 GB, free: 140.5 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]