Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 233 MB / 246.1 MB, free: 14.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.815e-05, allocations: 7.984 kB / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.0969, allocations: 53.24 MB / 355.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.5726, allocations: 98.72 MB / 454.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5728, allocations: 83.95 kB / 454.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1056/0.6785, allocations: 25.75 MB / 480 MB, free: 9.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.007e-06/0.6785, allocations: 0 / 480 MB, free: 9.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.571e-05/0.6786, allocations: 27.94 kB / 480 MB, free: 9.016 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.002329/0.681, allocations: 1.05 MB / 481.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.681, allocations: 12.02 kB / 481.1 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6822, allocations: 182.6 kB / 481.2 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/0.6869, allocations: 1.344 MB / 482.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.687, allocations: 73.97 kB / 482.7 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.6872, allocations: 79.98 kB / 482.7 MB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.6897, allocations: 1.121 MB / 483.9 MB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.6897, allocations: 11.84 kB / 483.9 MB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6899, allocations: 39.95 kB / 483.9 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-05/0.69, allocations: 45.98 kB / 484 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.692, allocations: 0.8549 MB / 484.8 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.6999, allocations: 4.701 MB / 489.5 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.7014, allocations: 0.6676 MB / 490.2 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/0.7023, allocations: 400.5 kB / 490.6 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.7023, allocations: 12.55 kB / 490.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008822/0.7032, allocations: 446.7 kB / 491 MB, free: 13.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 4.164e-06/0.7033, allocations: 0 / 491 MB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.004296/0.7076, allocations: 1.7 MB / 492.7 MB, free: 11.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.7077, allocations: 170.8 kB / 492.9 MB, free: 11.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.7087, allocations: 0.5072 MB / 493.4 MB, free: 11.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.7088, allocations: 37.7 kB / 493.4 MB, free: 11.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.7093, allocations: 478.8 kB / 493.9 MB, free: 10.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.7096, allocations: 232.8 kB / 494.1 MB, free: 10.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.7097, allocations: 21.22 kB / 494.1 MB, free: 10.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.7099, allocations: 386.8 kB / 494.5 MB, free: 9.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.7106, allocations: 293.9 kB / 494.8 MB, free: 9.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008861/0.7115, allocations: 0.5314 MB / 495.3 MB, free: 9.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.7124, allocations: 420.7 kB / 495.8 MB, free: 8.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.202e-06/0.7124, allocations: 4 kB / 495.8 MB, free: 8.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003045/0.7155, allocations: 1.207 MB / 497 MB, free: 7.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.7156, allocations: 38.48 kB / 497 MB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.7156, allocations: 11.94 kB / 497 MB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.7171, allocations: 337.5 kB / 497.3 MB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.7178, allocations: 147.7 kB / 497.5 MB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007946/0.7258, allocations: 4.941 MB / 0.4907 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.7266, allocations: 43.95 kB / 0.4907 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.7268, allocations: 37.31 kB / 0.4907 GB, free: 1.535 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$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 (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * 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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.7271, allocations: 186.4 kB / 0.4909 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.7273, allocations: 75.06 kB / 0.491 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.73, allocations: 1.072 MB / 0.492 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.73, allocations: 12 kB / 0.492 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.787e-06/0.7301, allocations: 4 kB / 0.492 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7301, allocations: 3.984 kB / 0.492 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/0.735, allocations: 2.098 MB / 0.4941 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.735, allocations: 8 kB / 0.4941 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.7355, allocations: 75.89 kB / 0.4942 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.7368, allocations: 317.6 kB / 0.4945 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.7369, allocations: 20 kB / 0.4945 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007912/0.7449, allocations: 4.873 MB / 0.4993 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-06/0.7449, allocations: 0 / 0.4993 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.7476, allocations: 1.211 MB / 0.5004 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.7479, allocations: 148.2 kB / 0.5006 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7481, allocations: 20 kB / 0.5006 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.7486, allocations: 27.97 kB / 0.5006 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.7488, allocations: 48.48 kB / 0.5007 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.7489, allocations: 24 kB / 0.5007 GB, free: 6.809 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007185/0.7496, allocations: 407.1 kB / 0.5011 GB, free: 6.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7497, allocations: 0 / 0.5011 GB, free: 6.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001555/0.7512, allocations: 295.9 kB / 0.5014 GB, free: 6.129 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/0.7516, allocations: 197.2 kB / 0.5016 GB, free: 5.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.7541, allocations: 1.132 MB / 0.5027 GB, free: 4.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.701e-06/0.7542, allocations: 0 / 0.5027 GB, free: 4.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.7557, allocations: 0.7418 MB / 0.5034 GB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.7568, allocations: 158.1 kB / 0.5035 GB, free: 3.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.76, allocations: 1.36 MB / 0.5049 GB, free: 2.438 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.7612, allocations: 1.135 MB / 0.506 GB, free: 1.277 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007707/0.7619, allocations: 170.2 kB / 0.5061 GB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.7622, allocations: 55.42 kB / 0.5062 GB, free: 1.055 MB / 442.7 MB Notification: Performance of SimCode: time 1.82e-06/0.7622, allocations: 0 / 0.5062 GB, free: 1.055 MB / 442.7 MB Notification: Performance of Templates: time 0.02957/0.7918, allocations: 10.89 MB / 0.5168 GB, free: 6.191 MB / 458.7 MB