Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 114.4 kB / 17.69 MB, free: 5.312 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.001438/0.001438, allocations: 191 kB / 18.63 MB, free: 4.379 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.371/1.371, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.177/0.177, allocations: 37.99 MB / 309.8 MB, free: 5.98 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.001651/0.001651, allocations: 71.89 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2088, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005211/0.214, allocations: 4.738 MB / 436.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2159, allocations: 1.473 MB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2161, allocations: 15.94 kB / 438.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.2171, allocations: 412.6 kB / 438.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.2176, allocations: 278.6 kB / 438.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.218, allocations: 215.5 kB / 439.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.2184, allocations: 0.623 MB / 439.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.2188, allocations: 293.2 kB / 440 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.219, allocations: 282.8 kB / 440.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.2195, allocations: 318.9 kB / 440.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.2195, allocations: 32 kB / 440.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2197, allocations: 139.8 kB / 440.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2199, allocations: 215.4 kB / 441 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.2201, allocations: 242.8 kB / 441.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.2205, allocations: 0.5801 MB / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2205, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2205, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2205, allocations: 0 / 441.8 MB, free: 9.672 MB / 318.1 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.001013/0.2215, allocations: 0.7418 MB / 442.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2216, allocations: 11.89 kB / 442.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/0.2223, allocations: 108.2 kB / 442.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.223, allocations: 444 kB / 443.1 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.223, allocations: 33.12 kB / 443.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.2231, allocations: 55.95 kB / 443.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.2237, allocations: 496.8 kB / 443.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2237, allocations: 4 kB / 443.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.2238, allocations: 15.98 kB / 443.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.224, allocations: 28.98 kB / 443.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.2244, allocations: 343.7 kB / 444.1 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.2264, allocations: 1.742 MB / 445.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.2267, allocations: 298.4 kB / 446.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2268, allocations: 157.7 kB / 446.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.2269, allocations: 11.94 kB / 446.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2269, allocations: 34.56 kB / 446.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/0.2269, allocations: 3.938 kB / 446.3 MB, free: 4.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001601/0.2285, allocations: 1.114 MB / 447.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2285, allocations: 85.05 kB / 447.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2288, allocations: 329.6 kB / 447.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2288, allocations: 33.7 kB / 447.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.2289, allocations: 248 kB / 448.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.229, allocations: 98.5 kB / 448.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2291, allocations: 77.67 kB / 448.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.2291, allocations: 350.8 kB / 448.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2293, allocations: 140.3 kB / 448.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.2295, allocations: 234.9 kB / 449 MB, free: 2.086 MB / 318.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.002106/0.2316, allocations: 1.032 MB / 450 MB, free: 1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2316, allocations: 0 / 450 MB, free: 1 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001101/0.2327, allocations: 0.6636 MB / 450.7 MB, free: 324 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2328, allocations: 12.28 kB / 450.7 MB, free: 312 kB / 318.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/0.233, allocations: 152.5 kB / 450.8 MB, free: 156 kB / 318.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated