Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.000873, allocations: 95.03 kB / 16.95 MB, free: 5.953 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.0008452/0.0008452, allocations: 176.6 kB / 17.84 MB, free: 5.617 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.602/1.602, allocations: 205.4 MB / 224 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.1705/0.1705, allocations: 38.06 MB / 310.3 MB, free: 6.039 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.0006011/0.0006011, allocations: 16.22 kB / 377.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2644, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006261/0.2707, allocations: 7.35 MB / 440.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.275, allocations: 2.655 MB / 443.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.2758, allocations: 47.69 kB / 443.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.2763, allocations: 190.7 kB / 443.7 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.2778, allocations: 0.6222 MB / 444.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.2789, allocations: 463.2 kB / 444.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2803, allocations: 2.054 MB / 446.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.2814, allocations: 0.9242 MB / 447.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.2822, allocations: 0.6423 MB / 448.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.2831, allocations: 0.8883 MB / 449.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2833, allocations: 72 kB / 449.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000823/0.2841, allocations: 0.5616 MB / 449.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.2845, allocations: 0.5573 MB / 450.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2848, allocations: 237.1 kB / 450.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2858, allocations: 1.547 MB / 452.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2858, allocations: 0 / 452.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.2858, allocations: 4 kB / 452.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2859, allocations: 0 / 452.3 MB, free: 15.95 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003728/0.2896, allocations: 1.694 MB / 454 MB, free: 14.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2896, allocations: 8.031 kB / 454 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.2904, allocations: 174.5 kB / 454.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2921, allocations: 0.8727 MB / 455 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/0.2928, allocations: 0.5179 MB / 455.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.293, allocations: 119.8 kB / 455.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.2975, allocations: 2.133 MB / 457.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.2976, allocations: 0 / 457.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.2977, allocations: 43.98 kB / 457.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.298, allocations: 81.95 kB / 457.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004892/0.3029, allocations: 2.428 MB / 460.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.312, allocations: 5.851 MB / 466.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/0.3161, allocations: 1.756 MB / 467.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/0.3185, allocations: 1.211 MB / 469.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.3186, allocations: 12.91 kB / 469.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/0.3213, allocations: 1.414 MB / 470.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.836e-06/0.3213, allocations: 3.938 kB / 470.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.01892/0.3402, allocations: 7.92 MB / 478.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.3403, allocations: 102.1 kB / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.341, allocations: 0.5143 MB / 479.1 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3411, allocations: 53.69 kB / 479.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.3415, allocations: 404.3 kB / 479.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/0.3419, allocations: 398.3 kB / 480 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.342, allocations: 24 kB / 480 MB, free: 3.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3422, allocations: 394.7 kB / 480.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.344, allocations: 1.029 MB / 481.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.346, allocations: 1.213 MB / 482.6 MB, free: 0.9414 MB / 350.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.01107/0.357, allocations: 4.394 MB / 487 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.3571, allocations: 0 / 487 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01023/0.3673, allocations: 4.144 MB / 491.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/0.3674, allocations: 65.67 kB / 491.2 MB, free: 8.27 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00228/0.3697, allocations: 1.101 MB / 492.3 MB, free: 7.16 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated