Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.conf.json 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/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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 90.89 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 175.5 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1878/0.1878, allocations: 38.1 MB / 331.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 13.06 kB / 400.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 59.17 MB / 459.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01267/0.1527, allocations: 11.73 MB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.1652, allocations: 7.206 MB / 478.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.1673, allocations: 87.44 kB / 478.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01992/0.1873, allocations: 11.98 MB / 490.9 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.1916, allocations: 1.174 MB / 492 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.194, allocations: 0.6669 MB / 492.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006914/0.2009, allocations: 4.663 MB / 497.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.2033, allocations: 1.144 MB / 498.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.2056, allocations: 0.9413 MB / 499.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.208, allocations: 1.441 MB / 0.4892 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.2082, allocations: 76 kB / 0.4892 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2094, allocations: 411.3 kB / 0.4896 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.2103, allocations: 0.8338 MB / 0.4904 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.2109, allocations: 360.7 kB / 0.4908 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.2129, allocations: 1.909 MB / 0.4927 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2129, allocations: 0 / 0.4927 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.213, allocations: 0 / 0.4927 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.213, allocations: 0 / 0.4927 GB, free: 10.66 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003876/0.2169, allocations: 1.917 MB / 0.4945 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2169, allocations: 8.031 kB / 0.4945 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.2185, allocations: 333.3 kB / 0.4948 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.221, allocations: 1.245 MB / 0.4961 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.2211, allocations: 106.7 kB / 0.4962 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005096/0.2216, allocations: 231.8 kB / 0.4964 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.2249, allocations: 2.188 MB / 0.4985 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.225, allocations: 11.91 kB / 0.4985 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.2251, allocations: 63.95 kB / 0.4986 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004964/0.2256, allocations: 178.8 kB / 0.4988 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.2285, allocations: 1.838 MB / 0.5006 GB, free: 2.336 MB / 382.1 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.2959/0.5245, allocations: 8.573 MB / 0.5089 GB, free: 52.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.527, allocations: 1.903 MB / 0.5108 GB, free: 51.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.5285, allocations: 0.7967 MB / 0.5116 GB, free: 50.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.5287, allocations: 19.5 kB / 0.5116 GB, free: 50.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5287, allocations: 53.69 kB / 0.5116 GB, free: 50.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.529e-06/0.5287, allocations: 0 / 0.5116 GB, free: 50.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01312/0.5418, allocations: 6.021 MB / 0.5175 GB, free: 48.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5419, allocations: 99.83 kB / 0.5176 GB, free: 47.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.5435, allocations: 1.059 MB / 0.5187 GB, free: 47.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.5436, allocations: 51.34 kB / 0.5187 GB, free: 47.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.5441, allocations: 0.7868 MB / 0.5195 GB, free: 46.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.5446, allocations: 0.519 MB / 0.52 GB, free: 46.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.685e-05/0.5447, allocations: 35.31 kB / 0.52 GB, free: 46.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5448, allocations: 382.4 kB / 0.5204 GB, free: 46.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.5461, allocations: 0.7441 MB / 0.5211 GB, free: 45.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.5475, allocations: 1.228 MB / 0.5223 GB, free: 45.06 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00712/0.5546, allocations: 2.426 MB / 0.5247 GB, free: 44.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/0.5547, allocations: 8.125 kB / 0.5247 GB, free: 44.47 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated