Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.361/2.361, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.865e-05, allocations: 7.984 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 53.23 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5844, allocations: 97.08 MB / 452.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.5848, allocations: 87.95 kB / 452.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06504/0.6499, allocations: 13.64 MB / 466.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6499, allocations: 0 / 466.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.096e-05/0.65, allocations: 12 kB / 466.4 MB, free: 6.73 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.002203/0.6522, allocations: 0.7266 MB / 467.1 MB, free: 5.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6523, allocations: 8.031 kB / 467.1 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.6524, allocations: 86.52 kB / 467.2 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.6532, allocations: 91.3 kB / 467.3 MB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.6571, allocations: 0.9353 MB / 468.2 MB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.6572, allocations: 33 kB / 468.2 MB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.6573, allocations: 40 kB / 468.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.6588, allocations: 0.666 MB / 468.9 MB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.6589, allocations: 7.938 kB / 468.9 MB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/0.659, allocations: 16 kB / 469 MB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.6591, allocations: 36.75 kB / 469 MB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.6604, allocations: 493.2 kB / 469.5 MB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.6666, allocations: 3.017 MB / 472.5 MB, free: 296 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.6676, allocations: 325.6 kB / 472.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.6681, allocations: 194 kB / 473 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.6681, allocations: 8 kB / 473 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.6682, allocations: 42.72 kB / 473 MB, free: 15.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.677e-06/0.6682, allocations: 0 / 473 MB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003069/0.6713, allocations: 1.162 MB / 474.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.6714, allocations: 81.11 kB / 474.3 MB, free: 14.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.672, allocations: 331.5 kB / 474.6 MB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.672, allocations: 33.73 kB / 474.6 MB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.6723, allocations: 283.5 kB / 474.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.6725, allocations: 138.6 kB / 475.1 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.6725, allocations: 8 kB / 475.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6727, allocations: 358.8 kB / 475.4 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.6732, allocations: 197 kB / 475.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.6739, allocations: 369.8 kB / 476 MB, free: 12.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.6746, allocations: 265.1 kB / 476.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6746, allocations: 5.969 kB / 476.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003728/0.6783, allocations: 0.8359 MB / 477.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6784, allocations: 8 kB / 477.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6784, allocations: 4.562 kB / 477.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.6814, allocations: 293.4 kB / 477.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6827, allocations: 147.7 kB / 477.5 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.6906, allocations: 3.78 MB / 481.3 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.6914, allocations: 32.03 kB / 481.3 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.6914, allocations: 27.98 kB / 481.4 MB, free: 6.934 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.6917, allocations: 140.8 kB / 481.5 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6918, allocations: 43.44 kB / 481.5 MB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.6932, allocations: 0.5171 MB / 482 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/0.6933, allocations: 12 kB / 482.1 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6933, allocations: 3.938 kB / 482.1 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6933, allocations: 0 / 482.1 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.6959, allocations: 1.085 MB / 483.1 MB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6959, allocations: 0 / 483.1 MB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009341/0.6969, allocations: 93.09 kB / 483.2 MB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.6969, allocations: 8.062 kB / 483.2 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.697, allocations: 11.98 kB / 483.3 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.697, allocations: 4.547 kB / 483.3 MB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.697, allocations: 0 / 483.3 MB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.6989, allocations: 0.8673 MB / 484.1 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6991, allocations: 112.6 kB / 484.2 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.6993, allocations: 16.02 kB / 484.3 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.6997, allocations: 24.22 kB / 484.3 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.6998, allocations: 27.95 kB / 484.3 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.6999, allocations: 15.98 kB / 484.3 MB, free: 3.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004543/0.7004, allocations: 254.1 kB / 484.6 MB, free: 3.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7004, allocations: 4 kB / 484.6 MB, free: 3.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008987/0.7013, allocations: 133.4 kB / 484.7 MB, free: 3.441 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.002425/0.7037, allocations: 1.646 MB / 486.4 MB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.7064, allocations: 0.8051 MB / 487.2 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7064, allocations: 0 / 487.2 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.7069, allocations: 224.4 kB / 487.4 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.7077, allocations: 80.64 kB / 487.5 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.7111, allocations: 1.19 MB / 488.6 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.7117, allocations: 0.9133 MB / 489.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006808/0.7124, allocations: 131.3 kB / 489.7 MB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.7129, allocations: 167.4 kB / 489.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7129, allocations: 0 / 489.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.7526, allocations: 10.2 MB / 0.4883 GB, free: 4.047 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/0.7531, allocations: 183.7 kB / 0.4885 GB, free: 3.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.526, allocations: 0 / 0.4885 GB, free: 3.82 MB / 426.7 MB