Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.397/2.397, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.09e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 53.23 MB / 355.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5881, allocations: 96.93 MB / 452.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.5885, allocations: 87.95 kB / 452.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06646/0.655, allocations: 14.54 MB / 467.1 MB, free: 6.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6551, allocations: 0 / 467.1 MB, free: 6.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.213e-05/0.6551, allocations: 12 kB / 467.1 MB, free: 6.133 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001685/0.6568, allocations: 0.6797 MB / 467.8 MB, free: 5.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6569, allocations: 8.031 kB / 467.8 MB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.657, allocations: 78.53 kB / 467.8 MB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/0.658, allocations: 95.38 kB / 467.9 MB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.6615, allocations: 0.8496 MB / 468.8 MB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.6616, allocations: 32.98 kB / 468.8 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.6617, allocations: 43.95 kB / 468.9 MB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.6632, allocations: 0.6259 MB / 469.5 MB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.6632, allocations: 7.938 kB / 469.5 MB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.6633, allocations: 16 kB / 469.5 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.6635, allocations: 40.75 kB / 469.6 MB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.6646, allocations: 445.1 kB / 470 MB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.6697, allocations: 3.032 MB / 473 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.6706, allocations: 253.3 kB / 473.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.6709, allocations: 145.8 kB / 473.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.671, allocations: 7.969 kB / 473.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.6711, allocations: 39.17 kB / 473.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.386e-06/0.6711, allocations: 0 / 473.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002373/0.6734, allocations: 0.8969 MB / 474.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.6736, allocations: 85.48 kB / 474.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.674, allocations: 278.6 kB / 474.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.6741, allocations: 29.7 kB / 474.7 MB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.6743, allocations: 275.2 kB / 475 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6745, allocations: 114.5 kB / 475.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.6745, allocations: 4 kB / 475.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6747, allocations: 350.8 kB / 475.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.6751, allocations: 145 kB / 475.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.6756, allocations: 322.5 kB / 475.9 MB, free: 12.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.6762, allocations: 203.8 kB / 476.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.6762, allocations: 4 kB / 476.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001825/0.678, allocations: 0.5936 MB / 476.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.6781, allocations: 12 kB / 476.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001158/0.6793, allocations: 374.5 kB / 477.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/0.68, allocations: 109.6 kB / 477.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.6806, allocations: 83.83 kB / 477.3 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/0.6845, allocations: 3.018 MB / 480.3 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.6851, allocations: 27.92 kB / 480.3 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.6851, allocations: 20 kB / 480.4 MB, free: 8.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.6853, allocations: 133.2 kB / 480.5 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.6854, allocations: 27.62 kB / 480.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.6864, allocations: 369.3 kB / 480.9 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.6865, allocations: 11.98 kB / 480.9 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6865, allocations: 0 / 480.9 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6865, allocations: 4 kB / 480.9 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.6886, allocations: 0.8746 MB / 481.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6886, allocations: 0 / 481.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007535/0.6894, allocations: 67.88 kB / 481.8 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6894, allocations: 4 kB / 481.8 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.6894, allocations: 8 kB / 481.8 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.6895, allocations: 3.953 kB / 481.8 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6895, allocations: 4 kB / 481.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6908, allocations: 0.6124 MB / 482.5 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.691, allocations: 128.8 kB / 482.6 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.6911, allocations: 12 kB / 482.6 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.6915, allocations: 15.92 kB / 482.6 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.6915, allocations: 19.91 kB / 482.6 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.6916, allocations: 12 kB / 482.6 MB, free: 5.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.6919, allocations: 214.2 kB / 482.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.692, allocations: 0 / 482.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008303/0.6928, allocations: 119.9 kB / 483 MB, free: 5.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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.001984/0.6948, allocations: 1.395 MB / 484.4 MB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.6964, allocations: 0.589 MB / 485 MB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6964, allocations: 1.562 kB / 485 MB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.6968, allocations: 148.9 kB / 485.1 MB, free: 3.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.6974, allocations: 61.33 kB / 485.2 MB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.7, allocations: 0.9302 MB / 486.1 MB, free: 2.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.7007, allocations: 0.8816 MB / 487 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005993/0.7013, allocations: 115.2 kB / 487.1 MB, free: 1.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.7017, allocations: 143.4 kB / 487.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.7017, allocations: 0 / 487.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.7398, allocations: 7.489 MB / 494.7 MB, free: 9.477 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/0.7403, allocations: 188.4 kB / 494.9 MB, free: 9.242 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.592, allocations: 4 kB / 494.9 MB, free: 9.238 MB / 426.7 MB