Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.396/2.396, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.152e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6001, allocations: 105 MB / 460.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.6005, allocations: 95.92 kB / 460.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1188/0.7194, allocations: 23.26 MB / 483.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7194, allocations: 0 / 483.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.867e-05/0.7195, allocations: 16 kB / 483.9 MB, free: 4.992 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.004107/0.7236, allocations: 1.182 MB / 485.1 MB, free: 3.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.7237, allocations: 8.031 kB / 485.1 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/0.7241, allocations: 143.5 kB / 485.2 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.7253, allocations: 146.8 kB / 485.3 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0057/0.731, allocations: 1.249 MB / 486.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.7315, allocations: 187 kB / 486.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.7318, allocations: 76 kB / 486.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.7353, allocations: 1.267 MB / 488.1 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.7354, allocations: 7.844 kB / 488.1 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.7356, allocations: 36 kB / 488.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.7358, allocations: 61.92 kB / 488.2 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.739, allocations: 1.109 MB / 489.3 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.7515, allocations: 4.956 MB / 494.3 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.7541, allocations: 0.9502 MB / 495.2 MB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.7557, allocations: 0.5621 MB / 495.8 MB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/0.7558, allocations: 16.5 kB / 495.8 MB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.7559, allocations: 43.11 kB / 495.9 MB, free: 8.605 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 6.412e-06/0.7559, allocations: 4 kB / 495.9 MB, free: 8.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.006311/0.7622, allocations: 2.375 MB / 498.2 MB, free: 6.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.7623, allocations: 93.69 kB / 498.3 MB, free: 6.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.7631, allocations: 403.7 kB / 498.7 MB, free: 5.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.7632, allocations: 41.7 kB / 498.8 MB, free: 5.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.7636, allocations: 391.3 kB / 499.1 MB, free: 5.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.764, allocations: 260.2 kB / 499.4 MB, free: 4.945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.7641, allocations: 16 kB / 499.4 MB, free: 4.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.7643, allocations: 374.8 kB / 499.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.7655, allocations: 445.6 kB / 0.4885 GB, free: 4.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.7669, allocations: 0.6263 MB / 0.4891 GB, free: 3.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.7683, allocations: 0.5132 MB / 0.4896 GB, free: 2.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.7683, allocations: 4 kB / 0.4896 GB, free: 2.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006832/0.7752, allocations: 1.872 MB / 0.4914 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.7752, allocations: 8 kB / 0.4914 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006027/0.7813, allocations: 1.613 MB / 0.493 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/0.7836, allocations: 0.5402 MB / 0.4936 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7849, allocations: 147.8 kB / 0.4937 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.7994, allocations: 6.206 MB / 0.4998 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.8007, allocations: 79.91 kB / 0.4998 GB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.8009, allocations: 32.09 kB / 0.4999 GB, free: 8.074 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.0003241/0.8013, allocations: 156.8 kB / 0.5 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.8015, allocations: 59.25 kB / 0.5001 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.8049, allocations: 1.171 MB / 0.5012 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/0.805, allocations: 16 kB / 0.5012 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.805, allocations: 3.938 kB / 0.5012 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.805, allocations: 3.984 kB / 0.5012 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/0.8121, allocations: 2.322 MB / 0.5035 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.8122, allocations: 0 / 0.5035 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006111/0.8183, allocations: 0.6361 MB / 0.5041 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.8185, allocations: 26.25 kB / 0.5041 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.8187, allocations: 15.98 kB / 0.5042 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.8202, allocations: 1.381 MB / 0.5055 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.8203, allocations: 8.016 kB / 0.5055 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004819/0.8251, allocations: 1.891 MB / 0.5074 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.8255, allocations: 136.3 kB / 0.5075 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.8257, allocations: 16 kB / 0.5075 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.8268, allocations: 71.91 kB / 0.5076 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.8271, allocations: 68.41 kB / 0.5076 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/0.8272, allocations: 20 kB / 0.5077 GB, free: 15.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006246/0.8279, allocations: 309.6 kB / 0.508 GB, free: 15.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8279, allocations: 0 / 0.508 GB, free: 15.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00164/0.8295, allocations: 251.9 kB / 0.5082 GB, free: 15.18 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.005524/0.8351, allocations: 2.772 MB / 0.5109 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004118/0.8393, allocations: 1.408 MB / 0.5123 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8393, allocations: 3.938 kB / 0.5123 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.8443, allocations: 1.066 MB / 0.5133 GB, free: 9.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8456, allocations: 149.9 kB / 0.5135 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/0.8524, allocations: 2.157 MB / 0.5156 GB, free: 7.484 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.8538, allocations: 1.091 MB / 0.5166 GB, free: 6.363 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001809/0.8557, allocations: 213.5 kB / 0.5168 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.857, allocations: 283.3 kB / 0.5171 GB, free: 5.875 MB / 458.7 MB Notification: Performance of SimCode: time 2.053e-06/0.8571, allocations: 0 / 0.5171 GB, free: 5.875 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4243/1.281, 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.0001509/1.282, allocations: 183.6 kB / 0.5358 GB, free: 131.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.315, allocations: 0 / 0.5358 GB, free: 131.9 MB / 458.7 MB