Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 93.14 kB / 16.3 MB, free: 5.996 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.000872/0.0008719, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2854/0.2854, allocations: 38.06 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 12 kB / 400 MB, free: 9.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2446, allocations: 59.15 MB / 459.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006481/0.2512, allocations: 7.941 MB / 467.1 MB, free: 24.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.2573, allocations: 5.413 MB / 472.5 MB, free: 20.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.2579, allocations: 50.28 kB / 472.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.2614, allocations: 1.814 MB / 474.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2629, allocations: 0.6193 MB / 475 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.264, allocations: 458.9 kB / 475.4 MB, free: 19.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.265, allocations: 0.9013 MB / 476.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.2661, allocations: 0.8509 MB / 477.2 MB, free: 18.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.2667, allocations: 0.536 MB / 477.7 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007344/0.2674, allocations: 0.6779 MB / 478.4 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.2675, allocations: 54.12 kB / 478.4 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.2681, allocations: 275.2 kB / 478.7 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.2685, allocations: 0.5582 MB / 479.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.2687, allocations: 257.2 kB / 479.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.2696, allocations: 1.288 MB / 480.8 MB, free: 16.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2696, allocations: 0 / 480.8 MB, free: 16.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2696, allocations: 3.984 kB / 480.8 MB, free: 16.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2696, allocations: 4 kB / 480.8 MB, free: 16.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002208/0.2718, allocations: 1.366 MB / 482.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2718, allocations: 9.938 kB / 482.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2729, allocations: 225.5 kB / 482.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.2745, allocations: 0.8878 MB / 483.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2745, allocations: 72.31 kB / 483.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.2749, allocations: 198.1 kB / 483.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.2768, allocations: 1.547 MB / 485.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.2768, allocations: 6.969 kB / 485.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.2769, allocations: 45.36 kB / 485.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004903/0.2774, allocations: 149.9 kB / 485.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.2789, allocations: 1.245 MB / 486.5 MB, free: 12.36 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.005877/0.2848, allocations: 6.598 MB / 493.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2859, allocations: 0.9185 MB / 494.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.286, allocations: 12.98 kB / 494.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.286, allocations: 43.56 kB / 494.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.214e-06/0.286, allocations: 0 / 494.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.004686/0.2907, allocations: 3.689 MB / 497.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.2908, allocations: 86.11 kB / 497.9 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/0.2914, allocations: 0.7233 MB / 498.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.2915, allocations: 45.73 kB / 498.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.2918, allocations: 0.5574 MB / 499.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.2921, allocations: 362.8 kB / 499.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.2922, allocations: 24 kB / 499.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.2924, allocations: 414.7 kB / 500 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/0.2933, allocations: 0.5608 MB / 0.4888 GB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2944, allocations: 0.8776 MB / 0.4897 GB, free: 12.71 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.005534/0.2999, allocations: 1.823 MB / 0.4915 GB, free: 10.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2999, allocations: 4 kB / 0.4915 GB, free: 10.89 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