Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") Notification: Performance of loadModel(PowerSystems): time 2.338/2.338, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.168e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3628, allocations: 53.22 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine): time 0.01402/0.3769, allocations: 8.68 MB / 366.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007077/0.384, allocations: 2.5 MB / 368.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.3855, allocations: 65.28 kB / 368.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.3869, allocations: 270.3 kB / 369.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3899, allocations: 0.6278 MB / 369.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3917, allocations: 380.3 kB / 370.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.3939, allocations: 0.6373 MB / 370.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.3945, allocations: 205.2 kB / 370.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.3961, allocations: 0.5231 MB / 371.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.3984, allocations: 0.7679 MB / 372.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006878/0.3991, allocations: 56 kB / 372.3 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.3995, allocations: 52 kB / 372.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009386/0.4005, allocations: 0.5027 MB / 372.8 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006976/0.4012, allocations: 112 kB / 372.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.4034, allocations: 1.189 MB / 374.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4034, allocations: 4 kB / 374.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4035, allocations: 0 / 374.1 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.059e-05/0.4035, allocations: 0 / 374.1 MB, free: 0.9766 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005332/0.4089, allocations: 1.473 MB / 375.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4089, allocations: 8.031 kB / 375.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.4096, allocations: 130.4 kB / 375.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.4139, allocations: 1.101 MB / 376.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.4141, allocations: 77.94 kB / 376.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004517/0.4146, allocations: 103.8 kB / 377 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.418, allocations: 1.317 MB / 378.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.4181, allocations: 0 / 378.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.4183, allocations: 32 kB / 378.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.4196, allocations: 209.7 kB / 378.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/0.4228, allocations: 0.9523 MB / 379.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.4364, allocations: 4.523 MB / 384 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.4394, allocations: 1.18 MB / 385.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.4396, allocations: 9.062 kB / 385.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.4422, allocations: 0.9496 MB / 386.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 5.591e-06/0.4423, allocations: 0 / 386.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.0216/0.4639, allocations: 6.718 MB / 392.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.4641, allocations: 204.9 kB / 393.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.4656, allocations: 0.6603 MB / 393.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003166/0.4659, allocations: 53.7 kB / 393.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.4665, allocations: 494.6 kB / 394.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.4672, allocations: 382.9 kB / 394.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.4674, allocations: 28 kB / 394.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.4676, allocations: 370.7 kB / 395.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.4695, allocations: 0.6715 MB / 395.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.472, allocations: 0.9395 MB / 396.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009519/0.4815, allocations: 2.002 MB / 398.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.4816, allocations: 4 kB / 398.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.009814/0.4914, allocations: 2.703 MB / 401.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.4916, allocations: 64.34 kB / 401.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.4916, allocations: 4 kB / 401.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005928/0.4975, allocations: 1.144 MB / 402.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.4988, allocations: 175.8 kB / 402.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.5217, allocations: 8.383 MB / 411.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5234, allocations: 123.9 kB / 411.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.5235, allocations: 52 kB / 411.3 MB, free: 10.52 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.line.i[1,1] = 0.0 $DER.line.i[2,1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 41 (system.initime,$PRE.ab.fault_pp.t0,ab.fault_pp.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,trafo.tap_2_internal,trafo.tap_1_internal,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_1.arc,switch1.switch_1.arc,$PRE.switch1.switch_1.open,switch1.switch_1.open,switch1.switch_1.closed,$PRE.switch2.switch_1.arc,switch2.switch_1.arc,$PRE.switch2.switch_1.open,switch2.switch_1.open,switch2.switch_1.closed,$PRE.ab.t_zero,ab.t_zero,$PRE.ab.v_pos,ab.v_pos,$PRE.ab.first,ab.first,$PRE.ab.fault_pp.on,ab.fault_pp.on,$PRE.relay1.y[1],relay1.y[1],$PRE.relay2.y[1],relay2.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,88.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009738/0.5245, allocations: 448.5 kB / 411.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.5248, allocations: 102.8 kB / 411.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/0.5318, allocations: 2.317 MB / 414.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.5319, allocations: 8 kB / 414.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.5319, allocations: 8 kB / 414.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.5319, allocations: 3.984 kB / 414.2 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5426, allocations: 3.605 MB / 417.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.5426, allocations: 4.031 kB / 417.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5438, allocations: 119.9 kB / 417.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005328/0.5491, allocations: 1.038 MB / 419 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003876/0.5495, allocations: 79.89 kB / 419 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02171/0.5713, allocations: 15.1 MB / 434.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5713, allocations: 0 / 434.1 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009103/0.5804, allocations: 3.083 MB / 437.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.5816, allocations: 315.7 kB / 437.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/0.5822, allocations: 76.05 kB / 437.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.5838, allocations: 91.83 kB / 437.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/0.5843, allocations: 128.8 kB / 437.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.5845, allocations: 39.95 kB / 437.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.5856, allocations: 0.5029 MB / 438.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5856, allocations: 3.938 kB / 438.4 MB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002126/0.5877, allocations: 436 kB / 438.8 MB, free: 13.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],lineF.v[1,1],lineF.v[1,2],lineF.v[1,3],lineF.v[2,1],lineF.v[2,2],lineF.v[2,3],lineF.i[1,1],lineF.i[1,2],lineF.i[1,3],lineF.i[1,4],lineF.i[2,1],lineF.i[2,2],lineF.i[2,3],lineF.i[2,4],lineF.iF[1],lineF.iF[2]) * Number of discrete variables: 26 (switch1.switch_1.closed,switch2.switch_1.closed,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_1.arc,switch1.switch_1.open,switch2.switch_1.arc,switch2.switch_1.open,ab.t_zero,ab.v_pos,ab.first,ab.fault_pp.on,ab.fault_pp.t0,relay1.y[1],relay1.cnt,relay2.y[1],relay2.cnt,system.initime) * Number of discrete states: 12 (ab.t_zero,ab.fault_pp.on,ab.v_pos,ab.first,relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_1.open,relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,100.0%) 7,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.0004484/0.5882, allocations: 168.8 kB / 438.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007834/0.5961, allocations: 2.27 MB / 441.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5961, allocations: 0.5625 kB / 441.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006994/0.6031, allocations: 2.773 MB / 444 MB, free: 7.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.605, allocations: 243 kB / 444.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6168, allocations: 4.899 MB / 449.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.6182, allocations: 1.245 MB / 450.4 MB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.6186, allocations: 71.44 kB / 450.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6186, allocations: 4 kB / 450.4 MB, free: 1.414 MB / 378.7 MB Notification: Performance of Templates: time 0.09065/0.7093, allocations: 41.62 MB / 492.1 MB, free: 7.766 MB / 426.7 MB