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.001067/0.001067, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.0009822/0.0009822, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.411/1.411, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.98 MB / 309.8 MB, free: 5.965 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.002149/0.002149, allocations: 71.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2639, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03108/0.295, allocations: 39.09 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02919/0.3242, allocations: 17.36 MB / 488.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006059/0.3303, allocations: 246.6 kB / 488.7 MB, free: 10.61 MB / 366.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.04208/0.3724, allocations: 23.17 MB / 0.4999 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.3851, allocations: 4.947 MB / 0.5047 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009544/0.3947, allocations: 3.271 MB / 0.5079 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2353/0.63, allocations: 16.96 MB / 0.5245 GB, free: 22.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008369/0.6384, allocations: 5.715 MB / 0.53 GB, free: 21.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.6498, allocations: 5.533 MB / 0.5354 GB, free: 21.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.6606, allocations: 6.535 MB / 0.5418 GB, free: 20.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.663, allocations: 0.8764 MB / 0.5427 GB, free: 20.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.6673, allocations: 1.722 MB / 0.5444 GB, free: 20.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003825/0.6711, allocations: 4.271 MB / 0.5485 GB, free: 20.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007404/0.6786, allocations: 4.771 MB / 0.5532 GB, free: 19.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.6938, allocations: 13.06 MB / 0.5659 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.6939, allocations: 0 / 0.5659 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6939, allocations: 0 / 0.5659 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003658/0.6943, allocations: 0 / 0.5659 GB, free: 10.84 MB / 398.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.0199/0.7142, allocations: 8.828 MB / 0.5746 GB, free: 2.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7142, allocations: 15.89 kB / 0.5746 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.721, allocations: 1.352 MB / 0.5759 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.7349, allocations: 6.08 MB / 0.5818 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.7353, allocations: 476.2 kB / 0.5823 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002566/0.7378, allocations: 0.9609 MB / 0.5832 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/0.7603, allocations: 10.03 MB / 0.593 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/0.7605, allocations: 38.41 kB / 0.5931 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000808/0.7614, allocations: 266.7 kB / 0.5933 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002388/0.7638, allocations: 0.8404 MB / 0.5941 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.7839, allocations: 8.265 MB / 0.6022 GB, free: 5.836 MB / 430.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.1145/0.8984, allocations: 36.11 MB / 0.6375 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02139/0.9199, allocations: 8.063 MB / 0.6454 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009488/0.9294, allocations: 3.148 MB / 0.6484 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.9302, allocations: 83.22 kB / 0.6485 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.9304, allocations: 102.5 kB / 0.6486 GB, free: 5.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=559): time 2.739e-05/0.9304, allocations: 4 kB / 0.6486 GB, free: 5.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=617): time 0.0932/1.024, allocations: 33.32 MB / 0.6811 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/1.024, allocations: 414.4 kB / 0.6815 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/1.03, allocations: 4.166 MB / 0.6856 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009452/1.031, allocations: 133.6 kB / 0.6857 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.033, allocations: 3.256 MB / 0.6889 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002416/1.035, allocations: 2.187 MB / 0.6911 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/1.037, allocations: 1.246 MB / 0.6923 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.037, allocations: 313.1 kB / 0.6926 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.042, allocations: 3.106 MB / 0.6956 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/1.048, allocations: 4.944 MB / 0.7004 GB, free: 14.83 MB / 0.5294 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.3868/1.435, allocations: 27.08 MB / 0.7269 GB, free: 189.6 MB / 0.5294 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