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.000914/0.000914, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009043/0.0009043, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.179/1.179, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1546/0.1546, allocations: 37.99 MB / 309.3 MB, free: 6.25 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.001142/0.001142, allocations: 59.52 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1856, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006246/0.1919, allocations: 8.225 MB / 438.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.1959, allocations: 2.829 MB / 441.6 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.1967, allocations: 59.62 kB / 441.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.1979, allocations: 492.9 kB / 442.1 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1991, allocations: 0.5486 MB / 442.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000962/0.2001, allocations: 467.4 kB / 443.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.2016, allocations: 2.491 MB / 445.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008632/0.2025, allocations: 0.7799 MB / 446.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008726/0.2034, allocations: 0.6656 MB / 447 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.2044, allocations: 0.9467 MB / 448 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.2045, allocations: 87.94 kB / 448.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.2056, allocations: 0.624 MB / 448.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.2061, allocations: 0.5729 MB / 449.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006098/0.2067, allocations: 0.626 MB / 449.9 MB, free: 340 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.2083, allocations: 1.59 MB / 451.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2083, allocations: 0 / 451.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2083, allocations: 4 kB / 451.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.2083, allocations: 0 / 451.5 MB, free: 14.73 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.004207/0.2125, allocations: 1.881 MB / 453.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2126, allocations: 8.031 kB / 453.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007654/0.2133, allocations: 175.5 kB / 453.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2149, allocations: 0.8891 MB / 454.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005636/0.2155, allocations: 0.5067 MB / 455 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.2157, allocations: 107.9 kB / 455.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/0.2194, allocations: 2.044 MB / 457.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2194, allocations: 0 / 457.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.2196, allocations: 39.98 kB / 457.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.2198, allocations: 89.94 kB / 457.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.2242, allocations: 2.256 MB / 459.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008189/0.2324, allocations: 5.777 MB / 465.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.2361, allocations: 1.599 MB / 466.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.2384, allocations: 1.113 MB / 468 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.2385, allocations: 17.06 kB / 468 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00256/0.2411, allocations: 1.316 MB / 469.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.737e-06/0.2411, allocations: 0 / 469.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.02405/0.2651, allocations: 8.573 MB / 477.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.2653, allocations: 98.11 kB / 478 MB, free: 3.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.2659, allocations: 0.5143 MB / 478.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.2661, allocations: 61.67 kB / 478.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.2665, allocations: 396.2 kB / 478.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.2669, allocations: 402.4 kB / 479.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.2673, allocations: 226.7 kB / 479.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2675, allocations: 398.7 kB / 479.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.2694, allocations: 0.9706 MB / 480.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.2713, allocations: 1.158 MB / 482.1 MB, free: 15.5 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.01131/0.2826, allocations: 5.026 MB / 487.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.2827, allocations: 4 kB / 487.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01171/0.2944, allocations: 4.351 MB / 491.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/0.2945, allocations: 61.67 kB / 491.5 MB, free: 5.961 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.001968/0.2965, allocations: 1.059 MB / 492.6 MB, free: 4.898 MB / 366.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated