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.001028/0.001028, allocations: 175.2 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.237/1.237, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0007959/0.000796, allocations: 91.34 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4872/0.4872, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.807e-05, allocations: 3.984 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3531, allocations: 69.35 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4905, allocations: 107 MB / 0.6525 GB, free: 9.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4908, allocations: 91.94 kB / 0.6526 GB, free: 9.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4249/0.9157, allocations: 38.85 MB / 0.6905 GB, free: 105.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.9157, allocations: 0 / 0.6905 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.812e-05/0.9158, allocations: 30.84 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.00437/0.9202, allocations: 2.075 MB / 0.6926 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.9203, allocations: 13.12 kB / 0.6926 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002505/0.9205, allocations: 196.7 kB / 0.6928 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.9223, allocations: 444.9 kB / 0.6932 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.9241, allocations: 1.097 MB / 0.6943 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.9246, allocations: 0.5992 MB / 0.6949 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.9248, allocations: 139.6 kB / 0.695 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.9271, allocations: 1.454 MB / 0.6964 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.9271, allocations: 0 / 0.6964 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.9273, allocations: 59.48 kB / 0.6965 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.9273, allocations: 34 kB / 0.6965 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.929, allocations: 1.109 MB / 0.6976 GB, free: 102.6 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.009296/0.9383, allocations: 6.075 MB / 0.7035 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007923/0.9463, allocations: 3.309 MB / 0.7068 GB, free: 97.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.9474, allocations: 0.6965 MB / 0.7074 GB, free: 97.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.9475, allocations: 30.88 kB / 0.7075 GB, free: 97.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.9486, allocations: 0.7685 MB / 0.7082 GB, free: 97.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.647e-06/0.9486, allocations: 0 / 0.7082 GB, free: 97.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.005658/0.9543, allocations: 2.441 MB / 0.7106 GB, free: 96.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.9544, allocations: 226.7 kB / 0.7108 GB, free: 96.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.9559, allocations: 1.206 MB / 0.712 GB, free: 94.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.9561, allocations: 57.17 kB / 0.7121 GB, free: 94.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.9565, allocations: 0.6684 MB / 0.7127 GB, free: 94.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.9568, allocations: 447.9 kB / 0.7131 GB, free: 93.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.9569, allocations: 36 kB / 0.7132 GB, free: 93.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.957, allocations: 370.4 kB / 0.7135 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009214/0.9579, allocations: 0.6362 MB / 0.7141 GB, free: 92.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.9589, allocations: 0.8806 MB / 0.715 GB, free: 91.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/0.9599, allocations: 0.7255 MB / 0.7157 GB, free: 91.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9599, allocations: 8 kB / 0.7157 GB, free: 91.21 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.003866/0.9638, allocations: 2.551 MB / 0.7182 GB, free: 88.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.9641, allocations: 1.825 MB / 0.72 GB, free: 86.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9642, allocations: 4 kB / 0.72 GB, free: 86.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/0.9683, allocations: 1.657 MB / 0.7216 GB, free: 85.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.9695, allocations: 317 kB / 0.7219 GB, free: 85.16 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.002951/0.9724, allocations: 2.943 MB / 0.7248 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.9743, allocations: 308.3 kB / 0.7251 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.9744, allocations: 67.12 kB / 0.7252 GB, free: 81.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.9744, allocations: 4 kB / 0.7252 GB, free: 81.86 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.003233/0.9777, allocations: 2.418 MB / 0.7275 GB, free: 79.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9777, allocations: 4 kB / 0.7275 GB, free: 79.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.9817, allocations: 1.633 MB / 0.7291 GB, free: 78.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.9827, allocations: 295.6 kB / 0.7294 GB, free: 77.73 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.002933/0.9857, allocations: 2.945 MB / 0.7323 GB, free: 74.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9873, allocations: 250.7 kB / 0.7325 GB, free: 74.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9875, allocations: 64 kB / 0.7326 GB, free: 74.3 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.0003875/0.9879, allocations: 222.4 kB / 0.7328 GB, free: 74.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.9881, allocations: 173.9 kB / 0.733 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006322/0.9945, allocations: 2.924 MB / 0.7358 GB, free: 70.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.9945, allocations: 12 kB / 0.7358 GB, free: 70.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.9945, allocations: 0 / 0.7358 GB, free: 70.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.9945, allocations: 3.984 kB / 0.7358 GB, free: 70.94 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.01183/1.006, allocations: 5.917 MB / 0.7416 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.006, allocations: 0 / 0.7416 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.007, allocations: 203.8 kB / 0.7418 GB, free: 64.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003908/1.011, allocations: 1.424 MB / 0.7432 GB, free: 63.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.012, allocations: 27.98 kB / 0.7432 GB, free: 63.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/1.015, allocations: 3.304 MB / 0.7464 GB, free: 59.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.015, allocations: 0 / 0.7464 GB, free: 59.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/1.024, allocations: 4.218 MB / 0.7506 GB, free: 55.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/1.025, allocations: 278.9 kB / 0.7508 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.025, allocations: 28 kB / 0.7509 GB, free: 55.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.027, allocations: 203.8 kB / 0.751 GB, free: 55.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/1.027, allocations: 148.8 kB / 0.7512 GB, free: 54.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.027, allocations: 35.98 kB / 0.7512 GB, free: 54.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001176/1.028, allocations: 0.8922 MB / 0.7521 GB, free: 53.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 0 / 0.7521 GB, free: 53.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001722/1.03, allocations: 0.7406 MB / 0.7528 GB, free: 53.2 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.009093/1.039, allocations: 4.914 MB / 0.7576 GB, free: 48.24 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]