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.001001/0.001001, allocations: 93.52 kB / 16.3 MB, free: 6.133 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.001283/0.001283, allocations: 179 kB / 17.2 MB, free: 6.016 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.506/1.506, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 309.7 MB, free: 6.137 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.0005264/0.0005266, allocations: 20 kB / 376.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2845, allocations: 56.32 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009224/0.2937, allocations: 11.11 MB / 444 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3041, allocations: 7.177 MB / 451.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.3061, allocations: 91.44 kB / 451.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007344/0.3134, allocations: 2.826 MB / 454.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.3167, allocations: 0.88 MB / 455 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3189, allocations: 0.6511 MB / 455.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002628/0.3215, allocations: 1.347 MB / 457 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.3239, allocations: 1.132 MB / 458.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.3258, allocations: 0.7979 MB / 458.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.3278, allocations: 0.9657 MB / 459.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005843/0.3284, allocations: 80 kB / 460 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.3299, allocations: 387.4 kB / 460.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.3312, allocations: 0.7638 MB / 461.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009473/0.3322, allocations: 356.8 kB / 461.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.3346, allocations: 1.898 MB / 463.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3346, allocations: 0 / 463.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3346, allocations: 0 / 463.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.3346, allocations: 0 / 463.4 MB, free: 4.242 MB / 334.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.004256/0.3389, allocations: 1.917 MB / 465.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.339, allocations: 8.031 kB / 465.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002965/0.3393, allocations: 228.3 kB / 465.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.341, allocations: 345.2 kB / 465.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3438, allocations: 1.238 MB / 467.1 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.3439, allocations: 110.7 kB / 467.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.3445, allocations: 235.7 kB / 467.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.3477, allocations: 2.176 MB / 469.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.3478, allocations: 7.938 kB / 469.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.3479, allocations: 55.98 kB / 469.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.3486, allocations: 182.8 kB / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.3515, allocations: 1.838 MB / 471.7 MB, free: 11.7 MB / 350.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.01217/0.3637, allocations: 8.583 MB / 480.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.3663, allocations: 1.908 MB / 482.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.3664, allocations: 25.34 kB / 482.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3665, allocations: 43.88 kB / 482.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.3665, allocations: 7.938 kB / 482.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=145): time 0.0119/0.3784, allocations: 5.783 MB / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3785, allocations: 94.42 kB / 488.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.3801, allocations: 1.055 MB / 489.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.3802, allocations: 53.7 kB / 489.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006449/0.3808, allocations: 0.7795 MB / 490 MB, free: 8.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.3813, allocations: 0.5277 MB / 490.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.3814, allocations: 36 kB / 490.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3816, allocations: 381.9 kB / 490.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.3828, allocations: 0.7339 MB / 491.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.3845, allocations: 1.214 MB / 492.9 MB, free: 5.504 MB / 366.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.007587/0.3921, allocations: 2.394 MB / 495.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.3921, allocations: 4 kB / 495.3 MB, free: 3.129 MB / 366.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