Running command: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadModel(PowerSystems): time 2.416/2.416, allocations: 233 MB / 246.1 MB, free: 14.98 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.835e-05, allocations: 0 / 302.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09421, allocations: 53.25 MB / 355.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4703, allocations: 90.04 MB / 445.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4705, allocations: 83.95 kB / 445.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04393/0.5145, allocations: 10.19 MB / 455.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.311e-06/0.5145, allocations: 4 kB / 455.8 MB, free: 1.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.645e-05/0.5146, allocations: 8.188 kB / 455.8 MB, free: 1.441 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001294/0.5159, allocations: 0.6718 MB / 456.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5159, allocations: 16.02 kB / 456.5 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.5161, allocations: 55.34 kB / 456.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.5199, allocations: 1.011 MB / 457.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.5199, allocations: 29.23 kB / 457.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/0.52, allocations: 36.69 kB / 457.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.521, allocations: 443.2 kB / 458 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.521, allocations: 3.953 kB / 458 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.5211, allocations: 16 kB / 458 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5211, allocations: 8 kB / 458 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.5218, allocations: 300.2 kB / 458.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.5248, allocations: 1.761 MB / 460.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.5251, allocations: 139.9 kB / 460.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.5253, allocations: 54.62 kB / 460.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5253, allocations: 8 kB / 460.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5254, allocations: 34.56 kB / 460.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.851e-06/0.5254, allocations: 0 / 460.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001228/0.5266, allocations: 0.5652 MB / 460.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.5267, allocations: 106.8 kB / 461 MB, free: 11.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.5273, allocations: 322.8 kB / 461.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5273, allocations: 25.7 kB / 461.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.5275, allocations: 283.3 kB / 461.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.5276, allocations: 59.27 kB / 461.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.5277, allocations: 10.53 kB / 461.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5279, allocations: 354.7 kB / 462 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.528, allocations: 44 kB / 462.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.5283, allocations: 187.1 kB / 462.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5285, allocations: 84.05 kB / 462.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-06/0.5285, allocations: 0 / 462.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006091/0.5291, allocations: 268.8 kB / 462.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5292, allocations: 12.56 kB / 462.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5292, allocations: 4 kB / 462.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.5292, allocations: 12 kB / 462.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.5296, allocations: 67.91 kB / 462.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.5296, allocations: 11.94 kB / 462.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.5299, allocations: 15.91 kB / 462.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.53, allocations: 12 kB / 462.7 MB, free: 10.01 MB / 394.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.5301, allocations: 132.8 kB / 462.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5303, allocations: 35.53 kB / 462.9 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.5307, allocations: 164.9 kB / 463.1 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-06/0.5307, allocations: 0 / 463.1 MB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.313e-06/0.5307, allocations: 4.25 kB / 463.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-06/0.5308, allocations: 0 / 463.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.5317, allocations: 0.5381 MB / 463.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-06/0.5318, allocations: 0.75 kB / 463.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.5321, allocations: 39.92 kB / 463.6 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-06/0.5321, allocations: 4 kB / 463.6 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.5321, allocations: 4.031 kB / 463.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.5321, allocations: 4 kB / 463.7 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5321, allocations: 0 / 463.7 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.5328, allocations: 430.2 kB / 464.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.5329, allocations: 112.6 kB / 464.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.533, allocations: 8.031 kB / 464.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5333, allocations: 7.953 kB / 464.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.5333, allocations: 11.98 kB / 464.2 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.5333, allocations: 8 kB / 464.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.5337, allocations: 245.2 kB / 464.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.5337, allocations: 0 / 464.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.5344, allocations: 80 kB / 464.5 MB, free: 8.078 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.5346, allocations: 107.4 kB / 464.6 MB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.535, allocations: 145.7 kB / 464.8 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.782e-06/0.535, allocations: 1.25 kB / 464.8 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.5351, allocations: 55.92 kB / 464.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.5358, allocations: 81.16 kB / 464.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.5374, allocations: 0.6466 MB / 465.6 MB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.538, allocations: 0.8506 MB / 466.4 MB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5383, allocations: 43.27 kB / 466.5 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.5384, allocations: 27.44 kB / 466.5 MB, free: 6.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/0.5384, allocations: 0 / 466.5 MB, free: 6.07 MB / 394.7 MB Notification: Performance of Templates: time 0.01064/0.549, allocations: 2.974 MB / 469.5 MB, free: 3.125 MB / 394.7 MB