Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Wind.PSSE.WT4G.WT4E1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009938/0.0009936, allocations: 179.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 222.3 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008509/0.0008507, allocations: 78.42 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3092/0.3092, allocations: 42.28 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 20 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4766, allocations: 102.1 MB / 0.5753 GB, free: 5.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4769, allocations: 87.94 kB / 0.5754 GB, free: 5.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1082/0.5852, allocations: 38.23 MB / 0.6128 GB, free: 15.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5852, allocations: 0 / 0.6128 GB, free: 15.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002085/0.5855, allocations: 40 kB / 0.6128 GB, free: 15.13 MB / 442.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.007577/0.5931, allocations: 2.374 MB / 0.6151 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5931, allocations: 8.031 kB / 0.6151 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/0.5957, allocations: 447.8 kB / 0.6155 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.5993, allocations: 1.192 MB / 0.6167 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007407/0.6, allocations: 0.5875 MB / 0.6173 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.6006, allocations: 143.9 kB / 0.6174 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.6054, allocations: 1.77 MB / 0.6191 GB, free: 8.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.6055, allocations: 11.86 kB / 0.6192 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.6057, allocations: 56 kB / 0.6192 GB, free: 8.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.6058, allocations: 28 kB / 0.6192 GB, free: 8.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003988/0.6098, allocations: 1.532 MB / 0.6207 GB, free: 6.699 MB / 442.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.01312/0.6229, allocations: 6.093 MB / 0.6267 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.6332, allocations: 3.89 MB / 0.6305 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.6357, allocations: 0.99 MB / 0.6314 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.6359, allocations: 25.05 kB / 0.6315 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002817/0.6388, allocations: 1.072 MB / 0.6325 GB, free: 10.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 4.659e-06/0.6388, allocations: 0 / 0.6325 GB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02343/0.6622, allocations: 7.018 MB / 0.6394 GB, free: 3.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.6624, allocations: 230.9 kB / 0.6396 GB, free: 2.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.6657, allocations: 1.396 MB / 0.641 GB, free: 1.535 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.6661, allocations: 53.7 kB / 0.641 GB, free: 1.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.6669, allocations: 0.6938 MB / 0.6417 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/0.6676, allocations: 445.8 kB / 0.6421 GB, free: 344 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.6678, allocations: 36 kB / 0.6421 GB, free: 308 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.6681, allocations: 373.9 kB / 0.6425 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.6705, allocations: 0.9409 MB / 0.6434 GB, free: 14.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.6731, allocations: 1.209 MB / 0.6446 GB, free: 13.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.6775, allocations: 2.068 MB / 0.6466 GB, free: 11.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.6775, allocations: 3.938 kB / 0.6466 GB, free: 11.57 MB / 474.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.007531/0.6851, allocations: 3.386 MB / 0.6499 GB, free: 8.117 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.6853, allocations: 261.1 kB / 0.6502 GB, free: 7.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6853, allocations: 4 kB / 0.6502 GB, free: 7.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005852/0.6912, allocations: 2.044 MB / 0.6522 GB, free: 5.727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.6924, allocations: 319.6 kB / 0.6525 GB, free: 5.414 MB / 474.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.004224/0.6967, allocations: 3.146 MB / 0.6556 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.6987, allocations: 310.4 kB / 0.6559 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.699, allocations: 63.98 kB / 0.6559 GB, free: 1.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.699, allocations: 0 / 0.6559 GB, free: 1.715 MB / 474.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.006513/0.7055, allocations: 3.074 MB / 0.6589 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.7056, allocations: 8.062 kB / 0.6589 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/0.7111, allocations: 1.969 MB / 0.6608 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7123, allocations: 291.6 kB / 0.6611 GB, free: 12.3 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.004516/0.7169, allocations: 3.105 MB / 0.6642 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.7188, allocations: 258.7 kB / 0.6644 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.719, allocations: 67.92 kB / 0.6645 GB, free: 8.703 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 () * 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.001212/0.7203, allocations: 458.5 kB / 0.6649 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.7209, allocations: 169.9 kB / 0.6651 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009759/0.7307, allocations: 3.713 MB / 0.6687 GB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.7307, allocations: 15.94 kB / 0.6687 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7307, allocations: 0 / 0.6687 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.7308, allocations: 3.984 kB / 0.6687 GB, free: 4.309 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.26/0.9908, allocations: 6.712 MB / 0.6753 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.9908, allocations: 1.375 kB / 0.6753 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.9921, allocations: 194 kB / 0.6755 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005748/0.9978, allocations: 1.807 MB / 0.6772 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/0.9981, allocations: 32.09 kB / 0.6772 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/1.004, allocations: 3.866 MB / 0.681 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.004, allocations: 7.531 kB / 0.681 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.017, allocations: 5.298 MB / 0.6862 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.018, allocations: 278.4 kB / 0.6865 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/1.018, allocations: 34.81 kB / 0.6865 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.019, allocations: 203.6 kB / 0.6867 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.02, allocations: 140.7 kB / 0.6868 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/1.02, allocations: 37.39 kB / 0.6869 GB, free: 116.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001299/1.021, allocations: 0.935 MB / 0.6878 GB, free: 116.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.021, allocations: 0 / 0.6878 GB, free: 116.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001688/1.023, allocations: 0.7506 MB / 0.6885 GB, free: 116.7 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) * 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.0003103/1.023, allocations: 171.3 kB / 0.6887 GB, free: 116.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3397:9-3397:50:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{112:145}, {15:6}}, {47:146} Size: 1 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1495:5-1495:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]