Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4E1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_release_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.004742/0.004742, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.37/1.37, allocations: 223.2 MB / 239 MB, free: 1.777 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.001083/0.001083, allocations: 109.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5539/0.5539, allocations: 78.58 MB / 419.9 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 12 kB / 499.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4894, allocations: 69.35 MB / 0.5559 GB, free: 38.36 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.6356, allocations: 107 MB / 0.6604 GB, free: 15.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.636, allocations: 95.94 kB / 0.6605 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.7385, allocations: 38.91 MB / 0.6985 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.587e-06/0.7385, allocations: 0 / 0.6985 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001151/0.7386, allocations: 43.92 kB / 0.6985 GB, free: 8.184 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.005682/0.7443, allocations: 2.38 MB / 0.7008 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7444, allocations: 12.03 kB / 0.7008 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.7447, allocations: 205.9 kB / 0.701 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.7465, allocations: 437.1 kB / 0.7015 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.7484, allocations: 1.115 MB / 0.7025 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005727/0.749, allocations: 0.586 MB / 0.7031 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.7493, allocations: 143.9 kB / 0.7033 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.7526, allocations: 1.766 MB / 0.705 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.7526, allocations: 0 / 0.705 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.7527, allocations: 56 kB / 0.705 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.7528, allocations: 32 kB / 0.7051 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.7559, allocations: 1.54 MB / 0.7066 GB, free: 15.61 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.009124/0.7651, allocations: 6.077 MB / 0.7125 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.7754, allocations: 3.891 MB / 0.7163 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.7755, allocations: 28.98 kB / 0.7163 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/0.7777, allocations: 1.064 MB / 0.7174 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.7777, allocations: 0 / 0.7174 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.02209/0.7998, allocations: 6.974 MB / 0.7242 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.8, allocations: 222.6 kB / 0.7244 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.8019, allocations: 1.234 MB / 0.7256 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.802, allocations: 53.7 kB / 0.7256 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.8025, allocations: 0.6781 MB / 0.7263 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.8029, allocations: 445.7 kB / 0.7267 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.803, allocations: 36 kB / 0.7268 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8032, allocations: 373.9 kB / 0.7271 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.8052, allocations: 0.9526 MB / 0.7281 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.8073, allocations: 1.189 MB / 0.7292 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.8094, allocations: 1.054 MB / 0.7302 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8094, allocations: 0 / 0.7302 GB, free: 6.816 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.006604/0.816, allocations: 3.379 MB / 0.7335 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006188/0.8167, allocations: 1.827 MB / 0.7353 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8167, allocations: 4 kB / 0.7353 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005806/0.8225, allocations: 2.036 MB / 0.7373 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.8239, allocations: 323.5 kB / 0.7376 GB, free: 15.07 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.004283/0.8282, allocations: 3.153 MB / 0.7407 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.8303, allocations: 306.4 kB / 0.741 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.8305, allocations: 63.98 kB / 0.7411 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.8305, allocations: 8 kB / 0.7411 GB, free: 11.36 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.005787/0.8363, allocations: 3.058 MB / 0.7441 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.8363, allocations: 7.984 kB / 0.7441 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/0.8417, allocations: 1.977 MB / 0.746 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.843, allocations: 295.6 kB / 0.7463 GB, free: 5.957 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.004049/0.847, allocations: 3.113 MB / 0.7493 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.8489, allocations: 266.5 kB / 0.7496 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.8491, allocations: 59.98 kB / 0.7496 GB, free: 2.348 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.0009249/0.85, allocations: 458.8 kB / 0.7501 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.8504, allocations: 166 kB / 0.7502 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009124/0.8595, allocations: 3.716 MB / 0.7539 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.8595, allocations: 12 kB / 0.7539 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.8596, allocations: 4 kB / 0.7539 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.8596, allocations: 7.969 kB / 0.7539 GB, free: 13.96 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.01533/0.8749, allocations: 6.695 MB / 0.7604 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.875, allocations: 0 / 0.7604 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.8761, allocations: 199.7 kB / 0.7606 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.8813, allocations: 1.807 MB / 0.7624 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/0.8817, allocations: 31.98 kB / 0.7624 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006006/0.8877, allocations: 3.881 MB / 0.7662 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8877, allocations: 4 kB / 0.7662 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3034/1.191, allocations: 5.312 MB / 0.7714 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/1.192, allocations: 275.2 kB / 0.7716 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/1.192, allocations: 30.81 kB / 0.7717 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.193, allocations: 200.6 kB / 0.7719 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.194, allocations: 151.8 kB / 0.772 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/1.194, allocations: 35.28 kB / 0.772 GB, free: 141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001407/1.195, allocations: 0.9197 MB / 0.7729 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.195, allocations: 0 / 0.7729 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001895/1.197, allocations: 0.751 MB / 0.7737 GB, free: 140.8 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.01293/1.21, allocations: 5.995 MB / 0.7795 GB, free: 139.9 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]