Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.485/2.485, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.557e-05, allocations: 4 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6013, allocations: 109.8 MB / 465.3 MB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/0.6017, allocations: 87.95 kB / 465.4 MB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1437/0.7454, allocations: 28.9 MB / 494.3 MB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7455, allocations: 0 / 494.3 MB, free: 10.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.091e-05/0.7456, allocations: 23.94 kB / 494.3 MB, free: 10.59 MB / 426.7 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.007323/0.7529, allocations: 1.662 MB / 496 MB, free: 8.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.753, allocations: 8.031 kB / 496 MB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008195/0.7538, allocations: 168.6 kB / 496.2 MB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.7552, allocations: 186.5 kB / 496.3 MB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00831/0.7636, allocations: 1.61 MB / 498 MB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/0.7648, allocations: 0.5257 MB / 498.5 MB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006092/0.7654, allocations: 89.69 kB / 498.6 MB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005153/0.7706, allocations: 1.774 MB / 0.4886 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.7707, allocations: 4 kB / 0.4886 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.771, allocations: 47.94 kB / 0.4887 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/0.7712, allocations: 77.95 kB / 0.4887 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.7769, allocations: 1.8 MB / 0.4905 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.7951, allocations: 5.805 MB / 0.4962 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.7988, allocations: 1.215 MB / 0.4973 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.8015, allocations: 0.9103 MB / 0.4982 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.8017, allocations: 29.98 kB / 0.4983 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002828/0.8046, allocations: 1.095 MB / 0.4993 GB, free: 9.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.939e-06/0.8046, allocations: 0 / 0.4993 GB, free: 9.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.02563/0.8302, allocations: 5.871 MB / 0.5051 GB, free: 3.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.8304, allocations: 102.1 kB / 0.5052 GB, free: 3.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.8314, allocations: 444.5 kB / 0.5056 GB, free: 2.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.8318, allocations: 57.69 kB / 0.5056 GB, free: 2.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.8323, allocations: 388.5 kB / 0.506 GB, free: 2.215 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000657/0.833, allocations: 411.4 kB / 0.5064 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.8331, allocations: 20 kB / 0.5064 GB, free: 1.789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.8334, allocations: 402.7 kB / 0.5068 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.8357, allocations: 0.8535 MB / 0.5076 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.8383, allocations: 1.016 MB / 0.5086 GB, free: 15.46 MB / 458.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.02426/0.8626, allocations: 4.24 MB / 0.5128 GB, free: 11.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8626, allocations: 0 / 0.5128 GB, free: 11.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.03063/0.8932, allocations: 4.571 MB / 0.5172 GB, free: 6.621 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.8935, allocations: 65.61 kB / 0.5173 GB, free: 6.551 MB / 458.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singulare and cannot handled because number of unassigned equations is larger than number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004226/0.8977, allocations: 0.9364 MB / 0.5182 GB, free: 5.605 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated