Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.468/2.468, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.398e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.6062, allocations: 96.91 MB / 452.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.6066, allocations: 87.95 kB / 452.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06596/0.6725, allocations: 14.54 MB / 467.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6726, allocations: 0 / 467.1 MB, free: 5.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.6727, allocations: 11.94 kB / 467.1 MB, free: 5.875 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.001648/0.6743, allocations: 0.6758 MB / 467.8 MB, free: 5.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6744, allocations: 8.031 kB / 467.8 MB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.6745, allocations: 90.52 kB / 467.9 MB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.6755, allocations: 95.27 kB / 467.9 MB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.6789, allocations: 0.8419 MB / 468.8 MB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.679, allocations: 28.98 kB / 468.8 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6791, allocations: 39.95 kB / 468.9 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6806, allocations: 0.631 MB / 469.5 MB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.6807, allocations: 4 kB / 469.5 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.6807, allocations: 15.98 kB / 469.5 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.6809, allocations: 44.75 kB / 469.6 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.6821, allocations: 442.5 kB / 470 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.6873, allocations: 3.04 MB / 473 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/0.6881, allocations: 253.3 kB / 473.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.6884, allocations: 145.7 kB / 473.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.6885, allocations: 4 kB / 473.4 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6885, allocations: 35.17 kB / 473.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.256e-06/0.6885, allocations: 0 / 473.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002295/0.6909, allocations: 0.897 MB / 474.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.691, allocations: 81.52 kB / 474.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.6914, allocations: 278.6 kB / 474.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.6915, allocations: 33.7 kB / 474.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.6917, allocations: 275.2 kB / 475 MB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6919, allocations: 106.5 kB / 475.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.6919, allocations: 4 kB / 475.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6921, allocations: 354.8 kB / 475.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.6925, allocations: 148.9 kB / 475.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.693, allocations: 318.5 kB / 475.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.6936, allocations: 211.8 kB / 476.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6936, allocations: 0 / 476.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001793/0.6954, allocations: 0.5936 MB / 476.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6954, allocations: 8 kB / 476.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001154/0.6966, allocations: 374.5 kB / 477.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.6973, allocations: 113.6 kB / 477.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.6979, allocations: 91.81 kB / 477.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.7017, allocations: 3.015 MB / 480.3 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.7023, allocations: 23.94 kB / 480.3 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.7023, allocations: 20 kB / 480.3 MB, free: 7.773 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.0001783/0.7025, allocations: 133.2 kB / 480.5 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.7026, allocations: 31.62 kB / 480.5 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.7037, allocations: 377.2 kB / 480.9 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.7038, allocations: 8 kB / 480.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7038, allocations: 0 / 480.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7038, allocations: 0 / 480.9 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.7059, allocations: 0.8708 MB / 481.8 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.706, allocations: 3.938 kB / 481.8 MB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.7068, allocations: 71.89 kB / 481.8 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.7068, allocations: 0 / 481.8 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.7068, allocations: 7.953 kB / 481.8 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.7069, allocations: 4 kB / 481.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7069, allocations: 0 / 481.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.7082, allocations: 0.6124 MB / 482.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.7085, allocations: 128.8 kB / 482.6 MB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.7086, allocations: 12 kB / 482.6 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.7089, allocations: 27.91 kB / 482.6 MB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.709, allocations: 19.92 kB / 482.6 MB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.7091, allocations: 4 kB / 482.6 MB, free: 5.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003487/0.7094, allocations: 218.2 kB / 482.9 MB, free: 5.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7094, allocations: 0 / 482.9 MB, free: 5.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008063/0.7102, allocations: 115.9 kB / 483 MB, free: 5.012 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.00184/0.7121, allocations: 1.399 MB / 484.4 MB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.7137, allocations: 0.5773 MB / 484.9 MB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7137, allocations: 1.562 kB / 484.9 MB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.7141, allocations: 148.9 kB / 485.1 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.7148, allocations: 65.27 kB / 485.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.7175, allocations: 0.9302 MB / 486.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.7182, allocations: 0.8893 MB / 487 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/0.7187, allocations: 111.2 kB / 487.1 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.7191, allocations: 143.4 kB / 487.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7191, allocations: 0 / 487.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.7532, allocations: 7.486 MB / 494.7 MB, free: 9.223 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.7536, allocations: 176.9 kB / 494.9 MB, free: 8.992 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.411, allocations: 0 / 494.9 MB, free: 8.992 MB / 426.7 MB