Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadModel(PowerSystems): time 2.194/2.194, allocations: 233 MB / 245.6 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.212e-05, allocations: 4 kB / 301.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.0899, allocations: 53.23 MB / 354.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.474, allocations: 107.4 MB / 461.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4743, allocations: 87.95 kB / 461.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09747/0.5718, allocations: 23.96 MB / 485.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.5719, allocations: 0 / 485.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.373e-05/0.5719, allocations: 24 kB / 485.9 MB, free: 2.559 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.003178/0.5751, allocations: 1.331 MB / 487.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5752, allocations: 8.031 kB / 487.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5762, allocations: 174.6 kB / 487.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.5813, allocations: 1.376 MB / 488.8 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.5815, allocations: 175 kB / 489 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.5818, allocations: 95.91 kB / 489.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.5848, allocations: 1.413 MB / 490.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.5849, allocations: 8 kB / 490.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.585, allocations: 43.94 kB / 490.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.5852, allocations: 57.98 kB / 490.6 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.5875, allocations: 1.015 MB / 491.6 MB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008838/0.5964, allocations: 4.79 MB / 496.4 MB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.5984, allocations: 0.8909 MB / 497.3 MB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.5996, allocations: 490.5 kB / 497.8 MB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.5997, allocations: 20.55 kB / 497.8 MB, free: 6.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.6009, allocations: 0.6287 MB / 498.4 MB, free: 5.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.331e-06/0.601, allocations: 3.938 kB / 498.4 MB, free: 5.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.005381/0.6063, allocations: 2.376 MB / 0.4891 GB, free: 3.172 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6065, allocations: 123.4 kB / 0.4892 GB, free: 3.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.6074, allocations: 0.5087 MB / 0.4897 GB, free: 2.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6075, allocations: 49.69 kB / 0.4897 GB, free: 2.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.608, allocations: 490.9 kB / 0.4902 GB, free: 1.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.6083, allocations: 280.1 kB / 0.4905 GB, free: 1.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.6084, allocations: 19.98 kB / 0.4905 GB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.6086, allocations: 362.8 kB / 0.4908 GB, free: 1.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6096, allocations: 0.4903 MB / 0.4913 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.6109, allocations: 0.7525 MB / 0.492 GB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.6122, allocations: 0.6386 MB / 0.4927 GB, free: 15.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.6122, allocations: 4 kB / 0.4927 GB, free: 15.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003356/0.6156, allocations: 1.546 MB / 0.4942 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.6157, allocations: 65.67 kB / 0.4942 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002753/0.6185, allocations: 1.366 MB / 0.4956 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004835/0.619, allocations: 97.64 kB / 0.4957 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.62, allocations: 199.6 kB / 0.4959 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.6234, allocations: 2.98 MB / 0.4988 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009911/0.6244, allocations: 71.84 kB / 0.4988 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.6246, allocations: 68.03 kB / 0.4989 GB, free: 8.582 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.0003494/0.625, allocations: 200.9 kB / 0.4991 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.6252, allocations: 75.06 kB / 0.4992 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6276, allocations: 1.096 MB / 0.5002 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.6277, allocations: 23.98 kB / 0.5003 GB, free: 7.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.6277, allocations: 4 kB / 0.5003 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6277, allocations: 3.984 kB / 0.5003 GB, free: 7.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.6325, allocations: 2.281 MB / 0.5025 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.182e-06/0.6326, allocations: 0 / 0.5025 GB, free: 4.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.6336, allocations: 147.8 kB / 0.5026 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.6337, allocations: 24.84 kB / 0.5027 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6338, allocations: 32.06 kB / 0.5027 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.6352, allocations: 1.389 MB / 0.504 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.852e-06/0.6352, allocations: 0 / 0.504 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.6386, allocations: 1.739 MB / 0.5057 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.6392, allocations: 244 kB / 0.506 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.6395, allocations: 84 kB / 0.5061 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/0.6405, allocations: 107.8 kB / 0.5062 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.6407, allocations: 56.7 kB / 0.5062 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/0.6408, allocations: 27.97 kB / 0.5062 GB, free: 0.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006703/0.6415, allocations: 393.5 kB / 0.5066 GB, free: 328 kB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.6415, allocations: 0 / 0.5066 GB, free: 328 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6428, allocations: 252 kB / 0.5069 GB, free: 76 kB / 442.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.0004369/0.6432, allocations: 202.9 kB / 0.5071 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.6462, allocations: 1.548 MB / 0.5086 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.871e-06/0.6462, allocations: 4.562 kB / 0.5086 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.6473, allocations: 0.5754 MB / 0.5091 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009777/0.6483, allocations: 147.4 kB / 0.5093 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.6526, allocations: 1.974 MB / 0.5112 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6537, allocations: 1.126 MB / 0.5123 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.6541, allocations: 71.42 kB / 0.5124 GB, free: 10.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.55e-06/0.6541, allocations: 0 / 0.5124 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Templates: time 0.2675/0.9216, allocations: 16.9 MB / 0.5289 GB, free: 128.8 MB / 458.7 MB