Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.409/2.409, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.416e-05, allocations: 7.984 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 53.23 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5839, allocations: 95.2 MB / 450.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5843, allocations: 71.97 kB / 450.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06721/0.6515, allocations: 13.15 MB / 463.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.6516, allocations: 0 / 463.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.33e-05/0.6517, allocations: 11.94 kB / 464 MB, free: 9.148 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.002102/0.6538, allocations: 0.6795 MB / 464.6 MB, free: 8.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.6539, allocations: 8.031 kB / 464.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/0.6541, allocations: 90.53 kB / 464.7 MB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.6551, allocations: 91.28 kB / 464.8 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.659, allocations: 0.8525 MB / 465.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.6591, allocations: 24.78 kB / 465.7 MB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.6593, allocations: 39.98 kB / 465.7 MB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.661, allocations: 0.646 MB / 466.4 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6611, allocations: 4 kB / 466.4 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.6612, allocations: 19.95 kB / 466.4 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.6614, allocations: 44.75 kB / 466.4 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.6633, allocations: 0.6185 MB / 467.1 MB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/0.6697, allocations: 2.444 MB / 469.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.6706, allocations: 335.5 kB / 469.8 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.6712, allocations: 250.1 kB / 470.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.6713, allocations: 4 kB / 470.1 MB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.6713, allocations: 38.55 kB / 470.1 MB, free: 2.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.286e-06/0.6714, allocations: 0 / 470.1 MB, free: 2.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.003257/0.6746, allocations: 1.251 MB / 471.4 MB, free: 1.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.6747, allocations: 81.39 kB / 471.5 MB, free: 1.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.6752, allocations: 259.3 kB / 471.7 MB, free: 1.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.6753, allocations: 33.64 kB / 471.7 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.6755, allocations: 243.7 kB / 472 MB, free: 0.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.6758, allocations: 161.6 kB / 472.1 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.6758, allocations: 8 kB / 472.1 MB, free: 0.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.676, allocations: 358.8 kB / 472.5 MB, free: 228 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.6766, allocations: 209 kB / 472.7 MB, free: 20 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.6773, allocations: 349.6 kB / 473 MB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.678, allocations: 281 kB / 473.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.678, allocations: 4 kB / 473.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001593/0.6796, allocations: 0.6066 MB / 473.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.6797, allocations: 20.95 kB / 473.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.6798, allocations: 4 kB / 473.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.6798, allocations: 8 kB / 474 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.6807, allocations: 103.9 kB / 474.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.6808, allocations: 19.92 kB / 474.1 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.6813, allocations: 35.91 kB / 474.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.6814, allocations: 20 kB / 474.1 MB, free: 14.52 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.0001797/0.6816, allocations: 128.8 kB / 474.3 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.6817, allocations: 35.53 kB / 474.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.6833, allocations: 0.5441 MB / 474.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.22e-05/0.6834, allocations: 13.22 kB / 474.8 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6834, allocations: 4 kB / 474.9 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6834, allocations: 3.984 kB / 474.9 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.6868, allocations: 1.165 MB / 476 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.6869, allocations: 4 kB / 476 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008192/0.6877, allocations: 79.88 kB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.6878, allocations: 0 / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.6878, allocations: 8 kB / 476.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.6879, allocations: 4 kB / 476.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6879, allocations: 7.891 kB / 476.1 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.6899, allocations: 0.9376 MB / 477.1 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.6901, allocations: 104.6 kB / 477.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.6902, allocations: 16.03 kB / 477.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.6906, allocations: 24.62 kB / 477.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.6907, allocations: 27.91 kB / 477.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.6908, allocations: 11.98 kB / 477.2 MB, free: 11.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.6912, allocations: 202.2 kB / 477.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6912, allocations: 0 / 477.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008211/0.692, allocations: 120 kB / 477.6 MB, free: 10.94 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.002625/0.6947, allocations: 1.804 MB / 479.4 MB, free: 9.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.696, allocations: 0.5117 MB / 479.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6961, allocations: 0 / 479.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.6967, allocations: 249 kB / 480.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.6973, allocations: 64.98 kB / 480.2 MB, free: 8.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.7005, allocations: 1.065 MB / 481.2 MB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.7012, allocations: 0.8832 MB / 482.1 MB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006899/0.7019, allocations: 131.1 kB / 482.3 MB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.7023, allocations: 143.4 kB / 482.4 MB, free: 5.977 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7023, allocations: 4 kB / 482.4 MB, free: 5.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.7382, allocations: 7.516 MB / 489.9 MB, free: 14.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.7386, allocations: 155.7 kB / 490.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.313, allocations: 3.938 kB / 490.1 MB, free: 14.31 MB / 426.7 MB