Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.298/2.298, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.57e-05, allocations: 4 kB / 302.2 MB, free: 7.684 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.0973, allocations: 53.23 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.4871, allocations: 107.7 MB / 463.2 MB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4874, allocations: 91.95 kB / 463.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1202/0.6076, allocations: 28.1 MB / 491.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6077, allocations: 0 / 491.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.051e-05/0.6078, allocations: 21.41 kB / 491.4 MB, free: 13.66 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.005534/0.6133, allocations: 1.637 MB / 493 MB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6134, allocations: 8.031 kB / 493 MB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6146, allocations: 162.6 kB / 493.2 MB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00677/0.6214, allocations: 1.649 MB / 494.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.6225, allocations: 0.5179 MB / 495.3 MB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005001/0.623, allocations: 88 kB / 495.4 MB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.6275, allocations: 1.755 MB / 497.2 MB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.6275, allocations: 7.938 kB / 497.2 MB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.6278, allocations: 32 kB / 497.2 MB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.628, allocations: 81.95 kB / 497.3 MB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.6329, allocations: 1.796 MB / 499.1 MB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.6574, allocations: 5.767 MB / 0.493 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006016/0.6634, allocations: 1.279 MB / 0.4943 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.6657, allocations: 0.9651 MB / 0.4952 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.6659, allocations: 18.2 kB / 0.4952 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002524/0.6684, allocations: 1.151 MB / 0.4964 GB, free: 12.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 4.9e-06/0.6685, allocations: 8 kB / 0.4964 GB, free: 12.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.009313/0.6778, allocations: 3.818 MB / 0.5001 GB, free: 8.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.6779, allocations: 106.1 kB / 0.5002 GB, free: 8.336 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.6787, allocations: 439.8 kB / 0.5006 GB, free: 7.902 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.679, allocations: 53.7 kB / 0.5007 GB, free: 7.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6794, allocations: 368.7 kB / 0.501 GB, free: 7.477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.6801, allocations: 421.9 kB / 0.5014 GB, free: 7.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.6802, allocations: 20 kB / 0.5014 GB, free: 7.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002878/0.6805, allocations: 394.7 kB / 0.5018 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.6825, allocations: 0.8968 MB / 0.5027 GB, free: 5.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.6848, allocations: 1.041 MB / 0.5037 GB, free: 4.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.6869, allocations: 0.9471 MB / 0.5046 GB, free: 3.715 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.228e-06/0.6869, allocations: 0 / 0.5046 GB, free: 3.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01229/0.6992, allocations: 3.797 MB / 0.5083 GB, free: 15.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.6994, allocations: 65.67 kB / 0.5084 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.6994, allocations: 15.88 kB / 0.5084 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/0.7057, allocations: 1.672 MB / 0.5101 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.7069, allocations: 167.8 kB / 0.5102 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/0.7326, allocations: 10.88 MB / 0.5208 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.7344, allocations: 199.9 kB / 0.521 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.7348, allocations: 63.95 kB / 0.5211 GB, free: 2.535 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.0004787/0.7353, allocations: 195.8 kB / 0.5213 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.7356, allocations: 79.05 kB / 0.5214 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.7404, allocations: 2.017 MB / 0.5233 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.237e-05/0.7405, allocations: 31.98 kB / 0.5234 GB, free: 192 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7406, allocations: 4 kB / 0.5234 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.7406, allocations: 7.984 kB / 0.5234 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2622/1.003, allocations: 3.738 MB / 0.527 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.003, allocations: 3.172 kB / 0.527 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01475/1.018, allocations: 2.822 MB / 0.5298 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/1.018, allocations: 47.38 kB / 0.5298 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/1.018, allocations: 38.92 kB / 0.5299 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/1.019, allocations: 1.465 MB / 0.5313 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-06/1.019, allocations: 4.219 kB / 0.5313 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.026, allocations: 3.428 MB / 0.5346 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.028, allocations: 340.2 kB / 0.535 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/1.028, allocations: 89.59 kB / 0.535 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/1.03, allocations: 242.5 kB / 0.5353 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/1.031, allocations: 195.9 kB / 0.5355 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.031, allocations: 44.7 kB / 0.5355 GB, free: 128.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005695/1.031, allocations: 338.9 kB / 0.5358 GB, free: 128.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-07/1.031, allocations: 0 / 0.5358 GB, free: 128.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001805/1.033, allocations: 381.8 kB / 0.5362 GB, free: 128.1 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.000552/1.034, allocations: 239.8 kB / 0.5364 GB, free: 128 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006223/1.04, allocations: 2.688 MB / 0.5391 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.366e-06/1.04, allocations: 0 / 0.5391 GB, free: 127.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0073/1.047, allocations: 2.089 MB / 0.5411 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.049, allocations: 150.4 kB / 0.5412 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/1.056, allocations: 2.919 MB / 0.5441 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/1.057, allocations: 1.169 MB / 0.5452 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001637/1.059, allocations: 308.5 kB / 0.5455 GB, free: 126.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/1.06, allocations: 70.23 kB / 0.5456 GB, free: 126 MB / 458.7 MB Notification: Performance of SimCode: time 1.654e-06/1.06, allocations: 1.219 kB / 0.5456 GB, free: 126 MB / 458.7 MB Notification: Performance of Templates: time 0.04471/1.104, allocations: 22.29 MB / 0.5674 GB, free: 124.4 MB / 458.7 MB