Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.463/2.463, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.773e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/0.6671, allocations: 105 MB / 460.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/0.6675, allocations: 94.22 kB / 460.6 MB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/0.7918, allocations: 23.26 MB / 483.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7919, allocations: 0 / 483.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.542e-05/0.7919, allocations: 19.98 kB / 483.9 MB, free: 5.016 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.004438/0.7964, allocations: 1.174 MB / 485.1 MB, free: 3.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.7965, allocations: 12.03 kB / 485.1 MB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000486/0.797, allocations: 139.5 kB / 485.2 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.7984, allocations: 150.8 kB / 485.4 MB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.8042, allocations: 1.246 MB / 486.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.8047, allocations: 191 kB / 486.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.8051, allocations: 76 kB / 486.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.8087, allocations: 1.263 MB / 488.1 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.8088, allocations: 7.844 kB / 488.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.809, allocations: 40 kB / 488.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.8092, allocations: 61.92 kB / 488.2 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.8128, allocations: 1.113 MB / 489.3 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.8259, allocations: 4.948 MB / 494.3 MB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.8286, allocations: 0.9502 MB / 495.2 MB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.8302, allocations: 0.5699 MB / 495.8 MB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.371e-05/0.8303, allocations: 12.48 kB / 495.8 MB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.8304, allocations: 43.12 kB / 495.9 MB, free: 8.637 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 4.058e-06/0.8304, allocations: 0 / 495.9 MB, free: 8.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.00642/0.8368, allocations: 2.386 MB / 498.2 MB, free: 6.176 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.837, allocations: 85.67 kB / 498.3 MB, free: 6.074 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.8378, allocations: 407.7 kB / 498.7 MB, free: 5.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.8379, allocations: 33.7 kB / 498.8 MB, free: 5.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.8383, allocations: 407.3 kB / 499.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.8386, allocations: 260.2 kB / 499.4 MB, free: 4.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.8387, allocations: 11.98 kB / 499.4 MB, free: 4.953 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.839, allocations: 378.8 kB / 499.8 MB, free: 4.574 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.8401, allocations: 443.5 kB / 0.4885 GB, free: 4.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.8415, allocations: 0.6263 MB / 0.4891 GB, free: 3.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.8428, allocations: 0.5171 MB / 0.4896 GB, free: 2.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.8429, allocations: 0 / 0.4896 GB, free: 2.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006873/0.8497, allocations: 1.863 MB / 0.4914 GB, free: 1.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.8498, allocations: 4 kB / 0.4914 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005985/0.8558, allocations: 1.62 MB / 0.493 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.8582, allocations: 0.5429 MB / 0.4936 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.8595, allocations: 147.8 kB / 0.4937 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.8738, allocations: 6.2 MB / 0.4998 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8751, allocations: 92.06 kB / 0.4998 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.8753, allocations: 28 kB / 0.4999 GB, free: 8.102 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.0002965/0.8756, allocations: 148.7 kB / 0.5 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.8758, allocations: 67.25 kB / 0.5001 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.879, allocations: 1.171 MB / 0.5012 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.875e-05/0.8791, allocations: 12 kB / 0.5012 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8791, allocations: 7.938 kB / 0.5012 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.8791, allocations: 3.984 kB / 0.5012 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.8858, allocations: 2.31 MB / 0.5035 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.8859, allocations: 4 kB / 0.5035 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005969/0.8918, allocations: 0.64 MB / 0.5041 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.892, allocations: 24.86 kB / 0.5041 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.8922, allocations: 17.39 kB / 0.5042 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.8936, allocations: 1.392 MB / 0.5055 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8937, allocations: 0 / 0.5055 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.8983, allocations: 1.891 MB / 0.5074 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.8987, allocations: 128.4 kB / 0.5075 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.8989, allocations: 19.98 kB / 0.5075 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.9001, allocations: 75.92 kB / 0.5076 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.9004, allocations: 64.41 kB / 0.5076 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.9006, allocations: 16 kB / 0.5077 GB, free: 15.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006277/0.9012, allocations: 313.6 kB / 0.508 GB, free: 15.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9012, allocations: 0 / 0.508 GB, free: 15.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00173/0.903, allocations: 259.9 kB / 0.5082 GB, free: 15.21 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.005811/0.9088, allocations: 2.768 MB / 0.5109 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.9134, allocations: 1.412 MB / 0.5123 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.9135, allocations: 0 / 0.5123 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005872/0.9193, allocations: 1.066 MB / 0.5133 GB, free: 9.859 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.9208, allocations: 146.5 kB / 0.5135 GB, free: 9.719 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/0.9283, allocations: 2.155 MB / 0.5156 GB, free: 7.512 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.9294, allocations: 1.091 MB / 0.5166 GB, free: 6.391 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001224/0.9307, allocations: 205.5 kB / 0.5168 GB, free: 6.188 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/0.9316, allocations: 283.3 kB / 0.5171 GB, free: 5.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/0.9316, allocations: 0 / 0.5171 GB, free: 5.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3959/1.327, allocations: 18.95 MB / 0.5356 GB, free: 132.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.328, allocations: 202.6 kB / 0.5358 GB, free: 131.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/4.579, allocations: 0 / 0.5358 GB, free: 131.9 MB / 458.7 MB