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.349/2.349, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.178e-05/5.18e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3748, allocations: 53.22 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Fault): time 0.01082/0.3856, allocations: 6.642 MB / 364.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.3904, allocations: 1.679 MB / 365.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.3914, allocations: 50.06 kB / 365.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.392, allocations: 141.2 kB / 366.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3936, allocations: 358.6 kB / 366.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3947, allocations: 263.8 kB / 366.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3959, allocations: 460.9 kB / 367.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.3963, allocations: 169.6 kB / 367.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008465/0.3971, allocations: 324 kB / 367.6 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.398, allocations: 349.8 kB / 368 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3982, allocations: 29.66 kB / 368 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3983, allocations: 29 kB / 368 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.3988, allocations: 283.3 kB / 368.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.3991, allocations: 73.69 kB / 368.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4002, allocations: 0.6793 MB / 369.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4002, allocations: 0 / 369.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4002, allocations: 0 / 369.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.4003, allocations: 0 / 369.1 MB, free: 5.801 MB / 298.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.002666/0.4029, allocations: 0.9371 MB / 370 MB, free: 5.027 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.403, allocations: 8.469 kB / 370 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.4033, allocations: 90.14 kB / 370.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.4049, allocations: 0.5524 MB / 370.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.405, allocations: 57.3 kB / 370.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.4052, allocations: 67.94 kB / 370.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.4074, allocations: 0.828 MB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.4074, allocations: 7.891 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4075, allocations: 27.98 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003322/0.4079, allocations: 53.2 kB / 371.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.4097, allocations: 0.6179 MB / 372.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007133/0.4169, allocations: 3.001 MB / 375.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.4188, allocations: 0.9229 MB / 376.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.146e-05/0.4189, allocations: 9 kB / 376.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.4205, allocations: 0.6311 MB / 376.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 3.917e-06/0.4206, allocations: 0 / 376.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.007832/0.4284, allocations: 2.775 MB / 379.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.4286, allocations: 208.5 kB / 379.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.4295, allocations: 421.2 kB / 380.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.4297, allocations: 49.7 kB / 380.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.4301, allocations: 374.6 kB / 380.7 MB, free: 9.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.4304, allocations: 236.8 kB / 380.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.4305, allocations: 20 kB / 380.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4307, allocations: 350.8 kB / 381.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009322/0.4316, allocations: 321.8 kB / 381.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4327, allocations: 0.4943 MB / 382.1 MB, free: 8.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.4338, allocations: 398.2 kB / 382.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4338, allocations: 0 / 382.5 MB, free: 7.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003039/0.4369, allocations: 1.053 MB / 383.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.437, allocations: 67.42 kB / 383.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.437, allocations: 4 kB / 383.6 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.4379, allocations: 145.5 kB / 383.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.4396, allocations: 211.6 kB / 383.9 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.4444, allocations: 3.13 MB / 387.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/0.4454, allocations: 48.22 kB / 387.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.4455, allocations: 36 kB / 387.1 MB, free: 2.98 MB / 314.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.0006853/0.4462, allocations: 362 kB / 387.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4464, allocations: 71.16 kB / 387.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.4493, allocations: 1.042 MB / 388.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4493, allocations: 8 kB / 388.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4493, allocations: 4 kB / 388.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4494, allocations: 3.984 kB / 388.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.4543, allocations: 1.933 MB / 390.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4544, allocations: 0 / 390.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.4557, allocations: 159.9 kB / 390.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.4568, allocations: 169.4 kB / 390.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/0.4569, allocations: 27.94 kB / 390.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.4614, allocations: 3.115 MB / 394 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4614, allocations: 0 / 394 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.4656, allocations: 1.613 MB / 395.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.4662, allocations: 212.2 kB / 395.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.4664, allocations: 27.98 kB / 395.9 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.4671, allocations: 39.97 kB / 395.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.4674, allocations: 96.47 kB / 396 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.39e-05/0.4675, allocations: 27.92 kB / 396 MB, free: 9.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005952/0.4681, allocations: 334.8 kB / 396.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4681, allocations: 0 / 396.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009552/0.4691, allocations: 208 kB / 396.6 MB, free: 9.094 MB / 330.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_1.closed,switch1.switch_2.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_2.open,switch1.switch_1.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.00029/0.4694, allocations: 155.1 kB / 396.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.4728, allocations: 1.22 MB / 397.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4728, allocations: 0.875 kB / 397.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4753, allocations: 0.8708 MB / 398.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4764, allocations: 130.7 kB / 398.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.4819, allocations: 2.136 MB / 401.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.4828, allocations: 1.005 MB / 402.1 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.4832, allocations: 63.44 kB / 402.1 MB, free: 3.336 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4832, allocations: 0 / 402.1 MB, free: 3.336 MB / 330.7 MB Notification: Performance of Templates: time 0.03272/0.5159, allocations: 14.79 MB / 416.9 MB, free: 4.555 MB / 346.7 MB