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: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4E1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4E1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01005/0.01005, allocations: 170 kB / 15.11 MB, free: 5.578 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.508/1.508, allocations: 223.2 MB / 239 MB, free: 1.762 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.001102/0.001102, allocations: 97.97 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.515/0.515, allocations: 78.52 MB / 419.8 MB, free: 43.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 12 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5007, allocations: 69.36 MB / 0.5558 GB, free: 38.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6541, allocations: 107 MB / 0.6603 GB, free: 15.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6545, allocations: 87.94 kB / 0.6604 GB, free: 15.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.7632, allocations: 38.91 MB / 0.6984 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7633, allocations: 0 / 0.6984 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002575/0.7636, allocations: 36 kB / 0.6985 GB, free: 8.035 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.008457/0.772, allocations: 2.384 MB / 0.7008 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.7721, allocations: 8.031 kB / 0.7008 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009014/0.773, allocations: 201.9 kB / 0.701 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.7757, allocations: 445.1 kB / 0.7014 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.7794, allocations: 1.111 MB / 0.7025 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007045/0.7801, allocations: 0.5899 MB / 0.7031 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.7805, allocations: 143.9 kB / 0.7032 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.7841, allocations: 1.776 MB / 0.7049 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.7842, allocations: 3.938 kB / 0.7049 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.7843, allocations: 52 kB / 0.705 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.7844, allocations: 32 kB / 0.705 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.7879, allocations: 1.532 MB / 0.7065 GB, free: 15.46 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.01158/0.7995, allocations: 6.081 MB / 0.7125 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.81, allocations: 3.896 MB / 0.7163 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.8102, allocations: 25.05 kB / 0.7163 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002513/0.8128, allocations: 1.064 MB / 0.7173 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.8128, allocations: 0 / 0.7173 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.0232/0.836, allocations: 6.974 MB / 0.7241 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.8362, allocations: 226.6 kB / 0.7243 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.8388, allocations: 1.227 MB / 0.7255 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.8392, allocations: 49.7 kB / 0.7256 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006311/0.8398, allocations: 0.682 MB / 0.7263 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/0.8404, allocations: 441.7 kB / 0.7267 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.8405, allocations: 36 kB / 0.7267 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.8407, allocations: 373.9 kB / 0.7271 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.8429, allocations: 0.9409 MB / 0.728 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.8453, allocations: 1.201 MB / 0.7292 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.8476, allocations: 1.05 MB / 0.7302 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8476, allocations: 0 / 0.7302 GB, free: 6.68 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.007222/0.8548, allocations: 3.382 MB / 0.7335 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000748/0.8556, allocations: 1.821 MB / 0.7353 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8556, allocations: 4 kB / 0.7353 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/0.8616, allocations: 2.051 MB / 0.7373 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8631, allocations: 319.6 kB / 0.7376 GB, free: 14.92 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.004583/0.8677, allocations: 3.152 MB / 0.7407 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.87, allocations: 310.4 kB / 0.741 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.8702, allocations: 67.98 kB / 0.741 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8702, allocations: 6.188 kB / 0.741 GB, free: 11.21 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.006077/0.8763, allocations: 3.054 MB / 0.744 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8763, allocations: 4 kB / 0.744 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/0.8821, allocations: 1.973 MB / 0.7459 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8833, allocations: 299.5 kB / 0.7462 GB, free: 5.809 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.004396/0.8878, allocations: 3.113 MB / 0.7493 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.8899, allocations: 266.9 kB / 0.7495 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.8901, allocations: 63.98 kB / 0.7496 GB, free: 2.199 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.001244/0.8913, allocations: 462.5 kB / 0.75 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.8917, allocations: 166 kB / 0.7502 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009601/0.9013, allocations: 3.712 MB / 0.7538 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9013, allocations: 12 kB / 0.7538 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9013, allocations: 4 kB / 0.7538 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.9013, allocations: 7.969 kB / 0.7538 GB, free: 13.81 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.01612/0.9175, allocations: 6.695 MB / 0.7604 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.9175, allocations: 0 / 0.7604 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9187, allocations: 199.8 kB / 0.7606 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.924, allocations: 1.795 MB / 0.7623 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.9242, allocations: 39.98 kB / 0.7623 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.9304, allocations: 3.879 MB / 0.7661 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9304, allocations: 0 / 0.7661 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3979/1.328, allocations: 5.308 MB / 0.7713 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008721/1.329, allocations: 279.1 kB / 0.7716 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.33, allocations: 32.73 kB / 0.7716 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.331, allocations: 203.3 kB / 0.7718 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/1.332, allocations: 145.5 kB / 0.772 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.332, allocations: 34.94 kB / 0.772 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001749/1.333, allocations: 0.9228 MB / 0.7729 GB, free: 141 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.333, allocations: 1.062 kB / 0.7729 GB, free: 141 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002437/1.336, allocations: 0.751 MB / 0.7736 GB, free: 140.9 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.01349/1.349, allocations: 5.993 MB / 0.7795 GB, free: 140 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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1480:5-1480:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/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]