Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadModel(PowerSystems): time 2.348/2.348, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.109e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09181, allocations: 53.23 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.6035, allocations: 95.22 MB / 450.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.6039, allocations: 79.95 kB / 450.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06941/0.6734, allocations: 12.16 MB / 462.9 MB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.725e-06/0.6734, allocations: 4 kB / 462.9 MB, free: 10.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.6734, allocations: 8 kB / 462.9 MB, free: 10.16 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.001273/0.6747, allocations: 0.6409 MB / 463.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6748, allocations: 12.03 kB / 463.6 MB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.6754, allocations: 83.38 kB / 463.6 MB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.6783, allocations: 0.8413 MB / 464.5 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.6784, allocations: 29 kB / 464.5 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.6785, allocations: 36 kB / 464.5 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6797, allocations: 0.6036 MB / 465.1 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6798, allocations: 3.906 kB / 465.1 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.6798, allocations: 16 kB / 465.2 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.6799, allocations: 28.77 kB / 465.2 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/0.6808, allocations: 429.1 kB / 465.6 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.6852, allocations: 2.859 MB / 468.5 MB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.6858, allocations: 222.5 kB / 468.7 MB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.6861, allocations: 150 kB / 468.8 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.6861, allocations: 0 / 468.8 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6862, allocations: 34.56 kB / 468.9 MB, free: 3.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.034e-06/0.6862, allocations: 3.938 kB / 468.9 MB, free: 3.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.001896/0.6881, allocations: 0.859 MB / 469.7 MB, free: 2.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6882, allocations: 85.11 kB / 469.8 MB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.6886, allocations: 286.4 kB / 470.1 MB, free: 2.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.6887, allocations: 35.58 kB / 470.1 MB, free: 2.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.6889, allocations: 271.3 kB / 470.4 MB, free: 2.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.689, allocations: 110.4 kB / 470.5 MB, free: 2.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.6891, allocations: 12 kB / 470.5 MB, free: 2.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.6893, allocations: 342.8 kB / 470.8 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.6896, allocations: 145.1 kB / 471 MB, free: 1.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.6901, allocations: 334.7 kB / 471.3 MB, free: 1.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.6905, allocations: 211.8 kB / 471.5 MB, free: 1.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.052e-06/0.6906, allocations: 4 kB / 471.5 MB, free: 1.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001104/0.6917, allocations: 0.5046 MB / 472 MB, free: 0.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6917, allocations: 8 kB / 472 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6918, allocations: 8 kB / 472 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.6918, allocations: 12 kB / 472.1 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.6924, allocations: 116.5 kB / 472.2 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.6924, allocations: 11.94 kB / 472.2 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.6928, allocations: 27.98 kB / 472.2 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.6929, allocations: 27.98 kB / 472.2 MB, free: 300 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.0001496/0.693, allocations: 136.8 kB / 472.4 MB, free: 156 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.6931, allocations: 35.53 kB / 472.4 MB, free: 120 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/0.694, allocations: 341.6 kB / 472.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.694, allocations: 9.688 kB / 472.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.516e-06/0.6941, allocations: 7.953 kB / 472.8 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.027e-06/0.6941, allocations: 4 kB / 472.8 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.696, allocations: 0.8678 MB / 473.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.314e-06/0.696, allocations: 4 kB / 473.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.6965, allocations: 63.91 kB / 473.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-06/0.6965, allocations: 0 / 473.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.6965, allocations: 12.09 kB / 473.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.505e-06/0.6966, allocations: 7.938 kB / 473.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.65e-06/0.6966, allocations: 0 / 473.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.6977, allocations: 0.6223 MB / 474.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.6979, allocations: 116.6 kB / 474.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.698, allocations: 8 kB / 474.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.6982, allocations: 11.98 kB / 474.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.6983, allocations: 31.86 kB / 474.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.6984, allocations: 11.92 kB / 474.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003245/0.6987, allocations: 222.2 kB / 474.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6987, allocations: 0 / 474.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000695/0.6994, allocations: 105.3 kB / 474.8 MB, free: 13.55 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.0002222/0.6996, allocations: 127.1 kB / 475 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007739/0.7004, allocations: 345.1 kB / 475.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.418e-06/0.7005, allocations: 4.375 kB / 475.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.7008, allocations: 143.8 kB / 475.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.7012, allocations: 56.47 kB / 475.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.7031, allocations: 0.7848 MB / 476.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.7037, allocations: 0.867 MB / 477.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00048/0.7042, allocations: 123.1 kB / 477.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.7044, allocations: 31.44 kB / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.717e-06/0.7044, allocations: 0 / 477.3 MB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01011/0.7145, allocations: 2.936 MB / 480.2 MB, free: 8.102 MB / 410.7 MB