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.0009855/0.0009857, 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 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008138/0.0008139, allocations: 90.58 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06316/0.06316, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2729/0.2729, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.285e-05, allocations: 4 kB / 0.5213 GB, free: 24.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 69.25 MB / 0.589 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.5211, allocations: 108.6 MB / 0.695 GB, free: 7.852 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5214, allocations: 89.12 kB / 0.6951 GB, free: 7.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09641/0.6178, allocations: 38.11 MB / 0.7323 GB, free: 7.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6179, allocations: 0 / 0.7323 GB, free: 7.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001137/0.618, allocations: 36 kB / 0.7323 GB, free: 7.734 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.004694/0.6227, allocations: 2.087 MB / 0.7344 GB, free: 5.738 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6227, allocations: 15.98 kB / 0.7344 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.623, allocations: 201.5 kB / 0.7346 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6247, allocations: 442.8 kB / 0.735 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.6265, allocations: 1.123 MB / 0.7361 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005389/0.6271, allocations: 0.59 MB / 0.7367 GB, free: 3.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.6273, allocations: 136.2 kB / 0.7368 GB, free: 3.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.6295, allocations: 1.452 MB / 0.7382 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6295, allocations: 4 kB / 0.7382 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.6297, allocations: 50.69 kB / 0.7383 GB, free: 2.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.6297, allocations: 32 kB / 0.7383 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.6315, allocations: 1.115 MB / 0.7394 GB, free: 1.816 MB / 474.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.008977/0.6405, allocations: 6.094 MB / 0.7453 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008338/0.6489, allocations: 3.294 MB / 0.7486 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.65, allocations: 0.6913 MB / 0.7492 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.6502, allocations: 20.19 kB / 0.7493 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.6513, allocations: 0.7638 MB / 0.75 GB, free: 9.262 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.777e-06/0.6514, allocations: 4 kB / 0.75 GB, free: 9.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.005997/0.6574, allocations: 2.45 MB / 0.7524 GB, free: 7.129 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6575, allocations: 226.6 kB / 0.7526 GB, free: 6.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6593, allocations: 1.207 MB / 0.7538 GB, free: 5.645 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.6594, allocations: 57.64 kB / 0.7538 GB, free: 5.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.6599, allocations: 0.6898 MB / 0.7545 GB, free: 4.887 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.6603, allocations: 445.7 kB / 0.7549 GB, free: 4.445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.6604, allocations: 36 kB / 0.755 GB, free: 4.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6606, allocations: 373.9 kB / 0.7553 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.6616, allocations: 0.6289 MB / 0.7559 GB, free: 3.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.6628, allocations: 0.8852 MB / 0.7568 GB, free: 2.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.6639, allocations: 0.7299 MB / 0.7575 GB, free: 1.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.664, allocations: 11.89 kB / 0.7575 GB, free: 1.707 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.004163/0.6681, allocations: 2.555 MB / 0.76 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000698/0.6688, allocations: 1.824 MB / 0.7618 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6689, allocations: 8 kB / 0.7618 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.6735, allocations: 1.649 MB / 0.7634 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6747, allocations: 319.6 kB / 0.7637 GB, free: 11.17 MB / 0.4948 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.003725/0.6785, allocations: 2.942 MB / 0.7666 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.6805, allocations: 306.4 kB / 0.7669 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.6807, allocations: 67.98 kB / 0.767 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6807, allocations: 4 kB / 0.767 GB, free: 7.684 MB / 0.4948 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.003738/0.6844, allocations: 2.406 MB / 0.7693 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6844, allocations: 4 kB / 0.7693 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004443/0.6889, allocations: 1.63 MB / 0.7709 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6901, allocations: 299.6 kB / 0.7712 GB, free: 3.273 MB / 0.4948 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.003491/0.6936, allocations: 2.942 MB / 0.7741 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.6954, allocations: 258.7 kB / 0.7743 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.6955, allocations: 63.98 kB / 0.7744 GB, free: 15.84 MB / 0.5105 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 () * 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.0004232/0.6959, allocations: 234.3 kB / 0.7746 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.6962, allocations: 173.9 kB / 0.7748 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006821/0.7031, allocations: 2.924 MB / 0.7776 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.7031, allocations: 15.98 kB / 0.7776 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7031, allocations: 3.953 kB / 0.7776 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.7031, allocations: 3.984 kB / 0.7776 GB, free: 12.45 MB / 0.5105 GB 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.0128/0.7159, allocations: 5.907 MB / 0.7834 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.716, allocations: 0 / 0.7834 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.717, allocations: 203.8 kB / 0.7836 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003997/0.721, allocations: 1.421 MB / 0.785 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.7212, allocations: 31.98 kB / 0.785 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.7252, allocations: 3.301 MB / 0.7883 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7252, allocations: 0 / 0.7883 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/0.7345, allocations: 4.226 MB / 0.7924 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.7351, allocations: 286.7 kB / 0.7927 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.7354, allocations: 32 kB / 0.7927 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.7368, allocations: 199.8 kB / 0.7929 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.7371, allocations: 148.8 kB / 0.793 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/0.7372, allocations: 35.98 kB / 0.7931 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00126/0.7385, allocations: 0.9046 MB / 0.7939 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7385, allocations: 0 / 0.7939 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001649/0.7402, allocations: 0.7483 MB / 0.7947 GB, free: 10.66 MB / 0.5261 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) * 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.00958/0.7497, allocations: 4.916 MB / 0.7995 GB, free: 5.695 MB / 0.5261 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: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]