Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") Notification: Performance of loadModel(PowerSystems): time 2.14/2.14, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.022e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09559, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5252, allocations: 106 MB / 461.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5255, allocations: 91.94 kB / 461.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1332/0.6587, allocations: 21.78 MB / 483.3 MB, free: 5.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.428e-06/0.6588, allocations: 0 / 483.3 MB, free: 5.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.6589, allocations: 15.98 kB / 483.3 MB, free: 5.586 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.00481/0.6637, allocations: 0.9421 MB / 484.3 MB, free: 4.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.614e-05/0.6638, allocations: 12.03 kB / 484.3 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.6659, allocations: 130.8 kB / 484.4 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008128/0.6741, allocations: 1.132 MB / 485.6 MB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6742, allocations: 49.31 kB / 485.6 MB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.6747, allocations: 67.98 kB / 485.7 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.6793, allocations: 0.9768 MB / 486.6 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/0.6794, allocations: 0 / 486.6 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.6797, allocations: 31.98 kB / 486.7 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003993/0.6801, allocations: 65.27 kB / 486.7 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004681/0.6848, allocations: 0.909 MB / 487.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.6992, allocations: 3.221 MB / 490.9 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.7027, allocations: 0.6823 MB / 491.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.7036, allocations: 446.5 kB / 492 MB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.7037, allocations: 9.5 kB / 492 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.7038, allocations: 47.06 kB / 492 MB, free: 12.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 6.714e-06/0.7038, allocations: 1.312 kB / 492 MB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.00468/0.7085, allocations: 2.092 MB / 494.1 MB, free: 10.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.7086, allocations: 85.67 kB / 494.2 MB, free: 10.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.7092, allocations: 367 kB / 494.6 MB, free: 9.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.7093, allocations: 45.69 kB / 494.6 MB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.7096, allocations: 339.8 kB / 495 MB, free: 9.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.7099, allocations: 279.9 kB / 495.2 MB, free: 9.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.71, allocations: 19.94 kB / 495.3 MB, free: 9.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.7102, allocations: 374.8 kB / 495.6 MB, free: 8.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.711, allocations: 349.6 kB / 496 MB, free: 8.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.7119, allocations: 0.4988 MB / 496.5 MB, free: 8.012 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.01144/0.7234, allocations: 2.751 MB / 499.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-06/0.7234, allocations: 0 / 499.2 MB, free: 5.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00245/0.7259, allocations: 1.091 MB / 0.4886 GB, free: 4.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.7259, allocations: 8.562 kB / 0.4886 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.726, allocations: 4.625 kB / 0.4886 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.7262, allocations: 44.78 kB / 0.4886 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.7273, allocations: 195.7 kB / 0.4888 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.7289, allocations: 1.39 MB / 0.4902 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.7297, allocations: 39.97 kB / 0.4902 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.7298, allocations: 37.16 kB / 0.4902 GB, free: 2.27 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.00026/0.7301, allocations: 153.6 kB / 0.4904 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.7302, allocations: 63.23 kB / 0.4905 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.7325, allocations: 1.007 MB / 0.4914 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.727e-05/0.7326, allocations: 31.92 kB / 0.4915 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-06/0.7326, allocations: 0 / 0.4915 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.7326, allocations: 3.984 kB / 0.4915 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.7376, allocations: 2.052 MB / 0.4935 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.7376, allocations: 4 kB / 0.4935 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7387, allocations: 167.8 kB / 0.4936 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.7389, allocations: 36.84 kB / 0.4937 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/0.739, allocations: 27.97 kB / 0.4937 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.7405, allocations: 1.382 MB / 0.4951 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.7405, allocations: 9.297 kB / 0.4951 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.7439, allocations: 1.81 MB / 0.4968 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.7441, allocations: 140.5 kB / 0.497 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.7443, allocations: 23.97 kB / 0.497 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.7448, allocations: 35.97 kB / 0.497 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.745, allocations: 60.38 kB / 0.4971 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.7451, allocations: 35.94 kB / 0.4971 GB, free: 10.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000482/0.7456, allocations: 285.2 kB / 0.4974 GB, free: 10.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.7456, allocations: 0 / 0.4974 GB, free: 10.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001067/0.7467, allocations: 211.9 kB / 0.4976 GB, free: 10.22 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.0003767/0.7471, allocations: 168.4 kB / 0.4977 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.7493, allocations: 0.9472 MB / 0.4987 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.205e-06/0.7493, allocations: 0 / 0.4987 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7504, allocations: 0.5294 MB / 0.4992 GB, free: 8.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009495/0.7514, allocations: 130.1 kB / 0.4993 GB, free: 8.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.7552, allocations: 1.682 MB / 0.501 GB, free: 6.664 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/0.7562, allocations: 1.025 MB / 0.502 GB, free: 5.605 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009274/0.7571, allocations: 205.3 kB / 0.5022 GB, free: 5.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.7574, allocations: 59.42 kB / 0.5022 GB, free: 5.344 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/0.7574, allocations: 0 / 0.5022 GB, free: 5.344 MB / 442.7 MB Notification: Performance of Templates: time 0.02171/0.7792, allocations: 7.522 MB / 0.5096 GB, free: 13.85 MB / 458.7 MB