Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.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: translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.492/1.492, allocations: 205.1 MB / 223.1 MB, free: 8.457 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.0009521/0.0009521, allocations: 103.9 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1671/0.1671, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009696/0.0009696, allocations: 47.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3018, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006135/0.308, allocations: 5.379 MB / 482.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3104, allocations: 1.665 MB / 484.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.3107, allocations: 28.09 kB / 484.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3117, allocations: 382.4 kB / 484.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3122, allocations: 253.2 kB / 484.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.3127, allocations: 191.4 kB / 485 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.3136, allocations: 0.9194 MB / 485.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.3141, allocations: 284.4 kB / 486.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.3145, allocations: 256.5 kB / 486.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.315, allocations: 326.5 kB / 486.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.3151, allocations: 24.75 kB / 486.8 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3154, allocations: 148 kB / 486.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.3157, allocations: 203.9 kB / 487.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.3159, allocations: 233.9 kB / 487.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.3166, allocations: 0.5645 MB / 487.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3166, allocations: 4 kB / 487.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3166, allocations: 0 / 487.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3166, allocations: 0.8125 kB / 487.9 MB, free: 3.375 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00126/0.3179, allocations: 0.749 MB / 488.7 MB, free: 2.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3179, allocations: 10.62 kB / 488.7 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.3187, allocations: 101.9 kB / 488.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.3194, allocations: 430 kB / 489.2 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.3194, allocations: 31.17 kB / 489.2 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.3196, allocations: 59.95 kB / 489.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.3203, allocations: 494 kB / 489.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3203, allocations: 10.28 kB / 489.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3204, allocations: 18.53 kB / 489.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.3206, allocations: 26.97 kB / 489.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.3211, allocations: 344.7 kB / 490.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3235, allocations: 1.738 MB / 491.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.3238, allocations: 305.1 kB / 492.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.324, allocations: 166.3 kB / 492.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3241, allocations: 2.906 kB / 492.4 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3241, allocations: 32.64 kB / 492.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.3241, allocations: 0 / 492.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001969/0.3261, allocations: 1.111 MB / 493.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3261, allocations: 84.64 kB / 493.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.3265, allocations: 329.8 kB / 493.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3266, allocations: 35.19 kB / 493.9 MB, free: 15.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3267, allocations: 249.5 kB / 494.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/0.3268, allocations: 97.23 kB / 494.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.327, allocations: 77.61 kB / 494.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3271, allocations: 352.5 kB / 494.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3274, allocations: 145.8 kB / 494.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.3277, allocations: 240.7 kB / 495.1 MB, free: 14.73 MB / 330.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.002863/0.3306, allocations: 1.025 MB / 496.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3306, allocations: 1.281 kB / 496.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001381/0.332, allocations: 0.6618 MB / 496.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.332, allocations: 10.69 kB / 496.8 MB, free: 13.97 MB / 330.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/0.3323, allocations: 156.3 kB / 496.9 MB, free: 13.91 MB / 330.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated