Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.741e-05, allocations: 0 / 302.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09504, allocations: 53.24 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.4799, allocations: 95.2 MB / 450.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4802, allocations: 80.89 kB / 450.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05617/0.5364, allocations: 13.14 MB / 463.9 MB, free: 9.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.213e-06/0.5365, allocations: 0 / 463.9 MB, free: 9.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.389e-05/0.5365, allocations: 12 kB / 463.9 MB, free: 9.336 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001456/0.538, allocations: 0.6756 MB / 464.5 MB, free: 8.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.538, allocations: 8.031 kB / 464.5 MB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.5387, allocations: 95.23 kB / 464.6 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.5419, allocations: 0.8447 MB / 465.5 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.542, allocations: 28.77 kB / 465.5 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5421, allocations: 43.94 kB / 465.6 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.5435, allocations: 0.646 MB / 466.2 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.5435, allocations: 3.984 kB / 466.2 MB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.5436, allocations: 12 kB / 466.2 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.5438, allocations: 52.7 kB / 466.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5452, allocations: 0.6224 MB / 466.9 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.55, allocations: 2.436 MB / 469.3 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.5508, allocations: 325.8 kB / 469.6 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.5513, allocations: 250.1 kB / 469.9 MB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.5514, allocations: 4 kB / 469.9 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5514, allocations: 42.56 kB / 469.9 MB, free: 2.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 4.181e-06/0.5514, allocations: 0 / 469.9 MB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.00273/0.5542, allocations: 1.251 MB / 471.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.5543, allocations: 85.38 kB / 471.3 MB, free: 1.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.5547, allocations: 251.4 kB / 471.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.5548, allocations: 37.72 kB / 471.6 MB, free: 1.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.555, allocations: 239.8 kB / 471.8 MB, free: 1.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.5552, allocations: 161.6 kB / 471.9 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.5552, allocations: 12.75 kB / 472 MB, free: 0.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.5555, allocations: 346.8 kB / 472.3 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.5559, allocations: 213 kB / 472.5 MB, free: 328 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/0.5565, allocations: 357.5 kB / 472.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.5571, allocations: 281 kB / 473.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.744e-06/0.5571, allocations: 0 / 473.1 MB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001389/0.5585, allocations: 0.6139 MB / 473.7 MB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.5586, allocations: 8 kB / 473.7 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.5586, allocations: 6.531 kB / 473.8 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.5586, allocations: 8 kB / 473.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.5593, allocations: 115.8 kB / 473.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.5594, allocations: 15.92 kB / 473.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.5598, allocations: 36.42 kB / 473.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.5599, allocations: 24 kB / 473.9 MB, free: 14.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * Array equations: 3 * 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.0001706/0.5601, allocations: 128.9 kB / 474.1 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5602, allocations: 39.52 kB / 474.1 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.5614, allocations: 0.5363 MB / 474.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/0.5615, allocations: 12 kB / 474.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.849e-06/0.5615, allocations: 0 / 474.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.925e-06/0.5615, allocations: 3.984 kB / 474.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.5642, allocations: 1.172 MB / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.765e-06/0.5643, allocations: 0 / 475.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/0.5649, allocations: 79.88 kB / 475.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.5649, allocations: 4 kB / 475.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.565, allocations: 8.094 kB / 475.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.427e-06/0.565, allocations: 8 kB / 475.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-06/0.565, allocations: 4 kB / 475.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5667, allocations: 0.9452 MB / 476.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.5669, allocations: 108.6 kB / 477 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.567, allocations: 8 kB / 477 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.5674, allocations: 24.02 kB / 477 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.5674, allocations: 19.97 kB / 477 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.5675, allocations: 15.98 kB / 477.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003127/0.5678, allocations: 206.2 kB / 477.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.5678, allocations: 0 / 477.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000735/0.5686, allocations: 125.1 kB / 477.4 MB, free: 11.22 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 (34): * Single equations (assignments): 30 * Array equations: 3 * 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.0002929/0.5689, allocations: 143 kB / 477.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.57, allocations: 0.5065 MB / 478 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.999e-06/0.5701, allocations: 0 / 478 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.5706, allocations: 248.6 kB / 478.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.5711, allocations: 67.38 kB / 478.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.5732, allocations: 0.9276 MB / 479.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.574, allocations: 0.8871 MB / 480.2 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005468/0.5745, allocations: 127.1 kB / 480.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5747, allocations: 31.44 kB / 480.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of SimCode: time 1.836e-06/0.5747, allocations: 0 / 480.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of Templates: time 0.01206/0.5868, allocations: 3.628 MB / 483.9 MB, free: 4.621 MB / 410.7 MB