Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 93.55 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.001585/0.001585, allocations: 178.2 kB / 17.19 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.47/1.47, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1812/0.1812, allocations: 38.04 MB / 309.7 MB, free: 6.121 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.0005513/0.0005514, allocations: 19.12 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.249, allocations: 56.33 MB / 432.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008994/0.258, allocations: 11.04 MB / 443.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.2677, allocations: 7.177 MB / 451 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.2695, allocations: 79.44 kB / 451.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007471/0.277, allocations: 2.838 MB / 453.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.2808, allocations: 0.8528 MB / 454.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.2832, allocations: 0.6238 MB / 455.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002735/0.2859, allocations: 1.288 MB / 456.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.2884, allocations: 1.183 MB / 457.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.29, allocations: 0.759 MB / 458.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.2913, allocations: 0.9229 MB / 459.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.2915, allocations: 76 kB / 459.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.2924, allocations: 387.4 kB / 460 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007428/0.2932, allocations: 0.7443 MB / 460.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.2936, allocations: 348.8 kB / 461.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.2957, allocations: 1.866 MB / 463 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2957, allocations: 4 kB / 463 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2957, allocations: 3.938 kB / 463 MB, free: 4.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.2958, allocations: 0 / 463 MB, free: 4.543 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004251/0.3, allocations: 1.854 MB / 464.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3001, allocations: 8.031 kB / 464.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.3018, allocations: 325.5 kB / 465.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.3046, allocations: 1.199 MB / 466.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.854e-05/0.3047, allocations: 106.6 kB / 466.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005644/0.3053, allocations: 235.7 kB / 466.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/0.3087, allocations: 2.122 MB / 468.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.3087, allocations: 4 kB / 468.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.3089, allocations: 59.98 kB / 468.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006339/0.3095, allocations: 186.6 kB / 469.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.3124, allocations: 1.756 MB / 470.8 MB, free: 12.48 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.01275/0.3252, allocations: 8.621 MB / 479.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.3277, allocations: 1.822 MB / 481.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/0.3278, allocations: 17.12 kB / 481.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3279, allocations: 47.56 kB / 481.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 5.26e-06/0.3279, allocations: 0 / 481.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01118/0.3391, allocations: 5.445 MB / 486.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.3392, allocations: 94.36 kB / 486.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3405, allocations: 1.033 MB / 487.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/0.3406, allocations: 45.7 kB / 487.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.3412, allocations: 0.7638 MB / 488.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.3416, allocations: 0.4968 MB / 489.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.3417, allocations: 28.03 kB / 489.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3419, allocations: 385.9 kB / 489.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.3431, allocations: 0.7105 MB / 490.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3445, allocations: 1.165 MB / 491.5 MB, free: 6.848 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.007731/0.3523, allocations: 2.289 MB / 493.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.3523, allocations: 4 kB / 493.8 MB, free: 4.566 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