Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.353/2.353, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.558e-05/4.563e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.6011, allocations: 95.19 MB / 450.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.6015, allocations: 79 kB / 450.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06378/0.6653, allocations: 13.14 MB / 463.9 MB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.6654, allocations: 0 / 463.9 MB, free: 9.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.6654, allocations: 11.94 kB / 464 MB, free: 9.035 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.001951/0.6674, allocations: 0.6873 MB / 464.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6675, allocations: 8.031 kB / 464.6 MB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.6677, allocations: 86.52 kB / 464.7 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.6686, allocations: 83.3 kB / 464.8 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.6724, allocations: 0.8486 MB / 465.7 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.6725, allocations: 28.78 kB / 465.7 MB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6726, allocations: 40 kB / 465.7 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6743, allocations: 0.646 MB / 466.4 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.6744, allocations: 0 / 466.4 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.282e-05/0.6745, allocations: 35.92 kB / 466.4 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.6747, allocations: 44.75 kB / 466.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.6765, allocations: 0.6185 MB / 467.1 MB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006319/0.6828, allocations: 2.436 MB / 469.5 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.6838, allocations: 330.3 kB / 469.8 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.6844, allocations: 258 kB / 470.1 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.6845, allocations: 7.984 kB / 470.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6846, allocations: 30.56 kB / 470.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.506e-06/0.6846, allocations: 3.188 kB / 470.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.003312/0.6879, allocations: 1.251 MB / 471.4 MB, free: 1.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.688, allocations: 85.42 kB / 471.5 MB, free: 1.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.6885, allocations: 259.3 kB / 471.7 MB, free: 0.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.6886, allocations: 29.7 kB / 471.7 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.6888, allocations: 243.8 kB / 472 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.6891, allocations: 157.7 kB / 472.1 MB, free: 492 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.6891, allocations: 11.98 kB / 472.1 MB, free: 480 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6893, allocations: 350.8 kB / 472.5 MB, free: 120 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.6899, allocations: 213.1 kB / 472.7 MB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.6905, allocations: 353.5 kB / 473 MB, free: 15.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.6912, allocations: 285 kB / 473.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6913, allocations: 0 / 473.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001583/0.6928, allocations: 0.6139 MB / 473.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6929, allocations: 8 kB / 473.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.693, allocations: 4 kB / 473.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.693, allocations: 8.594 kB / 474 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.6939, allocations: 111.8 kB / 474.1 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/0.694, allocations: 15.94 kB / 474.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.6945, allocations: 31.91 kB / 474.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.6946, allocations: 24 kB / 474.1 MB, free: 14.4 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.0001874/0.6948, allocations: 124.9 kB / 474.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.695, allocations: 39.52 kB / 474.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.6965, allocations: 0.54 MB / 474.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/0.6967, allocations: 19.98 kB / 474.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6967, allocations: 4 kB / 474.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.6967, allocations: 0 / 474.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.7001, allocations: 1.165 MB / 476 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.7002, allocations: 4 kB / 476 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.701, allocations: 79.97 kB / 476.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.7011, allocations: 0 / 476.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.7011, allocations: 8 kB / 476.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.7012, allocations: 7.984 kB / 476.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7012, allocations: 3.953 kB / 476.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.7033, allocations: 0.9383 MB / 477.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.7036, allocations: 112.7 kB / 477.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.7037, allocations: 8 kB / 477.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.7042, allocations: 23.97 kB / 477.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.7043, allocations: 27.97 kB / 477.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.7043, allocations: 8 kB / 477.2 MB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004092/0.7047, allocations: 198.2 kB / 477.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7048, allocations: 0 / 477.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009043/0.7057, allocations: 128 kB / 477.6 MB, free: 10.83 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.003066/0.7088, allocations: 1.806 MB / 479.4 MB, free: 8.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.7103, allocations: 0.5143 MB / 479.9 MB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7103, allocations: 0 / 479.9 MB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.7109, allocations: 247.8 kB / 480.1 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.7117, allocations: 64.91 kB / 480.2 MB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.7149, allocations: 1.062 MB / 481.2 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.7156, allocations: 0.8793 MB / 482.1 MB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006981/0.7163, allocations: 131.1 kB / 482.2 MB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.7167, allocations: 151.3 kB / 482.4 MB, free: 5.863 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7167, allocations: 0 / 482.4 MB, free: 5.863 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.7547, allocations: 7.527 MB / 489.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/0.755, allocations: 155.2 kB / 490.1 MB, free: 14.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.404, allocations: 4 kB / 490.1 MB, free: 14.19 MB / 426.7 MB