Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.41/2.41, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.674e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.575, allocations: 96.29 MB / 451.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.5754, allocations: 86.17 kB / 451.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07231/0.6478, allocations: 15.03 MB / 466.9 MB, free: 6.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6478, allocations: 0 / 466.9 MB, free: 6.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.6479, allocations: 12 kB / 466.9 MB, free: 6 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00194/0.6498, allocations: 0.6799 MB / 467.6 MB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.6499, allocations: 16.02 kB / 467.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.6501, allocations: 86.52 kB / 467.7 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.6512, allocations: 91.36 kB / 467.8 MB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.6548, allocations: 0.8486 MB / 468.7 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.6549, allocations: 28.78 kB / 468.7 MB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.6551, allocations: 45.06 kB / 468.7 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.6568, allocations: 0.6577 MB / 469.4 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6568, allocations: 3.938 kB / 469.4 MB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.6569, allocations: 19.98 kB / 469.4 MB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.6572, allocations: 60.73 kB / 469.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.659, allocations: 0.6069 MB / 470.1 MB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.6653, allocations: 2.554 MB / 472.6 MB, free: 36 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/0.6663, allocations: 317.3 kB / 472.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.6668, allocations: 225.7 kB / 473.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.6669, allocations: 11.98 kB / 473.2 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.667, allocations: 34.56 kB / 473.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.888e-06/0.667, allocations: 0 / 473.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00314/0.6701, allocations: 1.225 MB / 474.4 MB, free: 14.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.6702, allocations: 81.11 kB / 474.5 MB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.6707, allocations: 235.5 kB / 474.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.6707, allocations: 33.7 kB / 474.8 MB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.671, allocations: 247.7 kB / 475 MB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.6712, allocations: 149.8 kB / 475.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.6712, allocations: 8 kB / 475.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6714, allocations: 350.8 kB / 475.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.6719, allocations: 196.9 kB / 475.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.6725, allocations: 326.3 kB / 476 MB, free: 12.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.6732, allocations: 257 kB / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6732, allocations: 0 / 476.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00205/0.6753, allocations: 0.6818 MB / 477 MB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.6754, allocations: 8 kB / 477 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.6769, allocations: 0.5207 MB / 477.5 MB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007261/0.6777, allocations: 113.6 kB / 477.6 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.6783, allocations: 79.89 kB / 477.7 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.6825, allocations: 3.011 MB / 480.7 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.6831, allocations: 27.97 kB / 480.7 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.6832, allocations: 16 kB / 480.7 MB, free: 7.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * 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.0001798/0.6834, allocations: 122 kB / 480.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.6835, allocations: 35.56 kB / 480.9 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.6849, allocations: 0.516 MB / 481.4 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-05/0.685, allocations: 19.98 kB / 481.4 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.685, allocations: 0 / 481.4 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.685, allocations: 3.938 kB / 481.4 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.6878, allocations: 1.079 MB / 482.5 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.6878, allocations: 7.938 kB / 482.5 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/0.6887, allocations: 76 kB / 482.6 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6887, allocations: 4.078 kB / 482.6 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.6888, allocations: 8 kB / 482.6 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.6888, allocations: 4 kB / 482.6 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6888, allocations: 3.938 kB / 482.6 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.6907, allocations: 0.8522 MB / 483.5 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.6911, allocations: 144.7 kB / 483.6 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.6912, allocations: 8 kB / 483.6 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.6916, allocations: 23.97 kB / 483.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.6917, allocations: 24.16 kB / 483.7 MB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6917, allocations: 12 kB / 483.7 MB, free: 4.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003153/0.6921, allocations: 195.1 kB / 483.9 MB, free: 4.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6921, allocations: 0 / 483.9 MB, free: 4.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008555/0.6929, allocations: 139.9 kB / 484 MB, free: 4.07 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.002441/0.6954, allocations: 1.642 MB / 485.6 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.6973, allocations: 0.7428 MB / 486.4 MB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6973, allocations: 0 / 486.4 MB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.6979, allocations: 228 kB / 486.6 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.6985, allocations: 53.72 kB / 486.7 MB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.7015, allocations: 1.039 MB / 487.7 MB, free: 260 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.7022, allocations: 0.8865 MB / 488.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.7028, allocations: 111.2 kB / 488.7 MB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.7032, allocations: 143.4 kB / 488.8 MB, free: 15.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7032, allocations: 0 / 488.8 MB, free: 15.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.7444, allocations: 7.895 MB / 496.7 MB, free: 7.289 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.7447, allocations: 163.6 kB / 496.9 MB, free: 7.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/3.454, allocations: 3.938 kB / 496.9 MB, free: 7.062 MB / 426.7 MB