Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.347/2.347, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.264e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6113, allocations: 107.4 MB / 462.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/0.6118, allocations: 87.95 kB / 463 MB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/0.7392, allocations: 23.97 MB / 487 MB, free: 2.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7393, allocations: 0 / 487 MB, free: 2.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.211e-05/0.7394, allocations: 20 kB / 487 MB, free: 2.031 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.004176/0.7436, allocations: 1.335 MB / 488.3 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7436, allocations: 12.03 kB / 488.3 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003934/0.7441, allocations: 160.1 kB / 488.5 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.7453, allocations: 158.6 kB / 488.6 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/0.7518, allocations: 1.376 MB / 490 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/0.7522, allocations: 183.1 kB / 490.2 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005475/0.7527, allocations: 88 kB / 490.3 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.7568, allocations: 1.416 MB / 491.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.7569, allocations: 11.89 kB / 491.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.757, allocations: 43.98 kB / 491.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.7572, allocations: 57.98 kB / 491.8 MB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.7604, allocations: 1.019 MB / 492.8 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.7725, allocations: 4.782 MB / 497.6 MB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.7751, allocations: 0.8948 MB / 498.5 MB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.7766, allocations: 491.7 kB / 499 MB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.7767, allocations: 16.55 kB / 499 MB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.7783, allocations: 0.6363 MB / 499.6 MB, free: 4.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.318e-06/0.7783, allocations: 0 / 499.6 MB, free: 4.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.006522/0.7848, allocations: 2.372 MB / 0.4902 GB, free: 2.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.785, allocations: 127.4 kB / 0.4904 GB, free: 2.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/0.786, allocations: 0.5048 MB / 0.4909 GB, free: 1.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.7862, allocations: 49.69 kB / 0.4909 GB, free: 1.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.7868, allocations: 459.1 kB / 0.4913 GB, free: 1.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.7872, allocations: 284.1 kB / 0.4916 GB, free: 1.023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.7873, allocations: 20 kB / 0.4916 GB, free: 1.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.7876, allocations: 386.8 kB / 0.492 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.7888, allocations: 0.4982 MB / 0.4925 GB, free: 124 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.7904, allocations: 0.7525 MB / 0.4932 GB, free: 15.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.792, allocations: 0.6387 MB / 0.4938 GB, free: 14.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.792, allocations: 1.312 kB / 0.4938 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004099/0.7961, allocations: 1.585 MB / 0.4954 GB, free: 12.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7963, allocations: 69.56 kB / 0.4955 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003324/0.7997, allocations: 1.35 MB / 0.4968 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.8003, allocations: 109.6 kB / 0.4969 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.8018, allocations: 195.7 kB / 0.4971 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.8053, allocations: 2.978 MB / 0.5 GB, free: 7.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.8067, allocations: 75.84 kB / 0.5 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.8069, allocations: 71.94 kB / 0.5001 GB, free: 7.844 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.0003922/0.8074, allocations: 191.8 kB / 0.5003 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.8076, allocations: 79.02 kB / 0.5004 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.8106, allocations: 1.1 MB / 0.5014 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/0.8107, allocations: 23.92 kB / 0.5015 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8107, allocations: 0 / 0.5015 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.8108, allocations: 4.547 kB / 0.5015 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/0.8168, allocations: 2.277 MB / 0.5037 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.8169, allocations: 7.938 kB / 0.5037 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.8184, allocations: 147.8 kB / 0.5038 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.8186, allocations: 24.84 kB / 0.5039 GB, free: 3.863 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.8188, allocations: 27.97 kB / 0.5039 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.8202, allocations: 1.382 MB / 0.5052 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8202, allocations: 4.156 kB / 0.5053 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.8244, allocations: 1.739 MB / 0.5069 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/0.8251, allocations: 248 kB / 0.5072 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.8255, allocations: 79.89 kB / 0.5073 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.827, allocations: 103.9 kB / 0.5074 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.8272, allocations: 52.7 kB / 0.5074 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.8274, allocations: 40.02 kB / 0.5074 GB, free: 15.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007933/0.8282, allocations: 389.5 kB / 0.5078 GB, free: 15.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8282, allocations: 4 kB / 0.5078 GB, free: 15.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001588/0.8298, allocations: 256.2 kB / 0.5081 GB, free: 15.34 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.004963/0.8348, allocations: 2.654 MB / 0.5107 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.8387, allocations: 1.552 MB / 0.5122 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8388, allocations: 1.312 kB / 0.5122 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.8404, allocations: 0.571 MB / 0.5127 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.8418, allocations: 148.5 kB / 0.5129 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.8483, allocations: 2.153 MB / 0.515 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.8495, allocations: 1.13 MB / 0.5161 GB, free: 6.941 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001302/0.8508, allocations: 234.5 kB / 0.5163 GB, free: 6.707 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/0.8517, allocations: 327.3 kB / 0.5166 GB, free: 6.387 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8518, allocations: 0 / 0.5166 GB, free: 6.387 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3574/1.209, allocations: 17.61 MB / 0.5338 GB, free: 130.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.209, allocations: 173.6 kB / 0.534 GB, free: 129.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.459, allocations: 0 / 0.534 GB, free: 129.9 MB / 458.7 MB