Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadModel(PowerSystems): time 2.275/2.275, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.052e-05, allocations: 7.938 kB / 301.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08952, allocations: 53.24 MB / 354.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4601, allocations: 95.1 MB / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4604, allocations: 83.95 kB / 449.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06098/0.5214, allocations: 14.87 MB / 464.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.977e-06/0.5215, allocations: 0 / 464.6 MB, free: 7.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.608e-05/0.5215, allocations: 16 kB / 464.6 MB, free: 7.762 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.002019/0.5236, allocations: 0.9648 MB / 465.5 MB, free: 6.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.5236, allocations: 12.03 kB / 465.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.5239, allocations: 87.48 kB / 465.6 MB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.5276, allocations: 1.08 MB / 466.7 MB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5278, allocations: 57.27 kB / 466.8 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.528, allocations: 67.98 kB / 466.8 MB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5298, allocations: 0.791 MB / 467.6 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.5298, allocations: 0 / 467.6 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.737e-05/0.5299, allocations: 28 kB / 467.7 MB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.53, allocations: 16 kB / 467.7 MB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.5313, allocations: 0.5764 MB / 468.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.5369, allocations: 2.97 MB / 471.2 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5382, allocations: 0.5661 MB / 471.8 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.539, allocations: 403.6 kB / 472.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.5391, allocations: 8.5 kB / 472.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.5402, allocations: 0.6042 MB / 472.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 4.019e-06/0.5403, allocations: 0 / 472.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004501/0.5448, allocations: 2.016 MB / 474.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.545, allocations: 210.2 kB / 475 MB, free: 12.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.5457, allocations: 427.8 kB / 475.4 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.323e-05/0.5458, allocations: 53.73 kB / 475.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5461, allocations: 370.7 kB / 475.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.5464, allocations: 232.9 kB / 476.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.5465, allocations: 20 kB / 476.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5467, allocations: 346.8 kB / 476.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.5474, allocations: 305.9 kB / 476.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008744/0.5483, allocations: 492.3 kB / 477.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.5491, allocations: 393.3 kB / 477.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.5491, allocations: 0 / 477.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002385/0.5515, allocations: 1.008 MB / 478.6 MB, free: 9.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.5516, allocations: 60 kB / 478.7 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5517, allocations: 12 kB / 478.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.5523, allocations: 137.6 kB / 478.8 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.5535, allocations: 203.7 kB / 479 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.5579, allocations: 3.038 MB / 482 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.5587, allocations: 52.12 kB / 482.1 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5588, allocations: 43.97 kB / 482.1 MB, free: 5.328 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.0003615/0.5592, allocations: 249.3 kB / 482.4 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.5594, allocations: 71.16 kB / 482.5 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.5617, allocations: 0.9732 MB / 483.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.5617, allocations: 8 kB / 483.4 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.639e-06/0.5617, allocations: 0 / 483.4 MB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5618, allocations: 3.984 kB / 483.4 MB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.5659, allocations: 1.885 MB / 485.3 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.752e-06/0.5659, allocations: 3.984 kB / 485.3 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.5668, allocations: 155.9 kB / 485.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/0.5676, allocations: 153.4 kB / 485.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/0.5677, allocations: 24.64 kB / 485.7 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.5715, allocations: 3.037 MB / 488.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.88e-06/0.5715, allocations: 0 / 488.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.5749, allocations: 1.517 MB / 490.2 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.5754, allocations: 204.2 kB / 490.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.5756, allocations: 31.98 kB / 490.4 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.5761, allocations: 43.97 kB / 490.5 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.5764, allocations: 90.33 kB / 490.6 MB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.5765, allocations: 27.98 kB / 490.6 MB, free: 12.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005549/0.5771, allocations: 329.5 kB / 490.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.5771, allocations: 0 / 490.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009635/0.5781, allocations: 208 kB / 491.1 MB, free: 11.88 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.0003316/0.5784, allocations: 182.2 kB / 491.3 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0025/0.5809, allocations: 1.151 MB / 492.5 MB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.742e-06/0.5809, allocations: 1.188 kB / 492.5 MB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.5827, allocations: 0.8292 MB / 493.3 MB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.5837, allocations: 132.7 kB / 493.4 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.5876, allocations: 1.486 MB / 494.9 MB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008585/0.5884, allocations: 1.009 MB / 495.9 MB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.5888, allocations: 63.42 kB / 496 MB, free: 6.863 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5888, allocations: 3.938 kB / 496 MB, free: 6.859 MB / 426.7 MB Notification: Performance of Templates: time 0.02517/0.614, allocations: 14.86 MB / 0.4989 GB, free: 7.996 MB / 442.7 MB