Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadModel(PowerSystems): time 2.456/2.456, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.993e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09312, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5032, allocations: 98.67 MB / 454.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5035, allocations: 75.97 kB / 454.2 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.6526, allocations: 25.82 MB / 480 MB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.345e-06/0.6526, allocations: 0 / 480 MB, free: 8.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.6528, allocations: 31.88 kB / 480 MB, free: 8.863 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.004155/0.6569, allocations: 1.072 MB / 481.1 MB, free: 7.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.657, allocations: 12.03 kB / 481.1 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.6594, allocations: 178.6 kB / 481.3 MB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007664/0.6671, allocations: 1.366 MB / 482.6 MB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.6673, allocations: 66 kB / 482.7 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004881/0.6679, allocations: 91.89 kB / 482.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/0.6734, allocations: 1.164 MB / 484 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.11e-05/0.6735, allocations: 4 kB / 484 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.6738, allocations: 39.89 kB / 484 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.6741, allocations: 53.98 kB / 484.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004968/0.6791, allocations: 0.933 MB / 485 MB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01751/0.6966, allocations: 4.688 MB / 489.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.6989, allocations: 0.6556 MB / 490.3 MB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.7007, allocations: 470.7 kB / 490.8 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.7008, allocations: 12.5 kB / 490.8 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.7026, allocations: 0.5202 MB / 491.3 MB, free: 13.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=73): time 7.578e-06/0.7026, allocations: 0 / 491.3 MB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.008743/0.7114, allocations: 2.531 MB / 493.9 MB, free: 10.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.7116, allocations: 179 kB / 494 MB, free: 10.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.7125, allocations: 0.4993 MB / 494.5 MB, free: 9.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.7126, allocations: 41.7 kB / 494.6 MB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.7133, allocations: 463.1 kB / 495 MB, free: 9.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005319/0.7139, allocations: 275.5 kB / 495.3 MB, free: 9.039 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.714, allocations: 20 kB / 495.3 MB, free: 9.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.7142, allocations: 386.8 kB / 495.7 MB, free: 8.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008682/0.7151, allocations: 377.9 kB / 496.1 MB, free: 8.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.7162, allocations: 0.6201 MB / 496.7 MB, free: 7.535 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.01389/0.7301, allocations: 3.888 MB / 0.4888 GB, free: 3.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.612e-06/0.7301, allocations: 0 / 0.4888 GB, free: 3.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00327/0.7334, allocations: 1.327 MB / 0.4901 GB, free: 2.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.7335, allocations: 37.66 kB / 0.4902 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.7336, allocations: 8 kB / 0.4902 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008944/0.7345, allocations: 247.1 kB / 0.4904 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.7362, allocations: 271.6 kB / 0.4907 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/0.7438, allocations: 5.558 MB / 0.4961 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.7448, allocations: 43.97 kB / 0.4961 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.7449, allocations: 36.19 kB / 0.4962 GB, free: 11.63 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.0003637/0.7453, allocations: 203.1 kB / 0.4964 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.7455, allocations: 75.06 kB / 0.4964 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.7484, allocations: 1.172 MB / 0.4976 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.7485, allocations: 23.95 kB / 0.4976 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7485, allocations: 4 kB / 0.4976 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7485, allocations: 3.984 kB / 0.4976 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.7539, allocations: 2.3 MB / 0.4999 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.574e-06/0.754, allocations: 4 kB / 0.4999 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.7552, allocations: 199.8 kB / 0.5001 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.7563, allocations: 242.6 kB / 0.5003 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.7565, allocations: 27.98 kB / 0.5003 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.7638, allocations: 5.493 MB / 0.5057 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.547e-06/0.7639, allocations: 8.094 kB / 0.5057 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.7678, allocations: 1.758 MB / 0.5074 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.7682, allocations: 144.2 kB / 0.5075 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.7684, allocations: 24 kB / 0.5076 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.769, allocations: 35.95 kB / 0.5076 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.7692, allocations: 56.44 kB / 0.5076 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.7693, allocations: 27.98 kB / 0.5077 GB, free: 15.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007016/0.77, allocations: 404.9 kB / 0.5081 GB, free: 14.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.77, allocations: 0 / 0.5081 GB, free: 14.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001602/0.7716, allocations: 303.9 kB / 0.5084 GB, free: 14.52 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.0004743/0.7721, allocations: 227.5 kB / 0.5086 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.7752, allocations: 1.357 MB / 0.5099 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.754e-06/0.7752, allocations: 0 / 0.5099 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.7774, allocations: 0.9096 MB / 0.5108 GB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.7799, allocations: 154.8 kB / 0.5109 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/0.7887, allocations: 1.808 MB / 0.5127 GB, free: 9.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.7907, allocations: 1.138 MB / 0.5138 GB, free: 8.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001846/0.7926, allocations: 210.6 kB / 0.514 GB, free: 8.555 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.7931, allocations: 63.42 kB / 0.5141 GB, free: 8.492 MB / 458.7 MB Notification: Performance of SimCode: time 2.567e-06/0.7932, allocations: 0 / 0.5141 GB, free: 8.492 MB / 458.7 MB Notification: Performance of Templates: time 0.3335/1.127, allocations: 11.07 MB / 0.5249 GB, free: 131.1 MB / 458.7 MB