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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 169.9 kB / 16.07 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 222.2 MB, free: 9.016 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.0007731/0.0007734, allocations: 87.61 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1653/0.1653, allocations: 38.08 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 56.32 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009699/0.2676, allocations: 11.73 MB / 491.5 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.2791, allocations: 7.261 MB / 498.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.281, allocations: 82.12 kB / 498.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02076/0.3018, allocations: 12.23 MB / 0.4991 GB, free: 6.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.3053, allocations: 1.171 MB / 0.5002 GB, free: 5.902 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3073, allocations: 0.6629 MB / 0.5008 GB, free: 5.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005805/0.3132, allocations: 4.577 MB / 0.5053 GB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.3155, allocations: 1.282 MB / 0.5066 GB, free: 15.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.3178, allocations: 0.9063 MB / 0.5075 GB, free: 14.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.32, allocations: 1.386 MB / 0.5088 GB, free: 13.01 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3202, allocations: 79.94 kB / 0.5089 GB, free: 12.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3212, allocations: 443.3 kB / 0.5093 GB, free: 12.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.322, allocations: 0.8299 MB / 0.5101 GB, free: 11.67 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008857/0.3229, allocations: 0.8453 MB / 0.5109 GB, free: 10.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.3246, allocations: 1.859 MB / 0.5128 GB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3246, allocations: 7.938 kB / 0.5128 GB, free: 8.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3246, allocations: 0 / 0.5128 GB, free: 8.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.3246, allocations: 0 / 0.5128 GB, free: 8.941 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.0035/0.3282, allocations: 1.831 MB / 0.5146 GB, free: 7.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3282, allocations: 12.03 kB / 0.5146 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.3285, allocations: 224.1 kB / 0.5148 GB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.33, allocations: 322.4 kB / 0.5151 GB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.3322, allocations: 1.233 MB / 0.5163 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.3323, allocations: 102.7 kB / 0.5164 GB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.3328, allocations: 235.7 kB / 0.5166 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.3358, allocations: 2.153 MB / 0.5187 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.3359, allocations: 11.91 kB / 0.5187 GB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.336, allocations: 51.98 kB / 0.5188 GB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006164/0.3367, allocations: 186.7 kB / 0.519 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.3394, allocations: 1.76 MB / 0.5207 GB, free: 0.6055 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.01081/0.3502, allocations: 8.644 MB / 0.5291 GB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.3526, allocations: 1.828 MB / 0.5309 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.3538, allocations: 0.7701 MB / 0.5317 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.354, allocations: 16.98 kB / 0.5317 GB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.354, allocations: 47.56 kB / 0.5317 GB, free: 4.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 3.867e-06/0.354, allocations: 0 / 0.5317 GB, free: 4.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.009938/0.364, allocations: 5.487 MB / 0.5371 GB, free: 15.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.364, allocations: 102.3 kB / 0.5372 GB, free: 14.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3652, allocations: 1.025 MB / 0.5382 GB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.43e-05/0.3653, allocations: 45.7 kB / 0.5382 GB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.3658, allocations: 0.7677 MB / 0.539 GB, free: 13.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.3662, allocations: 0.4929 MB / 0.5394 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3663, allocations: 40.03 kB / 0.5395 GB, free: 12.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3665, allocations: 373.9 kB / 0.5398 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3676, allocations: 0.7183 MB / 0.5405 GB, free: 11.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.3689, allocations: 1.181 MB / 0.5417 GB, free: 10.11 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.009933/0.3789, allocations: 4.128 MB / 0.5457 GB, free: 5.797 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