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.0009584/0.0009585, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.186/1.186, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008993/0.0008993, allocations: 94.78 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4214/0.4214, allocations: 78.01 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.519e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 69.35 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.429, allocations: 107 MB / 0.6524 GB, free: 9.438 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4293, allocations: 83.94 kB / 0.6525 GB, free: 9.355 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3769/0.8063, allocations: 38.86 MB / 0.6904 GB, free: 105.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.8063, allocations: 3.812 kB / 0.6904 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.324e-05/0.8064, allocations: 35.75 kB / 0.6905 GB, free: 105.5 MB / 490.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.004143/0.8106, allocations: 2.067 MB / 0.6925 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8106, allocations: 11.09 kB / 0.6925 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.8123, allocations: 440.4 kB / 0.6929 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.8138, allocations: 1.1 MB / 0.694 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/0.8143, allocations: 0.5904 MB / 0.6946 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.8145, allocations: 145.5 kB / 0.6947 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.8165, allocations: 1.452 MB / 0.6961 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.8165, allocations: 0 / 0.6961 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.8166, allocations: 57.12 kB / 0.6962 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.8167, allocations: 30.69 kB / 0.6962 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.8183, allocations: 1.116 MB / 0.6973 GB, free: 102.6 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007472/0.8258, allocations: 6.079 MB / 0.7032 GB, free: 98.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007758/0.8335, allocations: 3.304 MB / 0.7065 GB, free: 97.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.8344, allocations: 0.6909 MB / 0.7071 GB, free: 97.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.8345, allocations: 27.83 kB / 0.7072 GB, free: 97.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.8355, allocations: 0.7678 MB / 0.7079 GB, free: 97.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.106e-06/0.8355, allocations: 0 / 0.7079 GB, free: 97.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.0053/0.8408, allocations: 2.446 MB / 0.7103 GB, free: 96.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.8409, allocations: 224.7 kB / 0.7105 GB, free: 96.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.8421, allocations: 1.211 MB / 0.7117 GB, free: 95.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.8422, allocations: 53.7 kB / 0.7118 GB, free: 94.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.8425, allocations: 0.6661 MB / 0.7124 GB, free: 94.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.8428, allocations: 449.7 kB / 0.7128 GB, free: 93.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.8429, allocations: 36 kB / 0.7129 GB, free: 93.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.843, allocations: 373.8 kB / 0.7132 GB, free: 93.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.8439, allocations: 0.6282 MB / 0.7138 GB, free: 92.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.8449, allocations: 0.8895 MB / 0.7147 GB, free: 92.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.8459, allocations: 0.7242 MB / 0.7154 GB, free: 91.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8459, allocations: 7.938 kB / 0.7154 GB, free: 91.36 MB / 490.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 ; 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.00336/0.8493, allocations: 2.551 MB / 0.7179 GB, free: 88.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.8496, allocations: 1.827 MB / 0.7197 GB, free: 86.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8496, allocations: 4 kB / 0.7197 GB, free: 86.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/0.8538, allocations: 1.659 MB / 0.7213 GB, free: 85.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8549, allocations: 320.7 kB / 0.7216 GB, free: 85.29 MB / 490.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.003076/0.858, allocations: 2.936 MB / 0.7245 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.8596, allocations: 307.8 kB / 0.7248 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.8597, allocations: 63.84 kB / 0.7249 GB, free: 82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.8598, allocations: 6.188 kB / 0.7249 GB, free: 82 MB / 490.7 MB 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.003265/0.863, allocations: 2.415 MB / 0.7272 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8631, allocations: 4 kB / 0.7272 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/0.8672, allocations: 1.634 MB / 0.7288 GB, free: 78.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.8682, allocations: 299.6 kB / 0.7291 GB, free: 77.95 MB / 490.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.003011/0.8713, allocations: 2.937 MB / 0.732 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.8729, allocations: 254.7 kB / 0.7322 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.873, allocations: 67.98 kB / 0.7323 GB, free: 74.52 MB / 490.7 MB 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 () * 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.0003801/0.8734, allocations: 229.8 kB / 0.7325 GB, free: 74.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.8738, allocations: 165.9 kB / 0.7327 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006492/0.8803, allocations: 2.92 MB / 0.7355 GB, free: 71.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.8803, allocations: 12 kB / 0.7355 GB, free: 71.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8804, allocations: 4 kB / 0.7355 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.8804, allocations: 3.984 kB / 0.7355 GB, free: 71.16 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01199/0.8924, allocations: 5.916 MB / 0.7413 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8924, allocations: 4 kB / 0.7413 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/0.8933, allocations: 199.8 kB / 0.7415 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/0.8972, allocations: 1.417 MB / 0.7429 GB, free: 63.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.8973, allocations: 35.98 kB / 0.7429 GB, free: 63.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/0.9009, allocations: 3.303 MB / 0.7461 GB, free: 60.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9009, allocations: 0 / 0.7461 GB, free: 60.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009077/0.91, allocations: 4.224 MB / 0.7503 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/0.9106, allocations: 274.9 kB / 0.7505 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/0.911, allocations: 35.98 kB / 0.7506 GB, free: 55.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.9126, allocations: 199.8 kB / 0.7508 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.913, allocations: 148.7 kB / 0.7509 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.9131, allocations: 39.98 kB / 0.7509 GB, free: 55.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.9144, allocations: 0.8883 MB / 0.7518 GB, free: 54.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9144, allocations: 4 kB / 0.7518 GB, free: 54.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00209/0.9165, allocations: 0.7445 MB / 0.7525 GB, free: 53.41 MB / 490.7 MB 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) * 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.0003146/0.9169, allocations: 173.1 kB / 0.7527 GB, free: 53.24 MB / 490.7 MB 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:3299:9-3299: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:1476:5-1476:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]