Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.53/2.53, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.937e-05, allocations: 4 kB / 301.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 53.24 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.5846, allocations: 105 MB / 459.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.585, allocations: 84.77 kB / 459.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.109/0.694, allocations: 23.26 MB / 482.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6941, allocations: 0 / 482.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/0.6941, allocations: 16 kB / 482.9 MB, free: 5.332 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004383/0.6985, allocations: 1.182 MB / 484.1 MB, free: 4.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.6986, allocations: 8.031 kB / 484.1 MB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005133/0.6991, allocations: 151.4 kB / 484.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.7005, allocations: 142.8 kB / 484.4 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/0.7061, allocations: 1.253 MB / 485.7 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.7066, allocations: 175.1 kB / 485.8 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.707, allocations: 79.98 kB / 485.9 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.7104, allocations: 1.275 MB / 487.2 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.7105, allocations: 11.89 kB / 487.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.7106, allocations: 32 kB / 487.2 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.7108, allocations: 57.94 kB / 487.3 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/0.7142, allocations: 1.113 MB / 488.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.7273, allocations: 4.946 MB / 493.3 MB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.7299, allocations: 0.9576 MB / 494.3 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.7315, allocations: 0.5737 MB / 494.9 MB, free: 9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.7316, allocations: 16.5 kB / 494.9 MB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.7317, allocations: 43.12 kB / 494.9 MB, free: 8.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 4.258e-06/0.7317, allocations: 0 / 494.9 MB, free: 8.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.006517/0.7382, allocations: 2.375 MB / 497.3 MB, free: 6.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.7383, allocations: 89.7 kB / 497.4 MB, free: 6.375 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.7391, allocations: 407.7 kB / 497.8 MB, free: 5.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.7393, allocations: 37.7 kB / 497.8 MB, free: 5.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.7397, allocations: 429.8 kB / 498.2 MB, free: 5.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.7401, allocations: 260.2 kB / 498.5 MB, free: 5.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.7402, allocations: 12 kB / 498.5 MB, free: 5.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.7404, allocations: 351.8 kB / 498.9 MB, free: 4.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.7416, allocations: 441.6 kB / 499.3 MB, free: 4.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.7429, allocations: 0.6302 MB / 499.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.7443, allocations: 0.5132 MB / 0.4887 GB, free: 3.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.7443, allocations: 0 / 0.4887 GB, free: 3.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006709/0.751, allocations: 1.828 MB / 0.4905 GB, free: 1.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.7511, allocations: 8 kB / 0.4905 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006182/0.7573, allocations: 1.621 MB / 0.4921 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.7596, allocations: 0.5429 MB / 0.4926 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.761, allocations: 143.8 kB / 0.4927 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.7749, allocations: 6.216 MB / 0.4988 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7762, allocations: 83.91 kB / 0.4989 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.7764, allocations: 32.09 kB / 0.4989 GB, free: 8.426 MB / 442.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 (76): * Single equations (assignments): 72 * Array equations: 2 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.7767, allocations: 144.8 kB / 0.4991 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.7769, allocations: 63.25 kB / 0.4991 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.7799, allocations: 1.167 MB / 0.5003 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/0.78, allocations: 23.92 kB / 0.5003 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.78, allocations: 3.938 kB / 0.5003 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.78, allocations: 0 / 0.5003 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005861/0.7859, allocations: 2.318 MB / 0.5026 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7859, allocations: 0 / 0.5026 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005866/0.7918, allocations: 0.64 MB / 0.5032 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.792, allocations: 24.84 kB / 0.5032 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.7922, allocations: 16 kB / 0.5032 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.7935, allocations: 1.389 MB / 0.5046 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7935, allocations: 0 / 0.5046 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.7979, allocations: 1.899 MB / 0.5064 GB, free: 416 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.7982, allocations: 132.3 kB / 0.5066 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.7984, allocations: 20 kB / 0.5066 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7995, allocations: 71.91 kB / 0.5066 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.7998, allocations: 68.42 kB / 0.5067 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/0.7998, allocations: 19.94 kB / 0.5067 GB, free: 84 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000593/0.8005, allocations: 309.6 kB / 0.507 GB, free: 15.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.8005, allocations: 0 / 0.507 GB, free: 15.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00149/0.802, allocations: 259.9 kB / 0.5073 GB, free: 15.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005172/0.8072, allocations: 2.768 MB / 0.51 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.8113, allocations: 1.408 MB / 0.5113 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.8113, allocations: 0 / 0.5113 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005003/0.8163, allocations: 1.051 MB / 0.5124 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.8177, allocations: 143.3 kB / 0.5125 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/0.8247, allocations: 2.223 MB / 0.5147 GB, free: 7.785 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/0.8257, allocations: 1.083 MB / 0.5157 GB, free: 6.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008863/0.8266, allocations: 295.3 kB / 0.516 GB, free: 6.383 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/0.8266, allocations: 0 / 0.516 GB, free: 6.383 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.518/4.345, allocations: 23.59 MB / 0.5391 GB, free: 129.1 MB / 458.7 MB