Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadModel(PowerSystems): time 2.253/2.253, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.431e-05, allocations: 7.938 kB / 302.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 53.25 MB / 355.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5696, allocations: 107.4 MB / 462.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5699, allocations: 83.95 kB / 462.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0978/0.6677, allocations: 23.97 MB / 486.9 MB, free: 2.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6678, allocations: 0 / 486.9 MB, free: 2.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.679e-05/0.6678, allocations: 24 kB / 486.9 MB, free: 2.066 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00318/0.671, allocations: 1.327 MB / 488.2 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6711, allocations: 12.03 kB / 488.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6723, allocations: 158.6 kB / 488.4 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.6775, allocations: 1.383 MB / 489.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.6778, allocations: 175.1 kB / 489.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.6781, allocations: 91.98 kB / 490 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.6812, allocations: 1.409 MB / 491.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.6812, allocations: 7.938 kB / 491.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.6814, allocations: 51.89 kB / 491.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.6815, allocations: 57.98 kB / 491.6 MB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.6839, allocations: 1.007 MB / 492.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008901/0.6928, allocations: 4.79 MB / 497.3 MB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.6948, allocations: 0.891 MB / 498.2 MB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.696, allocations: 491.7 kB / 498.7 MB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/0.6961, allocations: 16.55 kB / 498.7 MB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.6974, allocations: 0.6286 MB / 499.4 MB, free: 5.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.641e-06/0.6974, allocations: 0 / 499.4 MB, free: 5.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.005398/0.7028, allocations: 2.387 MB / 0.49 GB, free: 2.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7029, allocations: 123.4 kB / 0.4901 GB, free: 2.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/0.7038, allocations: 0.5087 MB / 0.4906 GB, free: 2.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.704, allocations: 53.7 kB / 0.4907 GB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.7045, allocations: 459.1 kB / 0.4911 GB, free: 1.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.7048, allocations: 276.2 kB / 0.4914 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.7049, allocations: 20 kB / 0.4914 GB, free: 1.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.7052, allocations: 388.1 kB / 0.4917 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7062, allocations: 0.4943 MB / 0.4922 GB, free: 344 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.7075, allocations: 0.7564 MB / 0.493 GB, free: 15.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.7088, allocations: 0.6386 MB / 0.4936 GB, free: 14.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.707e-06/0.7088, allocations: 4 kB / 0.4936 GB, free: 14.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00351/0.7123, allocations: 1.585 MB / 0.4951 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.7125, allocations: 65.62 kB / 0.4952 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002771/0.7153, allocations: 1.358 MB / 0.4965 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.7158, allocations: 105.6 kB / 0.4966 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7169, allocations: 191.7 kB / 0.4968 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.7203, allocations: 2.974 MB / 0.4997 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.7214, allocations: 71.84 kB / 0.4998 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.7216, allocations: 75.98 kB / 0.4999 GB, free: 8.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.7219, allocations: 191.9 kB / 0.5 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.7222, allocations: 79.61 kB / 0.5001 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.7247, allocations: 1.1 MB / 0.5012 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/0.7247, allocations: 16 kB / 0.5012 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7248, allocations: 0 / 0.5012 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.7248, allocations: 3.984 kB / 0.5012 GB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004819/0.7296, allocations: 2.292 MB / 0.5035 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.7297, allocations: 1.219 kB / 0.5035 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.7307, allocations: 143.8 kB / 0.5036 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.7308, allocations: 28.78 kB / 0.5036 GB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.7309, allocations: 32.06 kB / 0.5036 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.7323, allocations: 1.381 MB / 0.505 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.944e-06/0.7323, allocations: 8 kB / 0.505 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.736, allocations: 1.731 MB / 0.5067 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/0.7366, allocations: 248 kB / 0.5069 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.7369, allocations: 80 kB / 0.507 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009681/0.7379, allocations: 115.8 kB / 0.5071 GB, free: 272 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.738, allocations: 52.64 kB / 0.5072 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.774e-05/0.7382, allocations: 27.98 kB / 0.5072 GB, free: 192 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006938/0.7389, allocations: 397.5 kB / 0.5076 GB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.75e-07/0.7389, allocations: 1.312 kB / 0.5076 GB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001363/0.7403, allocations: 252 kB / 0.5078 GB, free: 15.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.7407, allocations: 194.8 kB / 0.508 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.7438, allocations: 1.556 MB / 0.5095 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.044e-06/0.7439, allocations: 0 / 0.5095 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.7451, allocations: 0.5676 MB / 0.5101 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7462, allocations: 156.9 kB / 0.5102 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.7504, allocations: 1.89 MB / 0.5121 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.7515, allocations: 1.134 MB / 0.5132 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.7526, allocations: 230.5 kB / 0.5134 GB, free: 9.723 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7529, allocations: 63.44 kB / 0.5135 GB, free: 9.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.795e-06/0.7529, allocations: 0 / 0.5135 GB, free: 9.66 MB / 458.7 MB Notification: Performance of Templates: time 0.3202/1.073, allocations: 9.915 MB / 0.5231 GB, free: 133.4 MB / 458.7 MB