Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.298/2.298, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.684e-05, allocations: 4 kB / 302.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 53.23 MB / 355.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5096, allocations: 105 MB / 460.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.51, allocations: 83.95 kB / 460.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09773/0.6077, allocations: 23.26 MB / 483.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6078, allocations: 0 / 483.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/0.6078, allocations: 24 kB / 483.8 MB, free: 5.324 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003092/0.6109, allocations: 1.162 MB / 484.9 MB, free: 4.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.611, allocations: 15.97 kB / 485 MB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.612, allocations: 159 kB / 485.1 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/0.6166, allocations: 1.246 MB / 486.4 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.617, allocations: 179 kB / 486.5 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.6173, allocations: 84 kB / 486.6 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.6201, allocations: 1.263 MB / 487.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6202, allocations: 0 / 487.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.6204, allocations: 32 kB / 487.9 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.6205, allocations: 61.95 kB / 488 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.6232, allocations: 1.124 MB / 489.1 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.6334, allocations: 4.948 MB / 494 MB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.6355, allocations: 0.952 MB / 495 MB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.6368, allocations: 0.5737 MB / 495.6 MB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.6369, allocations: 12.48 kB / 495.6 MB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.6369, allocations: 43.11 kB / 495.6 MB, free: 9.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 4.816e-06/0.6369, allocations: 0 / 495.6 MB, free: 9.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.0057/0.6426, allocations: 2.382 MB / 498 MB, free: 6.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.6428, allocations: 85.67 kB / 498.1 MB, free: 6.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.6435, allocations: 403.8 kB / 498.5 MB, free: 6.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.6436, allocations: 33.7 kB / 498.5 MB, free: 6.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.644, allocations: 399.3 kB / 498.9 MB, free: 5.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.6443, allocations: 260.2 kB / 499.2 MB, free: 5.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.6444, allocations: 12 kB / 499.2 MB, free: 5.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.6446, allocations: 386.8 kB / 499.6 MB, free: 5.035 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.6457, allocations: 445.6 kB / 500 MB, free: 4.602 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.6468, allocations: 0.6224 MB / 0.4889 GB, free: 3.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6479, allocations: 0.5094 MB / 0.4894 GB, free: 3.395 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-06/0.6479, allocations: 0 / 0.4894 GB, free: 3.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.005071/0.653, allocations: 1.867 MB / 0.4912 GB, free: 1.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6531, allocations: 4 kB / 0.4912 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004318/0.6574, allocations: 1.621 MB / 0.4928 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/0.6592, allocations: 0.543 MB / 0.4933 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.6601, allocations: 148.3 kB / 0.4935 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.6715, allocations: 6.208 MB / 0.4995 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.6725, allocations: 88.06 kB / 0.4996 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6727, allocations: 33.31 kB / 0.4996 GB, free: 8.555 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * 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%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.6729, allocations: 140.8 kB / 0.4998 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.6732, allocations: 63.25 kB / 0.4998 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.6758, allocations: 1.175 MB / 0.501 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/0.6758, allocations: 16 kB / 0.501 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.79e-06/0.6759, allocations: 4 kB / 0.501 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.6759, allocations: 3.984 kB / 0.501 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.681, allocations: 2.314 MB / 0.5033 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.6811, allocations: 4 kB / 0.5033 GB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/0.6847, allocations: 0.6322 MB / 0.5039 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.6848, allocations: 24.86 kB / 0.5039 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.685, allocations: 19.98 kB / 0.5039 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.6865, allocations: 1.385 MB / 0.5053 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.518e-06/0.6865, allocations: 3.938 kB / 0.5053 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.6903, allocations: 1.899 MB / 0.5071 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.6906, allocations: 132.4 kB / 0.5073 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.6908, allocations: 15.98 kB / 0.5073 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.6915, allocations: 75.92 kB / 0.5073 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.6918, allocations: 68.41 kB / 0.5074 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.6919, allocations: 19.94 kB / 0.5074 GB, free: 220 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005446/0.6924, allocations: 313.6 kB / 0.5077 GB, free: 15.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.6925, allocations: 0 / 0.5077 GB, free: 15.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001388/0.6938, allocations: 255.9 kB / 0.508 GB, free: 15.66 MB / 458.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003787/0.6942, allocations: 159.7 kB / 0.5081 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.6974, allocations: 1.408 MB / 0.5095 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6975, allocations: 4 kB / 0.5095 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003241/0.7007, allocations: 1.062 MB / 0.5105 GB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.7017, allocations: 140.9 kB / 0.5107 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.7064, allocations: 1.931 MB / 0.5126 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.7074, allocations: 1.087 MB / 0.5136 GB, free: 9.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009102/0.7084, allocations: 209.5 kB / 0.5138 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.7087, allocations: 55.42 kB / 0.5139 GB, free: 9.504 MB / 458.7 MB Notification: Performance of SimCode: time 1.712e-06/0.7087, allocations: 0 / 0.5139 GB, free: 9.504 MB / 458.7 MB Notification: Performance of Templates: time 0.329/1.038, allocations: 12.15 MB / 0.5257 GB, free: 133.9 MB / 458.7 MB