Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindFarm.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001307, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001224/0.001224, allocations: 189.6 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1661/0.1661, allocations: 37.97 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08259, allocations: 55.24 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03332/0.116, allocations: 39.09 MB / 0.5145 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.3283, allocations: 17.36 MB / 0.5315 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.3328, allocations: 244.7 kB / 0.5317 GB, free: 3.473 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.0361/0.3689, allocations: 23.17 MB / 0.5543 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0097/0.3786, allocations: 4.952 MB / 0.5592 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006061/0.3847, allocations: 3.269 MB / 0.5623 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01991/0.4046, allocations: 16.98 MB / 0.5789 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007142/0.4118, allocations: 5.717 MB / 0.5845 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008665/0.4205, allocations: 5.595 MB / 0.59 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009364/0.4299, allocations: 6.525 MB / 0.5963 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.4319, allocations: 0.8789 MB / 0.5972 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.4358, allocations: 1.716 MB / 0.5989 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.4397, allocations: 4.275 MB / 0.6031 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006129/0.4458, allocations: 4.777 MB / 0.6077 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.4583, allocations: 13.05 MB / 0.6205 GB, free: 11.24 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4584, allocations: 3.938 kB / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4584, allocations: 0 / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.4587, allocations: 0 / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1835 * Number of variables: 1835 Notification: Performance of Generate backend data structure: time 0.0178/0.4765, allocations: 8.836 MB / 0.6291 GB, free: 2.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4765, allocations: 11.89 kB / 0.6291 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.483, allocations: 1.349 MB / 0.6304 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.4948, allocations: 6.084 MB / 0.6364 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.4951, allocations: 488.3 kB / 0.6368 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.4972, allocations: 0.9407 MB / 0.6378 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.5123, allocations: 10.03 MB / 0.6475 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.5125, allocations: 39.67 kB / 0.6476 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000615/0.5132, allocations: 265.1 kB / 0.6478 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002304/0.5155, allocations: 0.8365 MB / 0.6487 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.5291, allocations: 8.272 MB / 0.6567 GB, free: 5.902 MB / 0.4981 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.0498/0.5789, allocations: 36.11 MB / 0.692 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009361/0.5883, allocations: 8.064 MB / 0.6999 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/0.5926, allocations: 3.148 MB / 0.703 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.5929, allocations: 80.17 kB / 0.703 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.015e-05/0.593, allocations: 102.7 kB / 0.7031 GB, free: 4.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=559): time 6.943e-06/0.593, allocations: 3.938 kB / 0.7031 GB, free: 4.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=617): time 0.0489/0.6419, allocations: 33.34 MB / 0.7357 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.6422, allocations: 411 kB / 0.7361 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005394/0.6476, allocations: 4.168 MB / 0.7402 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000948/0.6486, allocations: 135.7 kB / 0.7403 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/0.6509, allocations: 3.259 MB / 0.7435 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002394/0.6533, allocations: 2.178 MB / 0.7456 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/0.6551, allocations: 1.253 MB / 0.7468 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.6552, allocations: 305.1 kB / 0.7471 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/0.6596, allocations: 3.102 MB / 0.7501 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3445/1.004, allocations: 4.946 MB / 0.755 GB, free: 208.1 MB / 0.5919 GB 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.04676/1.051, allocations: 27.08 MB / 0.7814 GB, free: 200.6 MB / 0.5919 GB Warning: It was not possible to solve the under-determined initial system (646 equations and 676 variables) Error: No system for the symbolic initialization was generated