Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.359/2.359, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.473e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09237, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.481, allocations: 105 MB / 460.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4813, allocations: 91.89 kB / 460.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/0.6033, allocations: 23.26 MB / 483.8 MB, free: 5.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.779e-06/0.6034, allocations: 0 / 483.8 MB, free: 5.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.6035, allocations: 24 kB / 483.8 MB, free: 5.184 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.006581/0.6101, allocations: 1.17 MB / 485 MB, free: 3.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.6102, allocations: 8.031 kB / 485 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.6126, allocations: 150.8 kB / 485.1 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/0.622, allocations: 1.253 MB / 486.4 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006549/0.6227, allocations: 175.1 kB / 486.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/0.6233, allocations: 83.98 kB / 486.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.6294, allocations: 1.263 MB / 487.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-05/0.6295, allocations: 3.938 kB / 487.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.6299, allocations: 36 kB / 487.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/0.6302, allocations: 57.94 kB / 488 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.6364, allocations: 1.117 MB / 489.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.6485, allocations: 4.952 MB / 494 MB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.6507, allocations: 0.9511 MB / 495 MB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.6521, allocations: 0.5699 MB / 495.6 MB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/0.6522, allocations: 8.547 kB / 495.6 MB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.6522, allocations: 47.06 kB / 495.6 MB, free: 8.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 4.351e-06/0.6523, allocations: 0 / 495.6 MB, free: 8.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.00552/0.6578, allocations: 2.382 MB / 498 MB, free: 6.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.6579, allocations: 85.67 kB / 498.1 MB, free: 6.398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.6586, allocations: 407.7 kB / 498.5 MB, free: 5.992 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/0.6587, allocations: 37.69 kB / 498.5 MB, free: 5.949 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.6591, allocations: 391.4 kB / 498.9 MB, free: 5.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.6594, allocations: 268.2 kB / 499.2 MB, free: 5.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.6595, allocations: 12 kB / 499.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.6598, allocations: 378.7 kB / 499.5 MB, free: 4.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009658/0.6608, allocations: 449.6 kB / 500 MB, free: 4.465 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.6619, allocations: 0.6224 MB / 0.4889 GB, free: 3.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.6631, allocations: 0.5133 MB / 0.4894 GB, free: 3.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.584e-06/0.6631, allocations: 3.938 kB / 0.4894 GB, free: 3.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00515/0.6683, allocations: 1.863 MB / 0.4912 GB, free: 1.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6683, allocations: 4 kB / 0.4912 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004442/0.6728, allocations: 1.618 MB / 0.4928 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.6746, allocations: 0.539 MB / 0.4933 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.6755, allocations: 151.7 kB / 0.4935 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.6869, allocations: 6.205 MB / 0.4995 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/0.6879, allocations: 84.08 kB / 0.4996 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6881, allocations: 35.98 kB / 0.4996 GB, free: 8.422 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.0002683/0.6883, allocations: 148.8 kB / 0.4998 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.6886, allocations: 63.25 kB / 0.4998 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.6912, allocations: 1.163 MB / 0.501 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/0.6912, allocations: 23.97 kB / 0.501 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6913, allocations: 4 kB / 0.501 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.6913, allocations: 7.922 kB / 0.501 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.6964, allocations: 2.318 MB / 0.5033 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6964, allocations: 4 kB / 0.5033 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003665/0.7001, allocations: 0.6322 MB / 0.5039 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.7003, allocations: 32.84 kB / 0.5039 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.7004, allocations: 12 kB / 0.5039 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.7018, allocations: 1.39 MB / 0.5053 GB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7018, allocations: 0 / 0.5053 GB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.7056, allocations: 1.888 MB / 0.5071 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.7059, allocations: 140.3 kB / 0.5073 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.7061, allocations: 12 kB / 0.5073 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/0.7068, allocations: 79.91 kB / 0.5073 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.7071, allocations: 64.42 kB / 0.5074 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/0.7072, allocations: 19.98 kB / 0.5074 GB, free: 80 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005507/0.7077, allocations: 313.7 kB / 0.5077 GB, free: 15.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.7077, allocations: 4 kB / 0.5077 GB, free: 15.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001297/0.7091, allocations: 243.9 kB / 0.508 GB, free: 15.53 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.0003504/0.7094, allocations: 162.9 kB / 0.5081 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.7126, allocations: 1.408 MB / 0.5095 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7126, allocations: 0.5625 kB / 0.5095 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.716, allocations: 1.07 MB / 0.5105 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.717, allocations: 146.5 kB / 0.5107 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.7216, allocations: 1.909 MB / 0.5125 GB, free: 10.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.7226, allocations: 1.099 MB / 0.5136 GB, free: 9.637 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000924/0.7236, allocations: 213.6 kB / 0.5138 GB, free: 9.426 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.7239, allocations: 51.42 kB / 0.5139 GB, free: 9.375 MB / 458.7 MB Notification: Performance of SimCode: time 1.987e-06/0.7239, allocations: 0 / 0.5139 GB, free: 9.375 MB / 458.7 MB Notification: Performance of Templates: time 0.2698/0.9938, allocations: 12.16 MB / 0.5257 GB, free: 133.3 MB / 458.7 MB