Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadModel(PowerSystems): time 2.45/2.45, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.154e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09275, allocations: 53.24 MB / 355.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4723, allocations: 95.1 MB / 450.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4727, allocations: 95.95 kB / 450.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/0.5552, allocations: 14.88 MB / 465.5 MB, free: 7.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.5553, allocations: 0 / 465.5 MB, free: 7.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.044e-05/0.5553, allocations: 12 kB / 465.5 MB, free: 7.473 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.002084/0.5574, allocations: 0.9648 MB / 466.5 MB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5575, allocations: 8.031 kB / 466.5 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.5578, allocations: 91.47 kB / 466.6 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.5616, allocations: 1.076 MB / 467.7 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.5618, allocations: 57.27 kB / 467.7 MB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5619, allocations: 64 kB / 467.8 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5637, allocations: 0.7865 MB / 468.6 MB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.5638, allocations: 7.938 kB / 468.6 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.5639, allocations: 35.97 kB / 468.6 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5639, allocations: 16 kB / 468.6 MB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5653, allocations: 0.5725 MB / 469.2 MB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/0.5711, allocations: 2.962 MB / 472.2 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5725, allocations: 0.5778 MB / 472.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.5733, allocations: 391.1 kB / 473.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.5734, allocations: 12.5 kB / 473.1 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.5746, allocations: 0.608 MB / 473.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 4.288e-06/0.5746, allocations: 1.875 kB / 473.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004715/0.5793, allocations: 2.008 MB / 475.8 MB, free: 12.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.5795, allocations: 212.7 kB / 476 MB, free: 12.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.5803, allocations: 423.8 kB / 476.4 MB, free: 12.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5804, allocations: 57.69 kB / 476.4 MB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.5808, allocations: 332.2 kB / 476.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.5811, allocations: 240.9 kB / 477 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.5812, allocations: 16 kB / 477 MB, free: 11.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.5815, allocations: 382.8 kB / 477.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.5822, allocations: 305.9 kB / 477.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008865/0.5831, allocations: 492.1 kB / 478.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.5839, allocations: 385.6 kB / 478.5 MB, free: 9.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.331e-06/0.5839, allocations: 4 kB / 478.5 MB, free: 9.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002463/0.5864, allocations: 1.035 MB / 479.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.5865, allocations: 64.02 kB / 479.6 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5866, allocations: 8 kB / 479.6 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.5872, allocations: 137.8 kB / 479.8 MB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.5892, allocations: 211.7 kB / 480 MB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.5958, allocations: 3.041 MB / 483 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.597, allocations: 51.95 kB / 483.1 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.5972, allocations: 41.62 kB / 483.1 MB, free: 5.008 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.0005552/0.5978, allocations: 249.4 kB / 483.4 MB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.5981, allocations: 75.14 kB / 483.4 MB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.602, allocations: 0.9771 MB / 484.4 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.6021, allocations: 8 kB / 484.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.6021, allocations: 0 / 484.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.6021, allocations: 7.984 kB / 484.4 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.6096, allocations: 1.877 MB / 486.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.6097, allocations: 0 / 486.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.6115, allocations: 159.8 kB / 486.5 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.6129, allocations: 137.6 kB / 486.6 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.6131, allocations: 27.97 kB / 486.6 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/0.6196, allocations: 3.041 MB / 489.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-06/0.6196, allocations: 0 / 489.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/0.6255, allocations: 1.513 MB / 491.2 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/0.6264, allocations: 204.2 kB / 491.4 MB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.6267, allocations: 35.98 kB / 491.4 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/0.6277, allocations: 43.95 kB / 491.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004496/0.6282, allocations: 81.97 kB / 491.5 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.6284, allocations: 35.97 kB / 491.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009453/0.6294, allocations: 333.5 kB / 491.9 MB, free: 11.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.512e-06/0.6294, allocations: 0 / 491.9 MB, free: 11.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00176/0.6312, allocations: 212 kB / 492.1 MB, free: 11.55 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.0005255/0.6317, allocations: 178.2 kB / 492.3 MB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.6363, allocations: 1.158 MB / 493.4 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.976e-06/0.6363, allocations: 0 / 493.4 MB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/0.6397, allocations: 0.8293 MB / 494.3 MB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.6413, allocations: 130.3 kB / 494.4 MB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.6486, allocations: 1.432 MB / 495.8 MB, free: 7.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/0.6506, allocations: 1.009 MB / 496.8 MB, free: 6.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00153/0.6521, allocations: 154.1 kB / 497 MB, free: 6.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.6527, allocations: 55.44 kB / 497 MB, free: 6.457 MB / 426.7 MB Notification: Performance of SimCode: time 3.603e-06/0.6528, allocations: 0 / 497 MB, free: 6.457 MB / 426.7 MB Notification: Performance of Templates: time 0.02624/0.679, allocations: 9.112 MB / 0.4943 GB, free: 13.38 MB / 442.7 MB