Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.574/2.574, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.372e-05, allocations: 7.984 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 53.22 MB / 355.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6448, allocations: 107.4 MB / 462.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.6452, allocations: 83.95 kB / 463 MB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1249/0.7702, allocations: 23.97 MB / 486.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7702, allocations: 0 / 486.9 MB, free: 1.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.7704, allocations: 27.98 kB / 487 MB, free: 1.945 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005471/0.7759, allocations: 1.335 MB / 488.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.7759, allocations: 8.031 kB / 488.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005887/0.7766, allocations: 160.1 kB / 488.5 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.7784, allocations: 162.6 kB / 488.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008741/0.7872, allocations: 1.379 MB / 490 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.7876, allocations: 171.1 kB / 490.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006467/0.7883, allocations: 95.98 kB / 490.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.7924, allocations: 1.412 MB / 491.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.7925, allocations: 15.89 kB / 491.7 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.7927, allocations: 32 kB / 491.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.7929, allocations: 69.94 kB / 491.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.796, allocations: 1.015 MB / 492.8 MB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.8075, allocations: 4.786 MB / 497.6 MB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.8102, allocations: 0.8941 MB / 498.5 MB, free: 6.012 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.8118, allocations: 0.4907 MB / 499 MB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.136e-05/0.812, allocations: 12.56 kB / 499 MB, free: 5.504 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.8136, allocations: 0.6363 MB / 499.6 MB, free: 4.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.228e-06/0.8136, allocations: 0 / 499.6 MB, free: 4.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.006526/0.8201, allocations: 2.376 MB / 0.4902 GB, free: 2.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.8203, allocations: 123.4 kB / 0.4904 GB, free: 2.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8213, allocations: 0.5086 MB / 0.4909 GB, free: 1.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.8215, allocations: 49.7 kB / 0.4909 GB, free: 1.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.8221, allocations: 459.1 kB / 0.4913 GB, free: 1.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.8225, allocations: 284.2 kB / 0.4916 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.8226, allocations: 21.31 kB / 0.4916 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.8228, allocations: 390.8 kB / 0.492 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.824, allocations: 498.1 kB / 0.4925 GB, free: 40 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8255, allocations: 0.7602 MB / 0.4932 GB, free: 15.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.827, allocations: 0.6387 MB / 0.4938 GB, free: 14.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8271, allocations: 4 kB / 0.4939 GB, free: 14.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004053/0.8311, allocations: 1.577 MB / 0.4954 GB, free: 12.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.8313, allocations: 76.06 kB / 0.4955 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003286/0.8346, allocations: 1.35 MB / 0.4968 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.8352, allocations: 105.6 kB / 0.4969 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.8368, allocations: 195.7 kB / 0.4971 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.8404, allocations: 2.974 MB / 0.5 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.8419, allocations: 79.83 kB / 0.5 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.8421, allocations: 63.95 kB / 0.5001 GB, free: 7.766 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004362/0.8425, allocations: 192.4 kB / 0.5003 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.8428, allocations: 83 kB / 0.5004 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.8458, allocations: 1.096 MB / 0.5014 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/0.8459, allocations: 20 kB / 0.5015 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8459, allocations: 4 kB / 0.5015 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.8459, allocations: 3.984 kB / 0.5015 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.8517, allocations: 2.286 MB / 0.5037 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.8518, allocations: 7.938 kB / 0.5037 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.8533, allocations: 143.8 kB / 0.5038 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.8534, allocations: 20.86 kB / 0.5039 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.8536, allocations: 28.06 kB / 0.5039 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.8549, allocations: 1.385 MB / 0.5052 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.855, allocations: 8.188 kB / 0.5053 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.8591, allocations: 1.739 MB / 0.507 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.8599, allocations: 240 kB / 0.5072 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.8602, allocations: 83.89 kB / 0.5073 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.8618, allocations: 107.9 kB / 0.5074 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.862, allocations: 60.69 kB / 0.5074 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/0.8621, allocations: 23.98 kB / 0.5074 GB, free: 15.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007769/0.8629, allocations: 398.8 kB / 0.5078 GB, free: 15.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.745e-06/0.8629, allocations: 0 / 0.5078 GB, free: 15.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00154/0.8645, allocations: 260.2 kB / 0.5081 GB, free: 15.25 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: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.004825/0.8693, allocations: 2.651 MB / 0.5107 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.873, allocations: 1.545 MB / 0.5122 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.8731, allocations: 192 / 0.5122 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.8746, allocations: 0.5748 MB / 0.5127 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.8762, allocations: 152.4 kB / 0.5129 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/0.8827, allocations: 2.157 MB / 0.515 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.8838, allocations: 1.13 MB / 0.5161 GB, free: 6.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001295/0.8852, allocations: 238.5 kB / 0.5163 GB, free: 6.617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/0.886, allocations: 331.3 kB / 0.5166 GB, free: 6.293 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.886, allocations: 0 / 0.5166 GB, free: 6.293 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3774/1.263, allocations: 17.62 MB / 0.5338 GB, free: 129.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.264, allocations: 175.6 kB / 0.534 GB, free: 129.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/4.413, allocations: 0 / 0.534 GB, free: 129.7 MB / 458.7 MB