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.001028/0.001027, allocations: 91.7 kB / 16.65 MB, free: 6.598 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.001301/0.001302, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.46/1.46, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1664/0.1664, allocations: 38.05 MB / 310.1 MB, free: 6.004 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.0006197/0.0006197, allocations: 12 kB / 377.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2656, allocations: 56.34 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005455/0.2711, allocations: 4.982 MB / 438.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.274, allocations: 1.633 MB / 440.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.2746, allocations: 31.81 kB / 440.1 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.2751, allocations: 91.42 kB / 440.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008888/0.276, allocations: 254.9 kB / 440.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.2766, allocations: 191.7 kB / 440.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.2776, allocations: 0.9077 MB / 441.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000871/0.2784, allocations: 0.5632 MB / 442.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2789, allocations: 222.9 kB / 442.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.2794, allocations: 314.9 kB / 442.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.2794, allocations: 16 kB / 442.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.2797, allocations: 135.8 kB / 442.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.2799, allocations: 199.4 kB / 443 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.2802, allocations: 252.4 kB / 443.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.2807, allocations: 0.5566 MB / 443.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2807, allocations: 3.938 kB / 443.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.2807, allocations: 3.938 kB / 443.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2808, allocations: 0 / 443.8 MB, free: 8.285 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.00121/0.282, allocations: 0.6561 MB / 444.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.282, allocations: 8.031 kB / 444.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.2829, allocations: 104.3 kB / 444.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.2835, allocations: 424.1 kB / 445 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2836, allocations: 33.12 kB / 445 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.2838, allocations: 59.88 kB / 445.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.2844, allocations: 496.8 kB / 445.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2844, allocations: 7.984 kB / 445.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2845, allocations: 12 kB / 445.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.2846, allocations: 28.98 kB / 445.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.2851, allocations: 343.7 kB / 446 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.2872, allocations: 1.75 MB / 447.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.2875, allocations: 310.4 kB / 448 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2877, allocations: 157.6 kB / 448.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2878, allocations: 4 kB / 448.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2878, allocations: 38.56 kB / 448.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.2878, allocations: 0 / 448.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001848/0.2897, allocations: 1.113 MB / 449.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2897, allocations: 89.17 kB / 449.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.2901, allocations: 325.6 kB / 449.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.2901, allocations: 33.7 kB / 449.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.2903, allocations: 247.9 kB / 450 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.2904, allocations: 98.64 kB / 450.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.2904, allocations: 37.7 kB / 450.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.2905, allocations: 346.8 kB / 450.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2907, allocations: 144.3 kB / 450.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2909, allocations: 238.9 kB / 450.8 MB, free: 0.832 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.002414/0.2934, allocations: 1.042 MB / 451.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2934, allocations: 0 / 451.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001367/0.2947, allocations: 0.6483 MB / 452.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2948, allocations: 11.94 kB / 452.5 MB, free: 15.05 MB / 334.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.0002704/0.2951, allocations: 163.8 kB / 452.7 MB, free: 14.89 MB / 334.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated