Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4E1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4E1,fileNamePrefix="OpenIPSL_dev_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.008055/0.008056, 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 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009617, allocations: 99.73 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.532/0.532, allocations: 79.43 MB / 420.7 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005432, allocations: 11.98 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 69.51 MB / 0.557 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6778, allocations: 107.6 MB / 0.6621 GB, free: 9.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.6782, allocations: 89.69 kB / 0.6622 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.7906, allocations: 39.09 MB / 0.7004 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7907, allocations: 1.969 kB / 0.7004 GB, free: 2.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002481/0.7909, allocations: 36 kB / 0.7004 GB, free: 2.43 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.00823/0.7992, allocations: 2.378 MB / 0.7027 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.7992, allocations: 12.03 kB / 0.7027 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009378/0.8002, allocations: 197.9 kB / 0.7029 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/0.8031, allocations: 445.1 kB / 0.7033 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.807, allocations: 1.111 MB / 0.7044 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007956/0.8078, allocations: 0.5953 MB / 0.705 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006006/0.8085, allocations: 139.9 kB / 0.7051 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005321/0.8138, allocations: 1.766 MB / 0.7069 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.8139, allocations: 3.938 kB / 0.7069 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.8142, allocations: 56 kB / 0.7069 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.8143, allocations: 32 kB / 0.707 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.819, allocations: 1.524 MB / 0.7084 GB, free: 9.875 MB / 0.4948 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.01331/0.8323, allocations: 6.092 MB / 0.7144 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.8435, allocations: 3.888 MB / 0.7182 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.8438, allocations: 25.05 kB / 0.7182 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002973/0.8467, allocations: 1.068 MB / 0.7193 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 6.823e-06/0.8468, allocations: 0 / 0.7193 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122): time 0.02443/0.8712, allocations: 6.974 MB / 0.7261 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.8714, allocations: 224.2 kB / 0.7263 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.8742, allocations: 1.227 MB / 0.7275 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.8746, allocations: 53.7 kB / 0.7275 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/0.8753, allocations: 0.6781 MB / 0.7282 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007163/0.876, allocations: 445.7 kB / 0.7286 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.8763, allocations: 36 kB / 0.7287 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.8765, allocations: 373.9 kB / 0.729 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.8789, allocations: 0.9409 MB / 0.7299 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/0.8814, allocations: 1.204 MB / 0.7311 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.8839, allocations: 1.046 MB / 0.7321 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.8839, allocations: 0 / 0.7321 GB, free: 1.074 MB / 0.5105 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.007882/0.8918, allocations: 3.383 MB / 0.7354 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007956/0.8926, allocations: 1.817 MB / 0.7372 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.8926, allocations: 5.219 kB / 0.7372 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00616/0.8988, allocations: 2.051 MB / 0.7392 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.9003, allocations: 319.6 kB / 0.7395 GB, free: 9.316 MB / 0.5261 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.004669/0.905, allocations: 3.148 MB / 0.7426 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.9073, allocations: 310.4 kB / 0.7429 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/0.9077, allocations: 67.98 kB / 0.743 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.9077, allocations: 4.781 kB / 0.743 GB, free: 5.609 MB / 0.5261 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.006733/0.9144, allocations: 3.056 MB / 0.7459 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9145, allocations: 4 kB / 0.7459 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/0.9202, allocations: 1.973 MB / 0.7479 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.9216, allocations: 303.5 kB / 0.7482 GB, free: 220 kB / 0.5261 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.004554/0.9262, allocations: 3.114 MB / 0.7512 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.9283, allocations: 266.5 kB / 0.7515 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.9286, allocations: 67.98 kB / 0.7515 GB, free: 12.6 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.00123/0.9299, allocations: 450.5 kB / 0.7519 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.9305, allocations: 162 kB / 0.7521 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.9405, allocations: 3.712 MB / 0.7557 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.9406, allocations: 16 kB / 0.7557 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9406, allocations: 0 / 0.7557 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/0.9407, allocations: 11.97 kB / 0.7558 GB, free: 8.223 MB / 0.5417 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.01813/0.9588, allocations: 6.687 MB / 0.7623 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.9589, allocations: 0 / 0.7623 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.9601, allocations: 203.8 kB / 0.7625 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.9655, allocations: 1.803 MB / 0.7642 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/0.9659, allocations: 31.98 kB / 0.7643 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/0.9722, allocations: 3.888 MB / 0.7681 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9722, allocations: 1.031 kB / 0.7681 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/0.9862, allocations: 5.316 MB / 0.7733 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/0.9871, allocations: 270.9 kB / 0.7735 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006784/0.9878, allocations: 32 kB / 0.7736 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.9897, allocations: 207.8 kB / 0.7737 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/0.9902, allocations: 148.8 kB / 0.7739 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.9904, allocations: 35.98 kB / 0.7739 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001838/0.9922, allocations: 0.9167 MB / 0.7748 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9923, allocations: 0 / 0.7748 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002155/0.9944, allocations: 0.7522 MB / 0.7756 GB, free: 3.57 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.0135/1.008, allocations: 6.005 MB / 0.7814 GB, free: 13.52 MB / 0.573 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]