Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.668/2.668, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.727e-05, allocations: 7.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.613, allocations: 95.84 MB / 451.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/0.6135, allocations: 87.94 kB / 451.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06358/0.6771, allocations: 12.52 MB / 464 MB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6772, allocations: 0 / 464 MB, free: 9.023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.6773, allocations: 12 kB / 464 MB, free: 9.012 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003052/0.6803, allocations: 0.6786 MB / 464.7 MB, free: 8.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.068e-05/0.6804, allocations: 12.03 kB / 464.7 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003512/0.6808, allocations: 90.52 kB / 464.8 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.6822, allocations: 91.38 kB / 464.9 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.6877, allocations: 0.838 MB / 465.7 MB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.6878, allocations: 32.94 kB / 465.7 MB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.688, allocations: 43.98 kB / 465.8 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.6902, allocations: 0.6192 MB / 466.4 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.6903, allocations: 4 kB / 466.4 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6904, allocations: 16 kB / 466.4 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.6905, allocations: 28.77 kB / 466.4 MB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.6926, allocations: 425.2 kB / 466.9 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008282/0.7009, allocations: 2.929 MB / 469.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.7018, allocations: 189.1 kB / 470 MB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.7024, allocations: 129.7 kB / 470.1 MB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/0.7025, allocations: 8 kB / 470.1 MB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.7026, allocations: 38.56 kB / 470.1 MB, free: 2.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 9.527e-06/0.7026, allocations: 0 / 470.1 MB, free: 2.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.003677/0.7063, allocations: 0.8645 MB / 471 MB, free: 1.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.7065, allocations: 81.25 kB / 471.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.7072, allocations: 286.6 kB / 471.4 MB, free: 1.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.7073, allocations: 33.7 kB / 471.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.7076, allocations: 295.1 kB / 471.7 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.7078, allocations: 90.73 kB / 471.8 MB, free: 0.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.7079, allocations: 8 kB / 471.8 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.7082, allocations: 346.8 kB / 472.1 MB, free: 448 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.7087, allocations: 140.8 kB / 472.3 MB, free: 308 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.7096, allocations: 320.4 kB / 472.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.7103, allocations: 204.9 kB / 472.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.7104, allocations: 0.5625 kB / 472.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002593/0.713, allocations: 0.5588 MB / 473.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.7131, allocations: 12.75 kB / 473.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001551/0.7146, allocations: 324.5 kB / 473.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007882/0.7155, allocations: 76.8 kB / 473.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.7166, allocations: 91.81 kB / 473.8 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.7194, allocations: 1.592 MB / 475.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.72, allocations: 23.97 kB / 475.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.7201, allocations: 20 kB / 475.5 MB, free: 12.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.7203, allocations: 132.8 kB / 475.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.7204, allocations: 35.58 kB / 475.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.7215, allocations: 348.6 kB / 476 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/0.7216, allocations: 15.98 kB / 476 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7216, allocations: 0 / 476 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7216, allocations: 0 / 476 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.724, allocations: 0.8643 MB / 476.8 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7241, allocations: 0 / 476.8 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.7248, allocations: 55.97 kB / 476.9 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.7248, allocations: 4 kB / 476.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.7249, allocations: 11.92 kB / 476.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/0.7249, allocations: 4 kB / 476.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7249, allocations: 0.5625 kB / 476.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.7262, allocations: 0.5767 MB / 477.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.7264, allocations: 116.7 kB / 477.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.7265, allocations: 4 kB / 477.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.7268, allocations: 15.81 kB / 477.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.7269, allocations: 31.86 kB / 477.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.727, allocations: 9.312 kB / 477.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003682/0.7274, allocations: 218.2 kB / 477.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7274, allocations: 0 / 477.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008517/0.7282, allocations: 112 kB / 478 MB, free: 10.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.001781/0.73, allocations: 1.352 MB / 479.3 MB, free: 8.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.7314, allocations: 462.3 kB / 479.8 MB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7315, allocations: 0 / 479.8 MB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.7319, allocations: 139.8 kB / 479.9 MB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.7325, allocations: 55.06 kB / 480 MB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.7354, allocations: 0.9146 MB / 480.9 MB, free: 7.191 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.7363, allocations: 0.8775 MB / 481.8 MB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008049/0.7371, allocations: 107.2 kB / 481.9 MB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.7376, allocations: 147.4 kB / 482 MB, free: 6.027 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7376, allocations: 1.406 kB / 482 MB, free: 6.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/0.8072, allocations: 7.154 MB / 489.2 MB, free: 14.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003583/0.8076, allocations: 186.2 kB / 489.4 MB, free: 14.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.371, allocations: 0 / 489.4 MB, free: 14.72 MB / 426.7 MB