Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1") translateModel(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.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.00922/0.00922, 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 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0008823/0.0008823, allocations: 102.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08307/0.08307, allocations: 12.6 MB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4224/0.4224, allocations: 78.52 MB / 460 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005137, allocations: 14.81 kB / 0.5285 GB, free: 35.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1511, allocations: 69.34 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.6102, allocations: 108.8 MB / 0.7024 GB, free: 39.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.6105, allocations: 90.98 kB / 0.7025 GB, free: 39.06 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09461/0.7051, allocations: 38.16 MB / 0.7397 GB, free: 31.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7051, allocations: 7.984 kB / 0.7397 GB, free: 31.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.7052, allocations: 43.11 kB / 0.7398 GB, free: 31.23 MB / 474.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.005726/0.711, allocations: 2.389 MB / 0.7421 GB, free: 29.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.711, allocations: 11.77 kB / 0.7421 GB, free: 29.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.7133, allocations: 443.9 kB / 0.7426 GB, free: 29.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.7155, allocations: 1.143 MB / 0.7437 GB, free: 29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004295/0.716, allocations: 0.5887 MB / 0.7442 GB, free: 28.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.7162, allocations: 140.6 kB / 0.7444 GB, free: 28.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.7193, allocations: 1.77 MB / 0.7461 GB, free: 27.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7193, allocations: 0 / 0.7461 GB, free: 27.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.7195, allocations: 50.66 kB / 0.7462 GB, free: 27.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.7195, allocations: 31.34 kB / 0.7462 GB, free: 27.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/0.7224, allocations: 1.541 MB / 0.7477 GB, free: 27.64 MB / 474.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.008855/0.7313, allocations: 6.085 MB / 0.7536 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009249/0.7406, allocations: 3.887 MB / 0.7574 GB, free: 23.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.7408, allocations: 36.36 kB / 0.7575 GB, free: 23.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/0.7431, allocations: 1.063 MB / 0.7585 GB, free: 22.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 2.515e-06/0.7431, allocations: 0 / 0.7585 GB, free: 22.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02075/0.7639, allocations: 6.971 MB / 0.7653 GB, free: 20.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.764, allocations: 229.5 kB / 0.7655 GB, free: 20.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.7662, allocations: 1.234 MB / 0.7667 GB, free: 19.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003526/0.7665, allocations: 51.27 kB / 0.7668 GB, free: 19.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.767, allocations: 0.6814 MB / 0.7675 GB, free: 19.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.7674, allocations: 445.7 kB / 0.7679 GB, free: 19.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.7675, allocations: 37.41 kB / 0.7679 GB, free: 19.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.7676, allocations: 371.5 kB / 0.7683 GB, free: 18.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.7695, allocations: 0.9411 MB / 0.7692 GB, free: 18.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.7716, allocations: 1.204 MB / 0.7704 GB, free: 18.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.7736, allocations: 1.049 MB / 0.7714 GB, free: 18.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.7736, allocations: 0 / 0.7714 GB, free: 18.25 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.006738/0.7803, allocations: 3.382 MB / 0.7747 GB, free: 17.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000355/0.7807, allocations: 1.824 MB / 0.7765 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7807, allocations: 7.719 kB / 0.7765 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/0.7862, allocations: 2.043 MB / 0.7785 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.7876, allocations: 321 kB / 0.7788 GB, free: 14.89 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.003942/0.7916, allocations: 3.155 MB / 0.7819 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.7938, allocations: 315.7 kB / 0.7822 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.794, allocations: 62.8 kB / 0.7822 GB, free: 12.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.794, allocations: 4 kB / 0.7822 GB, free: 12.07 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.005427/0.7994, allocations: 3.064 MB / 0.7852 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7995, allocations: 8 kB / 0.7852 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/0.8048, allocations: 1.962 MB / 0.7871 GB, free: 8.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.806, allocations: 293.2 kB / 0.7874 GB, free: 7.855 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.003658/0.8097, allocations: 3.133 MB / 0.7905 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.8116, allocations: 257.3 kB / 0.7907 GB, free: 4.734 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.8118, allocations: 63.55 kB / 0.7908 GB, free: 4.688 MB / 474.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.00102/0.8128, allocations: 455.7 kB / 0.7912 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.8132, allocations: 169.9 kB / 0.7914 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0084/0.8216, allocations: 3.707 MB / 0.795 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.8217, allocations: 12 kB / 0.795 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8217, allocations: 0 / 0.795 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.8217, allocations: 23.86 kB / 0.795 GB, free: 0.7969 MB / 474.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.01593/0.8377, allocations: 6.699 MB / 0.8016 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.8377, allocations: 4.281 kB / 0.8016 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.8389, allocations: 195.8 kB / 0.8018 GB, free: 9.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005277/0.8442, allocations: 1.803 MB / 0.8035 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/0.8445, allocations: 35.98 kB / 0.8036 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/0.851, allocations: 3.875 MB / 0.8073 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8511, allocations: 3.938 kB / 0.8074 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.8648, allocations: 5.312 MB / 0.8125 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007547/0.8656, allocations: 274.9 kB / 0.8128 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.8659, allocations: 43.94 kB / 0.8128 GB, free: 14.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.8674, allocations: 199.8 kB / 0.813 GB, free: 14 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.8678, allocations: 140.8 kB / 0.8132 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.8679, allocations: 39.98 kB / 0.8132 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001517/0.8694, allocations: 0.9289 MB / 0.8141 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8694, allocations: 0 / 0.8141 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001921/0.8713, allocations: 0.7483 MB / 0.8148 GB, free: 12.15 MB / 0.4949 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.0003224/0.8717, allocations: 164.8 kB / 0.815 GB, free: 11.98 MB / 0.4949 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]