Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadModel(PowerSystems): time 2.293/2.293, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.458e-05, allocations: 4 kB / 302.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09523, allocations: 53.24 MB / 355.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4687, allocations: 95.22 MB / 450.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.469, allocations: 79.95 kB / 450.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05115/0.5202, allocations: 12.17 MB / 462.9 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.5202, allocations: 0 / 462.9 MB, free: 10.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.522e-05/0.5203, allocations: 8 kB / 462.9 MB, free: 10.31 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001304/0.5216, allocations: 0.6332 MB / 463.5 MB, free: 9.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5216, allocations: 8.031 kB / 463.6 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.5223, allocations: 87.34 kB / 463.6 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.5254, allocations: 0.8412 MB / 464.5 MB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.5255, allocations: 29 kB / 464.5 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5256, allocations: 40 kB / 464.5 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5268, allocations: 0.5945 MB / 465.1 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.5269, allocations: 3.953 kB / 465.1 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.527, allocations: 28 kB / 465.2 MB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.527, allocations: 24.77 kB / 465.2 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/0.528, allocations: 425.1 kB / 465.6 MB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.5327, allocations: 2.871 MB / 468.5 MB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.5333, allocations: 217.3 kB / 468.7 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.5336, allocations: 142 kB / 468.8 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.5337, allocations: 7.984 kB / 468.8 MB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.5337, allocations: 42.55 kB / 468.9 MB, free: 4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 4.472e-06/0.5337, allocations: 0 / 468.9 MB, free: 4 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002016/0.5358, allocations: 0.8551 MB / 469.7 MB, free: 3.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.5359, allocations: 77.11 kB / 469.8 MB, free: 3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.5363, allocations: 294.5 kB / 470.1 MB, free: 2.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.5364, allocations: 29.7 kB / 470.1 MB, free: 2.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.5366, allocations: 279.3 kB / 470.4 MB, free: 2.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.5368, allocations: 106.5 kB / 470.5 MB, free: 2.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.5368, allocations: 12 kB / 470.5 MB, free: 2.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.537, allocations: 342.8 kB / 470.9 MB, free: 1.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5374, allocations: 145.1 kB / 471 MB, free: 1.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.5379, allocations: 335.2 kB / 471.3 MB, free: 1.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.5383, allocations: 219.7 kB / 471.5 MB, free: 1.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.397e-06/0.5384, allocations: 0 / 471.5 MB, free: 1.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00117/0.5395, allocations: 0.5054 MB / 472 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5396, allocations: 8 kB / 472.1 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.5396, allocations: 7.984 kB / 472.1 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.5397, allocations: 14.53 kB / 472.1 MB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.5403, allocations: 107.8 kB / 472.2 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.5403, allocations: 23.88 kB / 472.2 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.5407, allocations: 19.98 kB / 472.2 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.5408, allocations: 20 kB / 472.2 MB, free: 468 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.000159/0.541, allocations: 132.8 kB / 472.4 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.5411, allocations: 39.56 kB / 472.4 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.542, allocations: 341.6 kB / 472.7 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.542, allocations: 11.98 kB / 472.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.542, allocations: 0 / 472.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.542, allocations: 3.953 kB / 472.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.544, allocations: 0.8756 MB / 473.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.108e-06/0.5441, allocations: 0 / 473.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.5446, allocations: 63.95 kB / 473.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/0.5446, allocations: 7.953 kB / 473.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.5446, allocations: 8 kB / 473.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.5447, allocations: 3.938 kB / 473.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.313e-06/0.5447, allocations: 4 kB / 473.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.5458, allocations: 0.6184 MB / 474.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.546, allocations: 120.6 kB / 474.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.5461, allocations: 15.98 kB / 474.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.5464, allocations: 11.98 kB / 474.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.5465, allocations: 27.86 kB / 474.5 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5465, allocations: 4 kB / 474.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.5469, allocations: 222.2 kB / 474.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5469, allocations: 0 / 474.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.5476, allocations: 100 kB / 474.8 MB, free: 13.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.0002421/0.5479, allocations: 136.4 kB / 475 MB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.5487, allocations: 343.7 kB / 475.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.5487, allocations: 0 / 475.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.5491, allocations: 145.6 kB / 475.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.5496, allocations: 57.38 kB / 475.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.5515, allocations: 0.7845 MB / 476.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.5522, allocations: 0.8748 MB / 477.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005194/0.5527, allocations: 123.2 kB / 477.3 MB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5529, allocations: 31.44 kB / 477.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.674e-06/0.5529, allocations: 0 / 477.3 MB, free: 11.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01053/0.5634, allocations: 2.919 MB / 480.2 MB, free: 8.266 MB / 410.7 MB