Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadModel(PowerSystems): time 2.232/2.232, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.645e-05/5.652e-05, allocations: 4 kB / 302.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 53.24 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5724, allocations: 95.21 MB / 450.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5727, allocations: 75.97 kB / 450.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05548/0.6282, allocations: 13.14 MB / 463.9 MB, free: 9.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.51e-06/0.6282, allocations: 4 kB / 463.9 MB, free: 9.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.6283, allocations: 11.94 kB / 463.9 MB, free: 9.195 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.001402/0.6297, allocations: 0.6717 MB / 464.5 MB, free: 8.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6297, allocations: 16.02 kB / 464.6 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/0.6304, allocations: 83.3 kB / 464.6 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.6335, allocations: 0.8526 MB / 465.5 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.6335, allocations: 24.77 kB / 465.5 MB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.6337, allocations: 40 kB / 465.6 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.635, allocations: 0.646 MB / 466.2 MB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.6351, allocations: 3.938 kB / 466.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.6351, allocations: 16 kB / 466.2 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.6353, allocations: 52.7 kB / 466.3 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6366, allocations: 0.6171 MB / 466.9 MB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.6414, allocations: 2.436 MB / 469.3 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.6422, allocations: 337.7 kB / 469.7 MB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.6427, allocations: 242.1 kB / 469.9 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.6427, allocations: 11.97 kB / 469.9 MB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.6428, allocations: 42.5 kB / 469.9 MB, free: 2.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 4.113e-06/0.6428, allocations: 0 / 469.9 MB, free: 2.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.002724/0.6455, allocations: 1.255 MB / 471.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.6456, allocations: 81.39 kB / 471.3 MB, free: 1.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.646, allocations: 255.3 kB / 471.5 MB, free: 1.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.6461, allocations: 41.69 kB / 471.6 MB, free: 1.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.6463, allocations: 235.8 kB / 471.8 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.6465, allocations: 157.7 kB / 471.9 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.6465, allocations: 8 kB / 472 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6467, allocations: 350.8 kB / 472.3 MB, free: 396 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.6472, allocations: 213.1 kB / 472.5 MB, free: 184 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.6478, allocations: 357.5 kB / 472.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.6484, allocations: 277 kB / 473.1 MB, free: 15.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.279e-06/0.6484, allocations: 4 kB / 473.1 MB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001346/0.6498, allocations: 0.6177 MB / 473.7 MB, free: 14.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6498, allocations: 4.594 kB / 473.8 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.6498, allocations: 4 kB / 473.8 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6499, allocations: 12 kB / 473.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.6505, allocations: 115.8 kB / 473.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.6505, allocations: 9.688 kB / 473.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.6509, allocations: 35.91 kB / 473.9 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.651, allocations: 23.98 kB / 473.9 MB, free: 14.67 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.0001645/0.6512, allocations: 124.8 kB / 474.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6513, allocations: 39.53 kB / 474.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6526, allocations: 0.5363 MB / 474.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/0.6526, allocations: 19.94 kB / 474.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-06/0.6526, allocations: 0 / 474.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6527, allocations: 7.984 kB / 474.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6553, allocations: 1.165 MB / 475.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.597e-06/0.6554, allocations: 0 / 475.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.6559, allocations: 83.88 kB / 475.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.6559, allocations: 4 kB / 475.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.656, allocations: 8 kB / 475.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.947e-06/0.656, allocations: 4 kB / 475.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/0.656, allocations: 0 / 475.9 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6577, allocations: 0.9452 MB / 476.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.6579, allocations: 104.6 kB / 477 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.658, allocations: 16.58 kB / 477 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.6583, allocations: 27.97 kB / 477 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.6584, allocations: 19.97 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.6585, allocations: 8 kB / 477.1 MB, free: 11.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003045/0.6588, allocations: 206.2 kB / 477.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.6588, allocations: 0 / 477.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007453/0.6596, allocations: 129.4 kB / 477.4 MB, free: 11.09 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.0002833/0.6599, allocations: 135.1 kB / 477.5 MB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.661, allocations: 0.5134 MB / 478 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.05e-06/0.661, allocations: 0 / 478 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.6615, allocations: 248.3 kB / 478.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.662, allocations: 63.97 kB / 478.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.664, allocations: 0.9314 MB / 479.3 MB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.6647, allocations: 0.8832 MB / 480.1 MB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005163/0.6653, allocations: 135.1 kB / 480.3 MB, free: 8.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6654, allocations: 27.44 kB / 480.3 MB, free: 8.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.826e-06/0.6654, allocations: 0 / 480.3 MB, free: 8.09 MB / 410.7 MB Notification: Performance of Templates: time 0.01164/0.6771, allocations: 3.626 MB / 483.9 MB, free: 4.484 MB / 410.7 MB