Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadModel(PowerSystems): time 2.229/2.229, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.352e-05, allocations: 7.938 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.09327, allocations: 53.23 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5088, allocations: 97.04 MB / 452.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5092, allocations: 83.95 kB / 452.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05924/0.5684, allocations: 14.28 MB / 466.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.883e-06/0.5685, allocations: 0 / 466.8 MB, free: 6.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.864e-05/0.5686, allocations: 20.16 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.00225/0.5708, allocations: 0.9559 MB / 467.8 MB, free: 5.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5709, allocations: 8.031 kB / 467.8 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.5712, allocations: 86.97 kB / 467.9 MB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/0.5757, allocations: 1.177 MB / 469.1 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.5759, allocations: 113.4 kB / 469.2 MB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.5761, allocations: 67.95 kB / 469.3 MB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.5779, allocations: 0.8099 MB / 470.1 MB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.578, allocations: 0 / 470.1 MB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.5781, allocations: 28 kB / 470.1 MB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.5782, allocations: 16 kB / 470.1 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.5796, allocations: 0.5418 MB / 470.7 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005527/0.5851, allocations: 2.756 MB / 473.4 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5867, allocations: 0.807 MB / 474.2 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.5873, allocations: 245.1 kB / 474.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.5874, allocations: 8.266 kB / 474.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006194/0.588, allocations: 294.5 kB / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.88e-06/0.588, allocations: 1.969 kB / 474.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.003299/0.5913, allocations: 1.376 MB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.5915, allocations: 110.8 kB / 476.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.5923, allocations: 456.6 kB / 476.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.5924, allocations: 37.77 kB / 476.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.5928, allocations: 359.8 kB / 477.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.593, allocations: 142.1 kB / 477.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.593, allocations: 12 kB / 477.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.5933, allocations: 370.8 kB / 477.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.5938, allocations: 197.3 kB / 477.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.5944, allocations: 361.9 kB / 478.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.595, allocations: 287.2 kB / 478.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.135e-06/0.595, allocations: 0 / 478.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001757/0.5968, allocations: 0.8161 MB / 479.2 MB, free: 9.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.5969, allocations: 49.69 kB / 479.3 MB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.597, allocations: 4 kB / 479.3 MB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.5973, allocations: 73.69 kB / 479.4 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.598, allocations: 107.8 kB / 479.5 MB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.6012, allocations: 2.837 MB / 482.3 MB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009605/0.6022, allocations: 31.89 kB / 482.3 MB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.6024, allocations: 52.08 kB / 482.4 MB, free: 5.766 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.0002825/0.6027, allocations: 145.3 kB / 482.5 MB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6029, allocations: 63.33 kB / 482.6 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.6043, allocations: 0.5912 MB / 483.2 MB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.873e-06/0.6043, allocations: 8 kB / 483.2 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6043, allocations: 7.953 kB / 483.2 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.544e-06/0.6044, allocations: 0 / 483.2 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.6074, allocations: 1.434 MB / 484.6 MB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.6074, allocations: 4 kB / 484.6 MB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.6079, allocations: 55.91 kB / 484.7 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.6082, allocations: 73.56 kB / 484.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.6083, allocations: 19.92 kB / 484.8 MB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.6113, allocations: 2.837 MB / 487.6 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.935e-06/0.6114, allocations: 0 / 487.6 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.6133, allocations: 0.9393 MB / 488.6 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.6137, allocations: 173.2 kB / 488.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6139, allocations: 31.98 kB / 488.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.6144, allocations: 43.94 kB / 488.8 MB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.6145, allocations: 31.92 kB / 488.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.6146, allocations: 15.98 kB / 488.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006144/0.6152, allocations: 357.5 kB / 489.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.229e-06/0.6152, allocations: 0 / 489.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009721/0.6162, allocations: 148 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.00027/0.6165, allocations: 139.1 kB / 489.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.6182, allocations: 0.8073 MB / 490.3 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.483e-06/0.6183, allocations: 4 kB / 490.3 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.6191, allocations: 435.3 kB / 490.7 MB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.6201, allocations: 140.9 kB / 490.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.6228, allocations: 1.118 MB / 492 MB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.6237, allocations: 0.9952 MB / 493 MB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005329/0.6242, allocations: 101 kB / 493.1 MB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6244, allocations: 51.36 kB / 493.1 MB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.892e-06/0.6244, allocations: 0 / 493.1 MB, free: 10.43 MB / 426.7 MB Notification: Performance of Templates: time 0.0197/0.6441, allocations: 6.681 MB / 499.8 MB, free: 3.785 MB / 426.7 MB