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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4E1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005395/0.005396, 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.369/1.369, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008724/0.0008729, allocations: 98.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06538/0.06538, allocations: 12.19 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4294/0.4294, allocations: 78.52 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 15.97 kB / 0.528 GB, free: 35.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 69.25 MB / 0.5956 GB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5343, allocations: 108.7 MB / 0.7018 GB, free: 39.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5345, allocations: 89.08 kB / 0.7019 GB, free: 39.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0949/0.6295, allocations: 38.16 MB / 0.7391 GB, free: 31.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6295, allocations: 0 / 0.7391 GB, free: 31.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002176/0.6297, allocations: 39.06 kB / 0.7392 GB, free: 31.5 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.006782/0.6365, allocations: 2.401 MB / 0.7415 GB, free: 30.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.6366, allocations: 11.67 kB / 0.7415 GB, free: 30.05 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005976/0.6372, allocations: 201.8 kB / 0.7417 GB, free: 29.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.6393, allocations: 444.5 kB / 0.7422 GB, free: 29.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.6417, allocations: 1.139 MB / 0.7433 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/0.6422, allocations: 0.5926 MB / 0.7438 GB, free: 28.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.6425, allocations: 137.1 kB / 0.744 GB, free: 28.65 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.6456, allocations: 1.769 MB / 0.7457 GB, free: 28.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.6457, allocations: 3.938 kB / 0.7457 GB, free: 28.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.6458, allocations: 56.23 kB / 0.7458 GB, free: 28.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6458, allocations: 27.34 kB / 0.7458 GB, free: 28.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.6488, allocations: 1.529 MB / 0.7473 GB, free: 27.83 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.008751/0.6575, allocations: 6.089 MB / 0.7532 GB, free: 24.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009356/0.6669, allocations: 3.894 MB / 0.757 GB, free: 23.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.6671, allocations: 24.23 kB / 0.7571 GB, free: 23.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002398/0.6695, allocations: 1.067 MB / 0.7581 GB, free: 22.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 5.269e-06/0.6695, allocations: 3.938 kB / 0.7581 GB, free: 22.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02115/0.6907, allocations: 6.97 MB / 0.7649 GB, free: 20.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.6908, allocations: 229.3 kB / 0.7651 GB, free: 20.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.6929, allocations: 1.232 MB / 0.7663 GB, free: 20.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.6931, allocations: 55.2 kB / 0.7664 GB, free: 20.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.6936, allocations: 0.6828 MB / 0.767 GB, free: 19.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.694, allocations: 444.3 kB / 0.7675 GB, free: 19.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.6941, allocations: 33.69 kB / 0.7675 GB, free: 19.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.6942, allocations: 370.2 kB / 0.7679 GB, free: 19.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.6961, allocations: 0.9515 MB / 0.7688 GB, free: 18.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.6982, allocations: 1.197 MB / 0.77 GB, free: 18.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.7002, allocations: 1.048 MB / 0.771 GB, free: 18.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.7003, allocations: 3.906 kB / 0.771 GB, free: 18.42 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.005902/0.7062, allocations: 3.383 MB / 0.7743 GB, free: 17.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.7065, allocations: 1.82 MB / 0.7761 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.7065, allocations: 3.938 kB / 0.7761 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/0.7118, allocations: 2.048 MB / 0.7781 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7129, allocations: 321.9 kB / 0.7784 GB, free: 15.07 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.003625/0.7166, allocations: 3.157 MB / 0.7815 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.7186, allocations: 314.6 kB / 0.7818 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.7188, allocations: 65.61 kB / 0.7818 GB, free: 12.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.7188, allocations: 4 kB / 0.7818 GB, free: 12.2 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.005391/0.7242, allocations: 3.057 MB / 0.7848 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.7243, allocations: 8.031 kB / 0.7848 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004997/0.7293, allocations: 1.969 MB / 0.7867 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.7303, allocations: 296.2 kB / 0.787 GB, free: 7.984 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.003553/0.7339, allocations: 3.126 MB / 0.7901 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.7357, allocations: 261.8 kB / 0.7903 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.7359, allocations: 58.5 kB / 0.7904 GB, free: 4.824 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.0009343/0.7368, allocations: 453.8 kB / 0.7908 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.7372, allocations: 177.9 kB / 0.791 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008407/0.7457, allocations: 3.715 MB / 0.7946 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7457, allocations: 12 kB / 0.7946 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7457, allocations: 3.953 kB / 0.7946 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.7457, allocations: 3.984 kB / 0.7946 GB, free: 1.375 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.01588/0.7616, allocations: 6.697 MB / 0.8012 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.7617, allocations: 8 kB / 0.8012 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.7628, allocations: 195.7 kB / 0.8014 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005383/0.7682, allocations: 1.803 MB / 0.8031 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/0.7686, allocations: 35.98 kB / 0.8032 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/0.7747, allocations: 3.886 MB / 0.807 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7748, allocations: 0 / 0.807 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.7888, allocations: 5.311 MB / 0.8121 GB, free: 15.15 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006512/0.7895, allocations: 274.8 kB / 0.8124 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.7899, allocations: 32 kB / 0.8124 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.7915, allocations: 199.8 kB / 0.8126 GB, free: 14.63 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.7919, allocations: 148.8 kB / 0.8128 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.792, allocations: 36 kB / 0.8128 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001531/0.7936, allocations: 0.9328 MB / 0.8137 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7936, allocations: 0 / 0.8137 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002164/0.7957, allocations: 0.7522 MB / 0.8144 GB, free: 12.77 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.01272/0.8085, allocations: 5.998 MB / 0.8203 GB, free: 6.715 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/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]