Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.499/2.499, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.407e-05/4.416e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 53.22 MB / 355.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.5993, allocations: 94.94 MB / 450.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.5997, allocations: 75.97 kB / 450.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1428/0.7425, allocations: 26.15 MB / 476.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7426, allocations: 4 kB / 476.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.45e-05/0.7427, allocations: 19.94 kB / 476.7 MB, free: 12.23 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.00383/0.7465, allocations: 1.014 MB / 477.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.55e-05/0.7466, allocations: 8.031 kB / 477.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004101/0.7471, allocations: 139.7 kB / 477.9 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.7492, allocations: 166.7 kB / 478 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/0.7564, allocations: 1.286 MB / 479.3 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.7566, allocations: 69.97 kB / 479.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/0.757, allocations: 84.41 kB / 479.5 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.761, allocations: 1.122 MB / 480.6 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.394e-05/0.7611, allocations: 7.922 kB / 480.6 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.7613, allocations: 35.98 kB / 480.6 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.7615, allocations: 77.97 kB / 480.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.7655, allocations: 0.9603 MB / 481.7 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.7779, allocations: 4.358 MB / 486 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.7804, allocations: 0.6064 MB / 486.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.7815, allocations: 319.4 kB / 486.9 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.259e-05/0.7816, allocations: 12.55 kB / 487 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.7817, allocations: 39.12 kB / 487 MB, free: 1.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 5.46e-06/0.7817, allocations: 0 / 487 MB, free: 1.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.005417/0.7871, allocations: 1.546 MB / 488.5 MB, free: 15.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.7873, allocations: 85.67 kB / 488.6 MB, free: 15.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.7885, allocations: 484.6 kB / 489.1 MB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.7886, allocations: 33.7 kB / 489.1 MB, free: 15.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/0.7892, allocations: 443.2 kB / 489.6 MB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.7895, allocations: 220.9 kB / 489.8 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/0.7896, allocations: 19.98 kB / 489.8 MB, free: 14.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.7899, allocations: 378.7 kB / 490.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.791, allocations: 285.9 kB / 490.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.7924, allocations: 0.5978 MB / 491 MB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.7937, allocations: 401 kB / 491.4 MB, free: 12.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.7938, allocations: 4 kB / 491.4 MB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004766/0.7986, allocations: 1.129 MB / 492.6 MB, free: 11.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.7987, allocations: 12 kB / 492.6 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002946/0.8016, allocations: 0.7069 MB / 493.3 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.8032, allocations: 222.6 kB / 493.5 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.8051, allocations: 203.6 kB / 493.7 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009429/0.8146, allocations: 4.911 MB / 498.6 MB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.8161, allocations: 35.91 kB / 498.7 MB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.8163, allocations: 47.98 kB / 498.7 MB, free: 5.133 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.000446/0.8167, allocations: 183.8 kB / 498.9 MB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.817, allocations: 67.16 kB / 498.9 MB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.8194, allocations: 0.6499 MB / 499.6 MB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.8195, allocations: 11.94 kB / 499.6 MB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.8195, allocations: 7.953 kB / 499.6 MB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.8196, allocations: 3.984 kB / 499.6 MB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007009/0.8266, allocations: 1.597 MB / 0.4895 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.8267, allocations: 4 kB / 0.4895 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.8288, allocations: 159.8 kB / 0.4896 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.8289, allocations: 12.22 kB / 0.4896 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.829, allocations: 12 kB / 0.4896 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/0.829, allocations: 13.34 kB / 0.4897 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8291, allocations: 0 / 0.4897 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.8327, allocations: 1.117 MB / 0.4908 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.8335, allocations: 184.2 kB / 0.4909 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.8338, allocations: 19.98 kB / 0.4909 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/0.8348, allocations: 16 kB / 0.491 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.835, allocations: 52.48 kB / 0.491 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.8352, allocations: 24.11 kB / 0.491 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.8363, allocations: 353.5 kB / 0.4914 GB, free: 472 kB / 426.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.8363, allocations: 0 / 0.4914 GB, free: 472 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002261/0.8386, allocations: 236.1 kB / 0.4916 GB, free: 236 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.004938/0.8436, allocations: 2.254 MB / 0.4938 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00439/0.8481, allocations: 1.066 MB / 0.4948 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.8481, allocations: 0 / 0.4948 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.8492, allocations: 315.3 kB / 0.4951 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.8505, allocations: 138.2 kB / 0.4953 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.8554, allocations: 1.796 MB / 0.497 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.8565, allocations: 1.092 MB / 0.4981 GB, free: 9.379 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001144/0.8576, allocations: 217.6 kB / 0.4983 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.8583, allocations: 303.3 kB / 0.4986 GB, free: 8.867 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8583, allocations: 0 / 0.4986 GB, free: 8.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09287/0.9512, allocations: 14.73 MB / 0.513 GB, free: 10.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.9515, allocations: 175.7 kB / 0.5131 GB, free: 9.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/3.886, allocations: 0 / 0.5131 GB, free: 9.98 MB / 458.7 MB