Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadModel(PowerSystems): time 2.24/2.24, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.249e-05, allocations: 4 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.5122, allocations: 98.66 MB / 454.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5124, allocations: 79.95 kB / 454.2 MB, free: 3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.6196, allocations: 25.82 MB / 480 MB, free: 8.883 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.79e-06/0.6197, allocations: 0 / 480 MB, free: 8.883 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.411e-05/0.6198, allocations: 31.88 kB / 480 MB, free: 8.852 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002611/0.6224, allocations: 1.072 MB / 481.1 MB, free: 7.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6225, allocations: 8.031 kB / 481.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.6239, allocations: 182.6 kB / 481.3 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.6286, allocations: 1.362 MB / 482.6 MB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.6287, allocations: 69.98 kB / 482.7 MB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.6289, allocations: 87.89 kB / 482.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.6315, allocations: 1.168 MB / 484 MB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.6316, allocations: 4 kB / 484 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.6317, allocations: 47.86 kB / 484 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.6318, allocations: 49.98 kB / 484.1 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.634, allocations: 0.933 MB / 485 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008591/0.6427, allocations: 4.68 MB / 489.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.6442, allocations: 0.6661 MB / 490.3 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009344/0.6452, allocations: 464 kB / 490.8 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.6453, allocations: 12.48 kB / 490.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.6464, allocations: 0.5241 MB / 491.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 4.603e-06/0.6464, allocations: 0 / 491.3 MB, free: 13.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.006049/0.6525, allocations: 2.536 MB / 493.9 MB, free: 10.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6526, allocations: 167 kB / 494 MB, free: 10.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.6535, allocations: 0.5071 MB / 494.5 MB, free: 9.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.6536, allocations: 41.7 kB / 494.6 MB, free: 9.754 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.6541, allocations: 463.1 kB / 495 MB, free: 9.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.6545, allocations: 268.3 kB / 495.3 MB, free: 9.027 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.6546, allocations: 23.98 kB / 495.3 MB, free: 9.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.6549, allocations: 386.8 kB / 495.7 MB, free: 8.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000845/0.6557, allocations: 381.8 kB / 496.1 MB, free: 8.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.6568, allocations: 0.6201 MB / 496.7 MB, free: 7.516 MB / 426.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/0.6709, allocations: 3.872 MB / 0.4888 GB, free: 3.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6709, allocations: 8 kB / 0.4888 GB, free: 3.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003186/0.6741, allocations: 1.316 MB / 0.4901 GB, free: 2.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.6742, allocations: 45.78 kB / 0.4902 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.6742, allocations: 7.984 kB / 0.4902 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.6755, allocations: 246.4 kB / 0.4904 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.6792, allocations: 271.6 kB / 0.4907 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.6948, allocations: 5.559 MB / 0.4961 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.6968, allocations: 39.97 kB / 0.4961 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.697, allocations: 36 kB / 0.4962 GB, free: 11.62 MB / 442.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006977/0.6978, allocations: 210.7 kB / 0.4964 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.6982, allocations: 79.06 kB / 0.4964 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/0.7045, allocations: 1.168 MB / 0.4976 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.152e-05/0.7046, allocations: 15.95 kB / 0.4976 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.7046, allocations: 4 kB / 0.4976 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.7047, allocations: 3.984 kB / 0.4976 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.7162, allocations: 2.301 MB / 0.4999 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.7162, allocations: 4 kB / 0.4999 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/0.7191, allocations: 203.9 kB / 0.5001 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.7213, allocations: 246.3 kB / 0.5003 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.7215, allocations: 23.98 kB / 0.5003 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.7364, allocations: 5.497 MB / 0.5057 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/0.7365, allocations: 4.031 kB / 0.5057 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008364/0.7448, allocations: 1.754 MB / 0.5074 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.7455, allocations: 148.2 kB / 0.5075 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.7459, allocations: 27.97 kB / 0.5076 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7473, allocations: 39.97 kB / 0.5076 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.7477, allocations: 56.44 kB / 0.5077 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.7479, allocations: 23.98 kB / 0.5077 GB, free: 15.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00147/0.7494, allocations: 403.1 kB / 0.5081 GB, free: 14.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.367e-06/0.7495, allocations: 1.406 kB / 0.5081 GB, free: 14.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003592/0.7531, allocations: 303.9 kB / 0.5084 GB, free: 14.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008615/0.754, allocations: 218.2 kB / 0.5086 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005583/0.7596, allocations: 1.366 MB / 0.5099 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.744e-06/0.7596, allocations: 4 kB / 0.5099 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.7616, allocations: 0.9008 MB / 0.5108 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7627, allocations: 153.6 kB / 0.5109 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.7668, allocations: 1.819 MB / 0.5127 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.768, allocations: 1.138 MB / 0.5138 GB, free: 8.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008955/0.7689, allocations: 202.3 kB / 0.514 GB, free: 8.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.7692, allocations: 59.42 kB / 0.5141 GB, free: 8.488 MB / 458.7 MB Notification: Performance of SimCode: time 1.664e-06/0.7692, allocations: 0 / 0.5141 GB, free: 8.488 MB / 458.7 MB Notification: Performance of Templates: time 0.2743/1.044, allocations: 11.07 MB / 0.5249 GB, free: 131.1 MB / 458.7 MB