Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.381/2.381, allocations: 233 MB / 245.6 MB, free: 14.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.879e-05, allocations: 7.938 kB / 301.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5734, allocations: 94.93 MB / 449.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.5738, allocations: 79.95 kB / 449.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1212/0.695, allocations: 26.15 MB / 475.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6951, allocations: 0 / 475.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.879e-05/0.6951, allocations: 16 kB / 475.8 MB, free: 12.41 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.002627/0.6978, allocations: 1.022 MB / 476.8 MB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6978, allocations: 8.031 kB / 476.8 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.6981, allocations: 143.7 kB / 476.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.6996, allocations: 162.7 kB / 477.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.7047, allocations: 1.286 MB / 478.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.7048, allocations: 69.92 kB / 478.4 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.7051, allocations: 92.39 kB / 478.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.7079, allocations: 1.122 MB / 479.7 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.708, allocations: 0 / 479.7 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.7081, allocations: 32 kB / 479.7 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.7083, allocations: 77.95 kB / 479.8 MB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.711, allocations: 0.9603 MB / 480.7 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008787/0.7198, allocations: 4.37 MB / 485.1 MB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.7216, allocations: 0.5991 MB / 485.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.7224, allocations: 319.3 kB / 486 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.298e-05/0.7225, allocations: 12.56 kB / 486 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.7225, allocations: 43.06 kB / 486.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 3.477e-06/0.7225, allocations: 0 / 486.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.003826/0.7264, allocations: 1.535 MB / 487.6 MB, free: 112 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.7265, allocations: 85.67 kB / 487.7 MB, free: 8 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.7274, allocations: 488.5 kB / 488.2 MB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.7275, allocations: 33.7 kB / 488.2 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.7278, allocations: 481.8 kB / 488.7 MB, free: 15.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.7281, allocations: 228.8 kB / 488.9 MB, free: 14.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.7282, allocations: 16 kB / 488.9 MB, free: 14.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.7284, allocations: 350.8 kB / 489.2 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.7291, allocations: 281.9 kB / 489.5 MB, free: 14.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.7302, allocations: 0.5978 MB / 490.1 MB, free: 13.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.7311, allocations: 398.9 kB / 490.5 MB, free: 13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.7311, allocations: 4.562 kB / 490.5 MB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003294/0.7345, allocations: 1.098 MB / 491.6 MB, free: 11.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.7345, allocations: 8 kB / 491.6 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002124/0.7366, allocations: 0.7195 MB / 492.3 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.7379, allocations: 214.3 kB / 492.5 MB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.7394, allocations: 207.7 kB / 492.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.7475, allocations: 4.916 MB / 497.7 MB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7489, allocations: 35.91 kB / 497.7 MB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.749, allocations: 47.98 kB / 497.7 MB, free: 5.324 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.000379/0.7494, allocations: 184 kB / 497.9 MB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7497, allocations: 71.14 kB / 498 MB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.7519, allocations: 0.6499 MB / 498.6 MB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.752, allocations: 8 kB / 498.7 MB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.752, allocations: 7.891 kB / 498.7 MB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.752, allocations: 7.984 kB / 498.7 MB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.7581, allocations: 1.597 MB / 0.4885 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7581, allocations: 0 / 0.4885 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/0.7603, allocations: 163.8 kB / 0.4887 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/0.7604, allocations: 4 kB / 0.4887 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.7605, allocations: 19.94 kB / 0.4887 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.7605, allocations: 5.219 kB / 0.4887 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.7605, allocations: 4 kB / 0.4887 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.7638, allocations: 1.113 MB / 0.4898 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.7644, allocations: 184.2 kB / 0.49 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.7646, allocations: 20.11 kB / 0.49 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008041/0.7654, allocations: 20 kB / 0.49 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.7656, allocations: 52.45 kB / 0.4901 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.7658, allocations: 19.98 kB / 0.4901 GB, free: 1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008757/0.7666, allocations: 353.5 kB / 0.4904 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7667, allocations: 0 / 0.4904 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001971/0.7686, allocations: 232.5 kB / 0.4907 GB, free: 440 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.004068/0.7727, allocations: 2.262 MB / 0.4929 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003651/0.7764, allocations: 1.059 MB / 0.4939 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7765, allocations: 4.656 kB / 0.4939 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7776, allocations: 309.9 kB / 0.4942 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.7792, allocations: 135.8 kB / 0.4943 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.7862, allocations: 1.874 MB / 0.4962 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.7876, allocations: 1.092 MB / 0.4972 GB, free: 9.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/0.7886, allocations: 311.3 kB / 0.4975 GB, free: 9.191 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7886, allocations: 0 / 0.4975 GB, free: 9.191 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.079/3.867, allocations: 17.59 MB / 0.5147 GB, free: 7.59 MB / 458.7 MB