Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadModel(PowerSystems): time 2.181/2.181, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.424e-05, allocations: 7.938 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09217, allocations: 53.24 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/0.5133, allocations: 97.04 MB / 452.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004781/0.5139, allocations: 91.94 kB / 452.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08242/0.5963, allocations: 14.28 MB / 466.8 MB, free: 6.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.76e-06/0.5964, allocations: 4.219 kB / 466.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.21e-05/0.5964, allocations: 19.94 kB / 466.9 MB, free: 6.195 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002027/0.5985, allocations: 0.9521 MB / 467.8 MB, free: 5.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.5985, allocations: 11.97 kB / 467.8 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.5988, allocations: 86.97 kB / 467.9 MB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.6032, allocations: 1.181 MB / 469.1 MB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.6034, allocations: 109.4 kB / 469.2 MB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.6036, allocations: 71.94 kB / 469.3 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.6053, allocations: 0.8021 MB / 470.1 MB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6054, allocations: 0 / 470.1 MB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.6055, allocations: 28 kB / 470.1 MB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.6055, allocations: 20 kB / 470.1 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.6068, allocations: 0.5431 MB / 470.7 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.6121, allocations: 2.759 MB / 473.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.6136, allocations: 0.8031 MB / 474.2 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.6142, allocations: 242.3 kB / 474.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.6142, allocations: 8.266 kB / 474.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006017/0.6148, allocations: 294.6 kB / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.571e-06/0.6149, allocations: 0 / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.003023/0.6179, allocations: 1.372 MB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.618, allocations: 122.9 kB / 476.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.6188, allocations: 448.6 kB / 476.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.6189, allocations: 41.7 kB / 476.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.6192, allocations: 355.8 kB / 477.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.6194, allocations: 138.1 kB / 477.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.6195, allocations: 12 kB / 477.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.6197, allocations: 370.8 kB / 477.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.6202, allocations: 197.3 kB / 477.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.6208, allocations: 365.9 kB / 478.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.6214, allocations: 291.2 kB / 478.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.526e-06/0.6214, allocations: 0 / 478.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001672/0.6231, allocations: 0.8081 MB / 479.2 MB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.6232, allocations: 50.62 kB / 479.3 MB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6232, allocations: 8 kB / 479.3 MB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.6235, allocations: 65.69 kB / 479.4 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.6241, allocations: 112.2 kB / 479.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.6271, allocations: 2.837 MB / 482.3 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.6277, allocations: 40.03 kB / 482.3 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6278, allocations: 43.98 kB / 482.4 MB, free: 5.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.628, allocations: 152.7 kB / 482.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6281, allocations: 51.34 kB / 482.6 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6295, allocations: 0.5951 MB / 483.2 MB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6295, allocations: 8.75 kB / 483.2 MB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6295, allocations: 3.953 kB / 483.2 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6295, allocations: 3.984 kB / 483.2 MB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.6323, allocations: 1.433 MB / 484.6 MB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.912e-06/0.6323, allocations: 0 / 484.6 MB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.6327, allocations: 71.83 kB / 484.7 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.633, allocations: 65.58 kB / 484.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.6331, allocations: 16.05 kB / 484.8 MB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.636, allocations: 2.83 MB / 487.6 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.68e-06/0.636, allocations: 4.156 kB / 487.6 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.6378, allocations: 0.9431 MB / 488.6 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.6382, allocations: 172.3 kB / 488.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.6383, allocations: 27.98 kB / 488.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.6389, allocations: 51.94 kB / 488.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.639, allocations: 35.91 kB / 488.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.6391, allocations: 8 kB / 488.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005759/0.6397, allocations: 353.5 kB / 489.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.6397, allocations: 0 / 489.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00092/0.6406, allocations: 152 kB / 489.3 MB, free: 14.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002456/0.6409, allocations: 142.5 kB / 489.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.6424, allocations: 0.8087 MB / 490.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6424, allocations: 0 / 490.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008157/0.6433, allocations: 444.8 kB / 490.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.6441, allocations: 133.9 kB / 490.8 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.6466, allocations: 1.114 MB / 492 MB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/0.6475, allocations: 0.9952 MB / 493 MB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.648, allocations: 104.9 kB / 493.1 MB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.6481, allocations: 43.44 kB / 493.1 MB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.81e-06/0.6482, allocations: 0 / 493.1 MB, free: 10.43 MB / 426.7 MB Notification: Performance of Templates: time 0.0186/0.6668, allocations: 6.684 MB / 499.8 MB, free: 3.789 MB / 426.7 MB