Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.22/2.22, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.871e-05, allocations: 4 kB / 301.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 53.24 MB / 354.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.6092, allocations: 109.8 MB / 464.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6095, allocations: 87.95 kB / 464.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1332/0.7428, allocations: 28.9 MB / 493.4 MB, free: 10.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.7428, allocations: 0 / 493.4 MB, free: 10.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.477e-05/0.7429, allocations: 23.94 kB / 493.4 MB, free: 10.88 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.007039/0.75, allocations: 1.658 MB / 495 MB, free: 9.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.75, allocations: 8.031 kB / 495.1 MB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007854/0.7508, allocations: 176.5 kB / 495.2 MB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.7522, allocations: 178.5 kB / 495.4 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008217/0.7605, allocations: 1.615 MB / 497 MB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/0.7617, allocations: 0.5257 MB / 497.5 MB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/0.7624, allocations: 88 kB / 497.6 MB, free: 6.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00496/0.7673, allocations: 1.78 MB / 499.4 MB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.7674, allocations: 4 kB / 499.4 MB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.7677, allocations: 43.94 kB / 499.5 MB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/0.768, allocations: 77.95 kB / 499.5 MB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/0.7734, allocations: 1.8 MB / 0.4896 GB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.7912, allocations: 5.801 MB / 0.4952 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.7948, allocations: 1.216 MB / 0.4964 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.7973, allocations: 0.9181 MB / 0.4973 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.7975, allocations: 20.84 kB / 0.4974 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002791/0.8003, allocations: 1.097 MB / 0.4984 GB, free: 9.445 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 5.21e-06/0.8004, allocations: 4 kB / 0.4984 GB, free: 9.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.02514/0.8255, allocations: 5.867 MB / 0.5042 GB, free: 3.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.8257, allocations: 98.09 kB / 0.5042 GB, free: 3.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.8266, allocations: 452.5 kB / 0.5047 GB, free: 2.957 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003998/0.827, allocations: 53.7 kB / 0.5047 GB, free: 2.898 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.8275, allocations: 423 kB / 0.5051 GB, free: 2.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/0.8281, allocations: 414.1 kB / 0.5055 GB, free: 2.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.8283, allocations: 24 kB / 0.5056 GB, free: 2.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8285, allocations: 362.7 kB / 0.5059 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.8307, allocations: 0.8535 MB / 0.5067 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.8332, allocations: 1.012 MB / 0.5077 GB, free: 15.77 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.02331/0.8565, allocations: 4.237 MB / 0.5119 GB, free: 11.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.8566, allocations: 0 / 0.5119 GB, free: 11.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02272/0.8793, allocations: 4.54 MB / 0.5163 GB, free: 6.957 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.8795, allocations: 65.61 kB / 0.5164 GB, free: 6.887 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.002757/0.8823, allocations: 0.9339 MB / 0.5173 GB, free: 5.945 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated