Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002284/0.002284, allocations: 173.4 kB / 16.74 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 86.48 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2353/0.2353, allocations: 38.07 MB / 357.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005237, allocations: 12 kB / 424 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5428, allocations: 56.32 MB / 480.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01749/0.5603, allocations: 11.74 MB / 492 MB, free: 1.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5807, allocations: 7.248 MB / 499.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.585, allocations: 81.03 kB / 499.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03399/0.6191, allocations: 12.23 MB / 0.4996 GB, free: 6.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.6258, allocations: 1.167 MB / 0.5007 GB, free: 5.918 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.6293, allocations: 0.6668 MB / 0.5014 GB, free: 5.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008976/0.6384, allocations: 4.574 MB / 0.5059 GB, free: 0.6641 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/0.6419, allocations: 1.285 MB / 0.5071 GB, free: 15.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.645, allocations: 0.9102 MB / 0.508 GB, free: 14.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.6486, allocations: 1.39 MB / 0.5094 GB, free: 13.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008124/0.6495, allocations: 79.94 kB / 0.5094 GB, free: 12.94 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.6518, allocations: 447.2 kB / 0.5099 GB, free: 12.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.6536, allocations: 0.826 MB / 0.5107 GB, free: 11.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.6565, allocations: 0.8492 MB / 0.5115 GB, free: 10.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.6603, allocations: 1.863 MB / 0.5133 GB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.6603, allocations: 0 / 0.5133 GB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6603, allocations: 0 / 0.5133 GB, free: 8.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001766/0.6605, allocations: 0 / 0.5133 GB, free: 8.949 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00669/0.6672, allocations: 1.831 MB / 0.5151 GB, free: 7.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/0.6673, allocations: 12.02 kB / 0.5151 GB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.6698, allocations: 310.4 kB / 0.5154 GB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.6738, allocations: 1.245 MB / 0.5166 GB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.6741, allocations: 98.66 kB / 0.5167 GB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.6751, allocations: 235.8 kB / 0.5169 GB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/0.6795, allocations: 2.137 MB / 0.519 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.6796, allocations: 15.84 kB / 0.519 GB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.6798, allocations: 63.95 kB / 0.5191 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006101/0.6804, allocations: 182.6 kB / 0.5193 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.6839, allocations: 1.76 MB / 0.521 GB, free: 0.8516 MB / 346.7 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.01593/0.6999, allocations: 8.636 MB / 0.5294 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.7031, allocations: 1.813 MB / 0.5312 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.7048, allocations: 0.7876 MB / 0.532 GB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.7049, allocations: 16.98 kB / 0.532 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.705, allocations: 43.56 kB / 0.532 GB, free: 5.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 5.991e-06/0.705, allocations: 0 / 0.532 GB, free: 5.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01361/0.7186, allocations: 5.491 MB / 0.5374 GB, free: 15.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.7188, allocations: 94.36 kB / 0.5375 GB, free: 15.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.7211, allocations: 1.033 MB / 0.5385 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.7212, allocations: 49.69 kB / 0.5385 GB, free: 14.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.7221, allocations: 0.7716 MB / 0.5393 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006258/0.7227, allocations: 0.4929 MB / 0.5398 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.7229, allocations: 32 kB / 0.5398 GB, free: 12.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.7231, allocations: 377.9 kB / 0.5402 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.7245, allocations: 0.7144 MB / 0.5409 GB, free: 11.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.7263, allocations: 1.185 MB / 0.542 GB, free: 10.36 MB / 378.7 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.01146/0.7378, allocations: 4.128 MB / 0.546 GB, free: 6.047 MB / 378.7 MB Warning: It was not possible to solve the under-determined initial system (150 equations and 161 variables) Error: No system for the symbolic initialization was generated