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.001256/0.001256, allocations: 172 kB / 12.73 MB, free: 2.586 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.171/1.171, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008409/0.0008408, allocations: 89.16 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4367/0.4367, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.707e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3089, allocations: 69.5 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.432, allocations: 107.5 MB / 0.6542 GB, free: 8.023 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4323, allocations: 83.94 kB / 0.6543 GB, free: 7.941 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3871/0.8194, allocations: 39.02 MB / 0.6924 GB, free: 105.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.8194, allocations: 0 / 0.6924 GB, free: 105.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001695/0.8196, allocations: 37.09 kB / 0.6925 GB, free: 105.9 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.005576/0.8252, allocations: 2.08 MB / 0.6945 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8253, allocations: 11.66 kB / 0.6945 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005394/0.8258, allocations: 200.6 kB / 0.6947 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.8281, allocations: 439.3 kB / 0.6951 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.8307, allocations: 1.091 MB / 0.6962 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005654/0.8313, allocations: 0.5935 MB / 0.6968 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.8317, allocations: 145.8 kB / 0.6969 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.8344, allocations: 1.456 MB / 0.6983 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.8345, allocations: 0 / 0.6983 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.8347, allocations: 51.31 kB / 0.6984 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.8347, allocations: 27.19 kB / 0.6984 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.8366, allocations: 1.118 MB / 0.6995 GB, free: 102.4 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.009871/0.8465, allocations: 6.08 MB / 0.7054 GB, free: 98.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007866/0.8544, allocations: 3.306 MB / 0.7086 GB, free: 97.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008913/0.8553, allocations: 0.6842 MB / 0.7093 GB, free: 97.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.8555, allocations: 26.06 kB / 0.7093 GB, free: 97.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.8565, allocations: 0.7632 MB / 0.7101 GB, free: 97.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 3.126e-06/0.8566, allocations: 0 / 0.7101 GB, free: 97.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.00556/0.8621, allocations: 2.45 MB / 0.7125 GB, free: 95.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.8622, allocations: 226.6 kB / 0.7127 GB, free: 94.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.8639, allocations: 1.198 MB / 0.7139 GB, free: 93.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8641, allocations: 53.7 kB / 0.7139 GB, free: 93.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.8645, allocations: 0.6787 MB / 0.7146 GB, free: 92.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.8648, allocations: 451.4 kB / 0.715 GB, free: 92.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.8649, allocations: 36 kB / 0.715 GB, free: 92.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.865, allocations: 373.9 kB / 0.7154 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.866, allocations: 0.6284 MB / 0.716 GB, free: 91.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.8671, allocations: 0.8822 MB / 0.7169 GB, free: 90.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8682, allocations: 0.7324 MB / 0.7176 GB, free: 89.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.8682, allocations: 4 kB / 0.7176 GB, free: 89.97 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.003745/0.8719, allocations: 2.56 MB / 0.7201 GB, free: 87.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.8723, allocations: 1.824 MB / 0.7219 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8723, allocations: 7.562 kB / 0.7219 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/0.8765, allocations: 1.65 MB / 0.7235 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.8776, allocations: 315.6 kB / 0.7238 GB, free: 83.58 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.002971/0.8806, allocations: 2.942 MB / 0.7267 GB, free: 80.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.8823, allocations: 310.4 kB / 0.727 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.8824, allocations: 71.92 kB / 0.727 GB, free: 80.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.8824, allocations: 4 kB / 0.727 GB, free: 80.09 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.003189/0.8856, allocations: 2.41 MB / 0.7294 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8857, allocations: 4 kB / 0.7294 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.8897, allocations: 1.629 MB / 0.731 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009639/0.8906, allocations: 295.6 kB / 0.7313 GB, free: 75.69 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.002897/0.8936, allocations: 2.949 MB / 0.7341 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.8951, allocations: 250.7 kB / 0.7344 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.8953, allocations: 63.98 kB / 0.7345 GB, free: 72.26 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.0003304/0.8956, allocations: 227.5 kB / 0.7347 GB, free: 72.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.8959, allocations: 169.9 kB / 0.7348 GB, free: 71.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.9023, allocations: 2.912 MB / 0.7377 GB, free: 68.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.9023, allocations: 12 kB / 0.7377 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.9023, allocations: 0 / 0.7377 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9023, allocations: 7.969 kB / 0.7377 GB, free: 68.9 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.01171/0.914, allocations: 5.921 MB / 0.7435 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.914, allocations: 0 / 0.7435 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.915, allocations: 199.8 kB / 0.7437 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003795/0.9188, allocations: 1.424 MB / 0.7451 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.9189, allocations: 35.98 kB / 0.7451 GB, free: 61.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.9225, allocations: 3.295 MB / 0.7483 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9225, allocations: 8.047 kB / 0.7483 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008618/0.9311, allocations: 4.218 MB / 0.7524 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.9316, allocations: 282.7 kB / 0.7527 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.932, allocations: 32 kB / 0.7527 GB, free: 53.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.9335, allocations: 207.8 kB / 0.7529 GB, free: 52.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.9338, allocations: 148.8 kB / 0.7531 GB, free: 52.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.9339, allocations: 32 kB / 0.7531 GB, free: 52.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.9352, allocations: 0.8961 MB / 0.754 GB, free: 51.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9352, allocations: 4 kB / 0.754 GB, free: 51.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001883/0.9371, allocations: 0.7406 MB / 0.7547 GB, free: 51.14 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.008806/0.9459, allocations: 4.909 MB / 0.7595 GB, free: 46.19 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]