Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.386/2.386, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.534e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09289, allocations: 53.24 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4811, allocations: 107.7 MB / 463.2 MB, free: 10 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.4814, allocations: 87.95 kB / 463.2 MB, free: 9.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.603, allocations: 28.1 MB / 491.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.697e-06/0.6031, allocations: 0.5625 kB / 491.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.3e-05/0.6032, allocations: 20 kB / 491.4 MB, free: 13.54 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005979/0.6092, allocations: 1.641 MB / 493 MB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6093, allocations: 16.03 kB / 493 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.6105, allocations: 158.6 kB / 493.2 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.6171, allocations: 1.641 MB / 494.8 MB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009554/0.6181, allocations: 0.5191 MB / 495.3 MB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/0.6185, allocations: 95.97 kB / 495.4 MB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.6227, allocations: 1.759 MB / 497.2 MB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.6228, allocations: 0 / 497.2 MB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.623, allocations: 35.98 kB / 497.2 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.6233, allocations: 81.95 kB / 497.3 MB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.6275, allocations: 1.796 MB / 499.1 MB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.6412, allocations: 5.764 MB / 0.493 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.6445, allocations: 1.275 MB / 0.4943 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.6467, allocations: 0.9651 MB / 0.4952 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.6469, allocations: 16.98 kB / 0.4952 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002519/0.6494, allocations: 1.155 MB / 0.4964 GB, free: 12.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 5.536e-06/0.6495, allocations: 0 / 0.4964 GB, free: 12.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.009455/0.6589, allocations: 3.831 MB / 0.5001 GB, free: 8.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.6591, allocations: 102.1 kB / 0.5002 GB, free: 8.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008518/0.6599, allocations: 435.8 kB / 0.5006 GB, free: 7.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000372/0.6603, allocations: 57.69 kB / 0.5007 GB, free: 7.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.6608, allocations: 360.8 kB / 0.501 GB, free: 7.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/0.6615, allocations: 421.9 kB / 0.5014 GB, free: 6.934 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.6616, allocations: 24 kB / 0.5014 GB, free: 6.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.6619, allocations: 394.7 kB / 0.5018 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.664, allocations: 0.9021 MB / 0.5027 GB, free: 5.613 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.6663, allocations: 1.037 MB / 0.5037 GB, free: 4.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.6685, allocations: 0.9432 MB / 0.5046 GB, free: 3.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6686, allocations: 4 kB / 0.5046 GB, free: 3.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01251/0.6811, allocations: 3.804 MB / 0.5084 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.6812, allocations: 61.67 kB / 0.5084 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6813, allocations: 0 / 0.5084 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.6875, allocations: 1.676 MB / 0.51 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.6886, allocations: 163.8 kB / 0.5102 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/0.7141, allocations: 10.89 MB / 0.5208 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.716, allocations: 199.9 kB / 0.521 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/0.7164, allocations: 71.88 kB / 0.5211 GB, free: 2.402 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.7169, allocations: 193.1 kB / 0.5213 GB, free: 2.207 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.7172, allocations: 79.06 kB / 0.5214 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.722, allocations: 2.017 MB / 0.5233 GB, free: 88 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/0.7221, allocations: 32 kB / 0.5234 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7222, allocations: 0 / 0.5234 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.7222, allocations: 7.969 kB / 0.5234 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2783/1, allocations: 3.74 MB / 0.527 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/1.001, allocations: 4.906 kB / 0.527 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02737/1.028, allocations: 2.825 MB / 0.5298 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/1.028, allocations: 37.78 kB / 0.5298 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004915/1.029, allocations: 38.5 kB / 0.5299 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.031, allocations: 1.474 MB / 0.5313 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.654e-06/1.031, allocations: 3.188 kB / 0.5313 GB, free: 128.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.043, allocations: 3.427 MB / 0.5346 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.045, allocations: 341.9 kB / 0.535 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007127/1.045, allocations: 86.81 kB / 0.535 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/1.05, allocations: 243.4 kB / 0.5353 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/1.051, allocations: 196.7 kB / 0.5355 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005145/1.052, allocations: 38.7 kB / 0.5355 GB, free: 128.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001076/1.053, allocations: 340.8 kB / 0.5358 GB, free: 128 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.64e-06/1.053, allocations: 0 / 0.5358 GB, free: 128 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003485/1.056, allocations: 376.9 kB / 0.5362 GB, free: 128 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/1.058, allocations: 240.8 kB / 0.5364 GB, free: 128 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009189/1.067, allocations: 2.689 MB / 0.539 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.234e-06/1.067, allocations: 0 / 0.539 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006847/1.074, allocations: 2.089 MB / 0.5411 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.076, allocations: 151.7 kB / 0.5412 GB, free: 127.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/1.083, allocations: 2.921 MB / 0.5441 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008912/1.084, allocations: 1.166 MB / 0.5452 GB, free: 126 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001531/1.086, allocations: 314.3 kB / 0.5455 GB, free: 126 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/1.086, allocations: 65.88 kB / 0.5456 GB, free: 125.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.963e-06/1.086, allocations: 0 / 0.5456 GB, free: 125.9 MB / 458.7 MB Notification: Performance of Templates: time 0.04283/1.129, allocations: 22.29 MB / 0.5674 GB, free: 124.3 MB / 458.7 MB