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.0013/0.0013, allocations: 174.6 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.282/1.282, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008876/0.0008878, allocations: 97.03 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4962/0.4962, allocations: 78.09 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.538e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 69.35 MB / 0.5481 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.5029, allocations: 107 MB / 0.6525 GB, free: 9.535 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5032, allocations: 79.95 kB / 0.6526 GB, free: 9.457 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.493/0.9962, allocations: 38.86 MB / 0.6906 GB, free: 105.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.9963, allocations: 0 / 0.6906 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.9964, allocations: 34.56 kB / 0.6906 GB, free: 105.7 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.004687/1.001, allocations: 2.085 MB / 0.6926 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.001, allocations: 10.44 kB / 0.6927 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/1.001, allocations: 192.5 kB / 0.6928 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/1.004, allocations: 443 kB / 0.6933 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/1.006, allocations: 1.095 MB / 0.6943 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/1.007, allocations: 0.5941 MB / 0.6949 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/1.007, allocations: 143.1 kB / 0.695 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/1.009, allocations: 1.449 MB / 0.6965 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.009, allocations: 8.344 kB / 0.6965 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.009, allocations: 55.44 kB / 0.6965 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/1.01, allocations: 26.75 kB / 0.6965 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/1.011, allocations: 1.112 MB / 0.6976 GB, free: 102.7 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.009829/1.021, allocations: 6.087 MB / 0.7036 GB, free: 99.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/1.029, allocations: 3.307 MB / 0.7068 GB, free: 97.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/1.03, allocations: 0.6894 MB / 0.7075 GB, free: 97.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/1.03, allocations: 22.59 kB / 0.7075 GB, free: 97.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.031, allocations: 0.7683 MB / 0.7083 GB, free: 97.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/1.031, allocations: 2.688 kB / 0.7083 GB, free: 97.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.005745/1.037, allocations: 2.445 MB / 0.7106 GB, free: 96.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/1.037, allocations: 222.6 kB / 0.7109 GB, free: 96.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.039, allocations: 1.209 MB / 0.712 GB, free: 94.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/1.039, allocations: 53.7 kB / 0.7121 GB, free: 94.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/1.039, allocations: 0.6757 MB / 0.7127 GB, free: 94.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.04, allocations: 445.9 kB / 0.7132 GB, free: 93.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/1.04, allocations: 36 kB / 0.7132 GB, free: 93.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/1.04, allocations: 371 kB / 0.7136 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009162/1.041, allocations: 0.6285 MB / 0.7142 GB, free: 92.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.042, allocations: 0.8851 MB / 0.715 GB, free: 91.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.043, allocations: 0.7335 MB / 0.7158 GB, free: 91.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.043, allocations: 0 / 0.7158 GB, free: 91.29 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.004061/1.047, allocations: 2.563 MB / 0.7183 GB, free: 88.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000464/1.048, allocations: 1.821 MB / 0.72 GB, free: 86.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.048, allocations: 4 kB / 0.72 GB, free: 86.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/1.052, allocations: 1.649 MB / 0.7216 GB, free: 85.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.053, allocations: 321.4 kB / 0.722 GB, free: 85.23 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.003511/1.057, allocations: 2.939 MB / 0.7248 GB, free: 82.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.059, allocations: 312.4 kB / 0.7251 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.059, allocations: 67.59 kB / 0.7252 GB, free: 81.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.059, allocations: 4 kB / 0.7252 GB, free: 81.93 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.00376/1.063, allocations: 2.411 MB / 0.7275 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.063, allocations: 4 kB / 0.7275 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004355/1.067, allocations: 1.634 MB / 0.7291 GB, free: 78.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.069, allocations: 295.6 kB / 0.7294 GB, free: 77.88 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.003792/1.073, allocations: 2.949 MB / 0.7323 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.075, allocations: 250.8 kB / 0.7325 GB, free: 74.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.075, allocations: 59.98 kB / 0.7326 GB, free: 74.45 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.0004864/1.075, allocations: 230.1 kB / 0.7328 GB, free: 74.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005438/1.076, allocations: 169.9 kB / 0.733 GB, free: 74.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/1.083, allocations: 2.916 MB / 0.7358 GB, free: 71.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.083, allocations: 12 kB / 0.7358 GB, free: 71.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.083, allocations: 4 kB / 0.7358 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.083, allocations: 7.984 kB / 0.7359 GB, free: 71.07 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.01257/1.095, allocations: 5.913 MB / 0.7416 GB, free: 65.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.095, allocations: 0 / 0.7416 GB, free: 65.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.096, allocations: 199.8 kB / 0.7418 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/1.1, allocations: 1.428 MB / 0.7432 GB, free: 63.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.101, allocations: 39.23 kB / 0.7433 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/1.104, allocations: 3.293 MB / 0.7465 GB, free: 59.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.104, allocations: 3.938 kB / 0.7465 GB, free: 59.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009551/1.114, allocations: 4.222 MB / 0.7506 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/1.115, allocations: 270.8 kB / 0.7509 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006091/1.116, allocations: 36 kB / 0.7509 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.117, allocations: 207.8 kB / 0.7511 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/1.118, allocations: 144.8 kB / 0.7512 GB, free: 55.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.118, allocations: 35.98 kB / 0.7513 GB, free: 54.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001603/1.12, allocations: 0.8961 MB / 0.7521 GB, free: 54.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/1.12, allocations: 0 / 0.7521 GB, free: 54.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002605/1.122, allocations: 0.7406 MB / 0.7529 GB, free: 53.34 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.009676/1.132, allocations: 4.917 MB / 0.7577 GB, free: 48.38 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: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1476:5-1476:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/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]