Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadModel(PowerSystems): time 2.412/2.412, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.306e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.09976, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.548, allocations: 95.1 MB / 450.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5483, allocations: 91.95 kB / 450.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06604/0.6144, allocations: 14.88 MB / 465.5 MB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.74e-06/0.6144, allocations: 0 / 465.5 MB, free: 7.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.49e-05/0.6145, allocations: 12 kB / 465.5 MB, free: 7.492 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003548/0.6181, allocations: 0.9597 MB / 466.5 MB, free: 6.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.6182, allocations: 8.031 kB / 466.5 MB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004736/0.6187, allocations: 91.47 kB / 466.6 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006574/0.6253, allocations: 1.076 MB / 467.7 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.6255, allocations: 57.27 kB / 467.7 MB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.6258, allocations: 67.98 kB / 467.8 MB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.6289, allocations: 0.7865 MB / 468.6 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/0.629, allocations: 12.48 kB / 468.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.6292, allocations: 32 kB / 468.6 MB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.6293, allocations: 12 kB / 468.6 MB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.6319, allocations: 0.5725 MB / 469.2 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009826/0.6417, allocations: 2.966 MB / 472.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.6441, allocations: 0.5764 MB / 472.7 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.6456, allocations: 395.1 kB / 473.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.6457, allocations: 12.5 kB / 473.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.6479, allocations: 0.608 MB / 473.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 6.834e-06/0.6479, allocations: 0 / 473.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.008071/0.656, allocations: 2.016 MB / 475.8 MB, free: 12.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002312/0.6563, allocations: 204.7 kB / 476 MB, free: 12.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.6576, allocations: 423.8 kB / 476.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.6578, allocations: 53.7 kB / 476.4 MB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.6584, allocations: 336.2 kB / 476.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.6589, allocations: 236.9 kB / 477 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.659, allocations: 16 kB / 477 MB, free: 11.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003616/0.6594, allocations: 390.8 kB / 477.4 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.6608, allocations: 305.9 kB / 477.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.6624, allocations: 488.1 kB / 478.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.664, allocations: 385.6 kB / 478.5 MB, free: 9.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.6641, allocations: 4 kB / 478.5 MB, free: 9.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004566/0.6687, allocations: 1.039 MB / 479.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.6688, allocations: 59.41 kB / 479.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.6689, allocations: 4 kB / 479.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.67, allocations: 141.9 kB / 479.8 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.6723, allocations: 211.7 kB / 480 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.6789, allocations: 3.045 MB / 483 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.6803, allocations: 51.91 kB / 483.1 MB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.6805, allocations: 36 kB / 483.1 MB, free: 5.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 64 (system.initime,$PRE.fault_Ab.fault_pp.t0,fault_Ab.fault_pp.t0,$PRE.fault_Ab.fault_pg.t0,fault_Ab.fault_pg.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.switch1.switch_1.arc,switch1.switch_1.arc,$PRE.switch1.switch_1.open,switch1.switch_1.open,switch1.switch_1.closed,$PRE.switch1.switch_2.arc,switch1.switch_2.arc,$PRE.switch1.switch_2.open,switch1.switch_2.open,switch1.switch_2.closed,$PRE.switch2.switch_1.arc,switch2.switch_1.arc,$PRE.switch2.switch_1.open,switch2.switch_1.open,switch2.switch_1.closed,$PRE.switch2.switch_2.arc,switch2.switch_2.arc,$PRE.switch2.switch_2.open,switch2.switch_2.open,switch2.switch_2.closed,$PRE.fault_Ab.t_zero,fault_Ab.t_zero,$PRE.fault_Ab.v_pos,fault_Ab.v_pos,$PRE.fault_Ab.first,fault_Ab.first,$PRE.fault_Ab.fault_pp.on,fault_Ab.fault_pp.on,$PRE.fault_Ab.fault_pg.on,fault_Ab.fault_pg.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * 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.0005814/0.6811, allocations: 253.4 kB / 483.4 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.6814, allocations: 71.16 kB / 483.4 MB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.6856, allocations: 0.9745 MB / 484.4 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.6856, allocations: 8 kB / 484.4 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.6857, allocations: 0 / 484.4 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.6857, allocations: 7.984 kB / 484.4 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.6931, allocations: 1.881 MB / 486.3 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6931, allocations: 0 / 486.3 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/0.695, allocations: 159.8 kB / 486.5 MB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.6964, allocations: 141.5 kB / 486.6 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.6966, allocations: 23.98 kB / 486.6 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/0.7028, allocations: 3.045 MB / 489.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.756e-06/0.7029, allocations: 0 / 489.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.7086, allocations: 1.513 MB / 491.2 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/0.7094, allocations: 212.2 kB / 491.4 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.7097, allocations: 31.98 kB / 491.4 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.7107, allocations: 37.38 kB / 491.5 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/0.7111, allocations: 88.64 kB / 491.5 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.7112, allocations: 27.98 kB / 491.6 MB, free: 12.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008573/0.7121, allocations: 333.5 kB / 491.9 MB, free: 11.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-06/0.7121, allocations: 0 / 491.9 MB, free: 11.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/0.7135, allocations: 212 kB / 492.1 MB, free: 11.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (line.i1[1],line.i1[2],line.i2[1],line.i2[2]) * Number of discrete variables: 43 (switch1.switch_2.closed,switch1.switch_1.closed,switch2.switch_1.closed,switch2.switch_2.closed,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,relay1.y[1],relay1.y[2],relay1.cnt,relay2.y[1],relay2.y[2],relay2.cnt,switch1.switch_1.arc,switch1.switch_1.open,switch1.switch_2.arc,switch1.switch_2.open,switch2.switch_1.arc,switch2.switch_1.open,switch2.switch_2.arc,switch2.switch_2.open,fault_Ab.t_zero,fault_Ab.v_pos,fault_Ab.first,fault_Ab.fault_pp.on,fault_Ab.fault_pp.t0,fault_Ab.fault_pg.on,fault_Ab.fault_pg.t0,system.initime) * Number of discrete states: 17 (fault_Ab.t_zero,fault_Ab.fault_pp.on,fault_Ab.fault_pg.on,fault_Ab.v_pos,fault_Ab.first,relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_2.open,switch2.switch_1.open,relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_1.open,switch1.switch_2.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 9 * 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.0003698/0.7139, allocations: 182.2 kB / 492.3 MB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.7167, allocations: 1.16 MB / 493.4 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.483e-06/0.7167, allocations: 0 / 493.4 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.7189, allocations: 0.8215 MB / 494.3 MB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.7206, allocations: 130.6 kB / 494.4 MB, free: 9.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/0.7274, allocations: 1.432 MB / 495.8 MB, free: 7.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.7287, allocations: 1.013 MB / 496.8 MB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001248/0.73, allocations: 150.1 kB / 497 MB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.7305, allocations: 59.42 kB / 497 MB, free: 6.477 MB / 426.7 MB Notification: Performance of SimCode: time 2.338e-06/0.7305, allocations: 0 / 497 MB, free: 6.477 MB / 426.7 MB Notification: Performance of Templates: time 0.02624/0.7568, allocations: 9.116 MB / 0.4943 GB, free: 13.39 MB / 442.7 MB