Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.291/2.291, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.39e-05, allocations: 4 kB / 302.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 53.22 MB / 355.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5837, allocations: 94.93 MB / 450.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.584, allocations: 79.95 kB / 450.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.7063, allocations: 26.16 MB / 476.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7064, allocations: 0 / 476.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-05/0.7064, allocations: 19.94 kB / 476.7 MB, free: 12.15 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003083/0.7095, allocations: 1.014 MB / 477.7 MB, free: 11.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.7096, allocations: 12.02 kB / 477.7 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004513/0.7101, allocations: 143.7 kB / 477.9 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.7118, allocations: 162.7 kB / 478 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005787/0.7176, allocations: 1.283 MB / 479.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.7178, allocations: 73.92 kB / 479.4 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.7181, allocations: 80.42 kB / 479.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.7209, allocations: 1.126 MB / 480.6 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.721, allocations: 3.938 kB / 480.6 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.7211, allocations: 35.98 kB / 480.6 MB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.7213, allocations: 81.95 kB / 480.7 MB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.7241, allocations: 0.9603 MB / 481.7 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009046/0.7332, allocations: 4.366 MB / 486 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.735, allocations: 0.599 MB / 486.6 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.7358, allocations: 320 kB / 486.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.7359, allocations: 4.562 kB / 486.9 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.7359, allocations: 43.12 kB / 487 MB, free: 1.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 3.757e-06/0.7359, allocations: 3.938 kB / 487 MB, free: 1.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.003905/0.7398, allocations: 1.539 MB / 488.5 MB, free: 15.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.7399, allocations: 85.67 kB / 488.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.7409, allocations: 480.6 kB / 489.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.7409, allocations: 41.72 kB / 489.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.7414, allocations: 438.7 kB / 489.6 MB, free: 14.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.7416, allocations: 224.9 kB / 489.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.7417, allocations: 20 kB / 489.8 MB, free: 14.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.7419, allocations: 378.7 kB / 490.2 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.7427, allocations: 277.9 kB / 490.4 MB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.7437, allocations: 0.5979 MB / 491 MB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.7447, allocations: 402.9 kB / 491.4 MB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.7447, allocations: 4 kB / 491.4 MB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003343/0.7481, allocations: 1.126 MB / 492.6 MB, free: 11.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.7481, allocations: 13.88 kB / 492.6 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002142/0.7503, allocations: 0.7186 MB / 493.3 MB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.7515, allocations: 214.3 kB / 493.5 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.753, allocations: 203.7 kB / 493.7 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006708/0.7597, allocations: 4.919 MB / 498.6 MB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.7608, allocations: 35.89 kB / 498.7 MB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.7609, allocations: 44 kB / 498.7 MB, free: 5.047 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.7612, allocations: 183.8 kB / 498.9 MB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.7614, allocations: 67.16 kB / 498.9 MB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.7631, allocations: 0.6499 MB / 499.6 MB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7631, allocations: 11.98 kB / 499.6 MB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.7631, allocations: 7.891 kB / 499.6 MB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7631, allocations: 0 / 499.6 MB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.7673, allocations: 1.601 MB / 0.4895 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7674, allocations: 4 kB / 0.4895 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.7689, allocations: 159.8 kB / 0.4896 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.7689, allocations: 8 kB / 0.4896 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.769, allocations: 15.98 kB / 0.4896 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.769, allocations: 9.156 kB / 0.4896 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7691, allocations: 8 kB / 0.4897 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.7714, allocations: 1.117 MB / 0.4907 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.7718, allocations: 184.2 kB / 0.4909 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.772, allocations: 24 kB / 0.4909 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.7726, allocations: 19.98 kB / 0.491 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.7727, allocations: 44.45 kB / 0.491 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/0.7728, allocations: 20 kB / 0.491 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006518/0.7735, allocations: 349.5 kB / 0.4914 GB, free: 388 kB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7735, allocations: 0 / 0.4914 GB, free: 388 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001294/0.7748, allocations: 244.5 kB / 0.4916 GB, free: 144 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.002964/0.7778, allocations: 2.252 MB / 0.4938 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.7805, allocations: 1.059 MB / 0.4948 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7805, allocations: 1.312 kB / 0.4948 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.7813, allocations: 313.9 kB / 0.4951 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.7825, allocations: 140.7 kB / 0.4953 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.7876, allocations: 1.799 MB / 0.497 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7887, allocations: 1.088 MB / 0.4981 GB, free: 9.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.7898, allocations: 213.6 kB / 0.4983 GB, free: 9.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006437/0.7905, allocations: 311.3 kB / 0.4986 GB, free: 8.781 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7905, allocations: 0 / 0.4986 GB, free: 8.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.8423, allocations: 14.73 MB / 0.513 GB, free: 10.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.8426, allocations: 160.2 kB / 0.5131 GB, free: 9.895 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/3.856, allocations: 0 / 0.5131 GB, free: 9.895 MB / 458.7 MB