Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGI,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_PSGI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008942, allocations: 90.03 kB / 16.31 MB, free: 6 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.0009601/0.0009601, allocations: 182.8 kB / 17.21 MB, free: 5.902 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.433/1.433, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2939/0.2939, allocations: 38.05 MB / 309.7 MB, free: 9.043 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.0004565/0.0004565, allocations: 24 kB / 376.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 56.32 MB / 432.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01307/0.1149, allocations: 11.73 MB / 444.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1276, allocations: 7.259 MB / 451.9 MB, free: 3.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.1294, allocations: 83.44 kB / 452 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2632/0.3925, allocations: 11.98 MB / 464 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.3969, allocations: 1.167 MB / 465.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.3996, allocations: 0.6677 MB / 465.8 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00694/0.4065, allocations: 4.657 MB / 470.5 MB, free: 35.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.4086, allocations: 1.136 MB / 471.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.4105, allocations: 0.9462 MB / 472.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.4126, allocations: 1.437 MB / 474 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.4129, allocations: 77.16 kB / 474.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.414, allocations: 411.5 kB / 474.5 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007638/0.4148, allocations: 0.844 MB / 475.3 MB, free: 34.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.4153, allocations: 352.5 kB / 475.7 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.4173, allocations: 1.912 MB / 477.6 MB, free: 34.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4173, allocations: 6.281 kB / 477.6 MB, free: 34.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4173, allocations: 6.297 kB / 477.6 MB, free: 34.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.4173, allocations: 0 / 477.6 MB, free: 34.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003733/0.4211, allocations: 1.897 MB / 479.5 MB, free: 33.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4211, allocations: 14.47 kB / 479.5 MB, free: 33.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004015/0.4216, allocations: 234.8 kB / 479.7 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.4233, allocations: 328.5 kB / 480.1 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.4259, allocations: 1.237 MB / 481.3 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.4259, allocations: 102.5 kB / 481.4 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.4264, allocations: 242.1 kB / 481.6 MB, free: 32.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.4296, allocations: 2.186 MB / 483.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.4297, allocations: 6.156 kB / 483.8 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.4299, allocations: 61.05 kB / 483.9 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005234/0.4304, allocations: 186.8 kB / 484.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.4339, allocations: 1.831 MB / 485.9 MB, free: 32.44 MB / 382.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.01247/0.4464, allocations: 8.588 MB / 494.5 MB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.4491, allocations: 1.915 MB / 496.4 MB, free: 27.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.4506, allocations: 0.7984 MB / 497.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/0.4507, allocations: 18.16 kB / 497.2 MB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4508, allocations: 53.66 kB / 497.3 MB, free: 27.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.837e-06/0.4508, allocations: 1.469 kB / 497.3 MB, free: 27.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01286/0.4637, allocations: 6.02 MB / 0.4915 GB, free: 24.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4638, allocations: 96.55 kB / 0.4916 GB, free: 24.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.4654, allocations: 1.054 MB / 0.4926 GB, free: 24.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.4655, allocations: 51.33 kB / 0.4927 GB, free: 24.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/0.4661, allocations: 0.7891 MB / 0.4934 GB, free: 23.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.4665, allocations: 0.5209 MB / 0.4939 GB, free: 23.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.4666, allocations: 35.44 kB / 0.494 GB, free: 23.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4667, allocations: 386.4 kB / 0.4943 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.4679, allocations: 0.7359 MB / 0.4951 GB, free: 22.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.4694, allocations: 1.234 MB / 0.4963 GB, free: 21.64 MB / 382.1 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.007081/0.4765, allocations: 2.428 MB / 0.4986 GB, free: 20.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.4765, allocations: 5.531 kB / 0.4986 GB, free: 20.64 MB / 382.1 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