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.001557/0.001561, allocations: 182.1 kB / 15.77 MB, free: 6.375 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.964/1.964, allocations: 205.4 MB / 221.9 MB, free: 13.86 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.001133/0.001133, allocations: 98.86 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2598/0.2598, allocations: 38.07 MB / 356.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 12 kB / 422.8 MB, free: 26.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 56.34 MB / 479.1 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01777/0.1281, allocations: 11.05 MB / 490.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.1449, allocations: 7.171 MB / 497.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.1467, allocations: 83.44 kB / 497.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.1572, allocations: 2.833 MB / 0.4885 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.1611, allocations: 0.8567 MB / 0.4894 GB, free: 11.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.164, allocations: 0.6316 MB / 0.49 GB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.167, allocations: 1.292 MB / 0.4913 GB, free: 10 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.17, allocations: 1.175 MB / 0.4924 GB, free: 8.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.1722, allocations: 0.7629 MB / 0.4931 GB, free: 8.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.1744, allocations: 0.9229 MB / 0.494 GB, free: 7.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004387/0.1749, allocations: 76 kB / 0.4941 GB, free: 7.012 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1763, allocations: 387.4 kB / 0.4945 GB, free: 6.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.1776, allocations: 0.7443 MB / 0.4952 GB, free: 5.887 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.1784, allocations: 352.8 kB / 0.4955 GB, free: 5.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.1819, allocations: 1.863 MB / 0.4974 GB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.182, allocations: 3.938 kB / 0.4974 GB, free: 3.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.182, allocations: 0 / 0.4974 GB, free: 3.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.55e-05/0.1821, allocations: 3.938 kB / 0.4974 GB, free: 3.66 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.006555/0.1887, allocations: 1.85 MB / 0.4992 GB, free: 1.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.1887, allocations: 12.03 kB / 0.4992 GB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006333/0.1894, allocations: 223.9 kB / 0.4994 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.1922, allocations: 329.4 kB / 0.4997 GB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004294/0.1965, allocations: 1.187 MB / 0.5009 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.1967, allocations: 102.7 kB / 0.501 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.1979, allocations: 239.6 kB / 0.5012 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.2037, allocations: 2.129 MB / 0.5033 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.693e-05/0.2038, allocations: 7.938 kB / 0.5033 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.2041, allocations: 55.98 kB / 0.5033 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001203/0.2053, allocations: 186.7 kB / 0.5035 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005749/0.211, allocations: 1.752 MB / 0.5052 GB, free: 11.38 MB / 362.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.02071/0.2318, allocations: 8.632 MB / 0.5137 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.2359, allocations: 1.824 MB / 0.5154 GB, free: 380 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.2361, allocations: 13.14 kB / 0.5155 GB, free: 368 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.2361, allocations: 51.55 kB / 0.5155 GB, free: 308 kB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.037e-06/0.2362, allocations: 0 / 0.5155 GB, free: 308 kB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.315/0.5511, allocations: 5.432 MB / 0.5208 GB, free: 50.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.5512, allocations: 96.72 kB / 0.5209 GB, free: 50.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.5532, allocations: 1.026 MB / 0.5219 GB, free: 50.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.5535, allocations: 50.86 kB / 0.522 GB, free: 49.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.554, allocations: 0.7545 MB / 0.5227 GB, free: 49.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/0.5546, allocations: 0.4932 MB / 0.5232 GB, free: 48.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5548, allocations: 36.5 kB / 0.5232 GB, free: 48.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5549, allocations: 380.4 kB / 0.5236 GB, free: 48.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.5569, allocations: 0.7102 MB / 0.5243 GB, free: 48.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.5592, allocations: 1.171 MB / 0.5254 GB, free: 47.59 MB / 362.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.01386/0.5731, allocations: 2.223 MB / 0.5276 GB, free: 47.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/0.5731, allocations: 4.062 kB / 0.5276 GB, free: 47.14 MB / 362.7 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