Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.518/2.518, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.566e-05, allocations: 7.922 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 53.22 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.6276, allocations: 106 MB / 461.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.628, allocations: 87.95 kB / 461.6 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1028/0.7308, allocations: 21.78 MB / 483.4 MB, free: 5.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7309, allocations: 0 / 483.4 MB, free: 5.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.388e-05/0.7309, allocations: 16 kB / 483.4 MB, free: 5.527 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003225/0.7342, allocations: 0.9499 MB / 484.4 MB, free: 4.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.7343, allocations: 8.031 kB / 484.4 MB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/0.7346, allocations: 122.6 kB / 484.5 MB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.7357, allocations: 138.8 kB / 484.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004927/0.7407, allocations: 1.124 MB / 485.8 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.7408, allocations: 49.3 kB / 485.8 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.741, allocations: 68 kB / 485.9 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.7436, allocations: 0.9807 MB / 486.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.7436, allocations: 4 kB / 486.9 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.7438, allocations: 24.55 kB / 486.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.744, allocations: 73.27 kB / 487 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.7466, allocations: 0.909 MB / 487.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00815/0.7547, allocations: 3.217 MB / 491.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.7567, allocations: 0.6823 MB / 491.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.7578, allocations: 442.5 kB / 492.2 MB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/0.7579, allocations: 14.91 kB / 492.2 MB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.758, allocations: 43.06 kB / 492.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 3.998e-06/0.758, allocations: 7.938 kB / 492.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.005423/0.7635, allocations: 2.092 MB / 494.4 MB, free: 10.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.7636, allocations: 81.67 kB / 494.4 MB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.7643, allocations: 379 kB / 494.8 MB, free: 9.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.7644, allocations: 41.7 kB / 494.9 MB, free: 9.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7647, allocations: 335.9 kB / 495.2 MB, free: 9.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.765, allocations: 279.9 kB / 495.5 MB, free: 9.113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.7651, allocations: 16 kB / 495.5 MB, free: 9.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.7653, allocations: 374.8 kB / 495.8 MB, free: 8.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009209/0.7663, allocations: 349.7 kB / 496.2 MB, free: 8.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.7673, allocations: 0.5019 MB / 496.7 MB, free: 7.816 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.7854, allocations: 2.751 MB / 499.4 MB, free: 5.043 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.7854, allocations: 11.95 kB / 499.4 MB, free: 5.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004919/0.7904, allocations: 1.08 MB / 0.4888 GB, free: 3.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.7905, allocations: 6.344 kB / 0.4888 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.7905, allocations: 11.94 kB / 0.4888 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.7909, allocations: 32.84 kB / 0.4888 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.7935, allocations: 203.7 kB / 0.489 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.7959, allocations: 1.386 MB / 0.4904 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7974, allocations: 45.03 kB / 0.4904 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.7976, allocations: 32 kB / 0.4905 GB, free: 2.078 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004457/0.798, allocations: 157.9 kB / 0.4906 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7983, allocations: 59.25 kB / 0.4907 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/0.8026, allocations: 1.011 MB / 0.4917 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-05/0.8027, allocations: 23.95 kB / 0.4917 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.8028, allocations: 4 kB / 0.4917 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.8028, allocations: 3.984 kB / 0.4917 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009243/0.8121, allocations: 2.059 MB / 0.4937 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/0.8122, allocations: 4 kB / 0.4937 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/0.8145, allocations: 164.3 kB / 0.4939 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.8149, allocations: 40.84 kB / 0.4939 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.8151, allocations: 25.02 kB / 0.4939 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.8173, allocations: 1.386 MB / 0.4953 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.679e-05/0.8174, allocations: 7.938 kB / 0.4953 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/0.8233, allocations: 1.806 MB / 0.497 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.8238, allocations: 132.6 kB / 0.4972 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.824, allocations: 27.97 kB / 0.4972 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.8252, allocations: 39.95 kB / 0.4972 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.8254, allocations: 72.31 kB / 0.4973 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8256, allocations: 24 kB / 0.4973 GB, free: 10.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008212/0.8264, allocations: 285.2 kB / 0.4976 GB, free: 10.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.8265, allocations: 0 / 0.4976 GB, free: 10.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001899/0.8284, allocations: 205.3 kB / 0.4978 GB, free: 10.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005284/0.8337, allocations: 3.722 MB / 0.5014 GB, free: 6.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.8363, allocations: 0.9512 MB / 0.5024 GB, free: 5.172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.8364, allocations: 0 / 0.5024 GB, free: 5.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.8377, allocations: 0.5217 MB / 0.5029 GB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.839, allocations: 134 kB / 0.503 GB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.8445, allocations: 1.89 MB / 0.5048 GB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/0.8455, allocations: 1.029 MB / 0.5059 GB, free: 1.465 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.8467, allocations: 209.3 kB / 0.5061 GB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.8474, allocations: 271.3 kB / 0.5063 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of SimCode: time 1.552e-06/0.8474, allocations: 0 / 0.5063 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05848/0.9059, allocations: 13.97 MB / 0.5199 GB, free: 3.098 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.9063, allocations: 188.6 kB / 0.5201 GB, free: 2.867 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/3.881, allocations: 0 / 0.5201 GB, free: 2.867 MB / 458.7 MB