Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.453/2.453, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.561e-05, allocations: 0 / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 53.24 MB / 355.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5677/0.7218, allocations: 107.7 MB / 463.2 MB, free: 9.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.7222, allocations: 91.95 kB / 463.3 MB, free: 9.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.863, allocations: 28.11 MB / 491.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8631, allocations: 0 / 491.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.613e-05/0.8632, allocations: 24 kB / 491.5 MB, free: 13.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007958/0.8712, allocations: 1.637 MB / 493.1 MB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8712, allocations: 12.03 kB / 493.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008353/0.8721, allocations: 164.2 kB / 493.3 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.8734, allocations: 162.6 kB / 493.4 MB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008942/0.8824, allocations: 1.642 MB / 495.1 MB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/0.8836, allocations: 0.514 MB / 495.6 MB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007071/0.8844, allocations: 99.97 kB / 495.7 MB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/0.8898, allocations: 1.748 MB / 497.4 MB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.8899, allocations: 7.844 kB / 497.4 MB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.8901, allocations: 43.97 kB / 497.5 MB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.8904, allocations: 85.95 kB / 497.6 MB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005762/0.8962, allocations: 1.796 MB / 499.4 MB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.9165, allocations: 5.756 MB / 0.4933 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.9211, allocations: 1.279 MB / 0.4945 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.9242, allocations: 0.969 MB / 0.4955 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.9245, allocations: 16.91 kB / 0.4955 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003306/0.9278, allocations: 1.149 MB / 0.4966 GB, free: 12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 5.139e-06/0.9278, allocations: 0 / 0.4966 GB, free: 12 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01121/0.9391, allocations: 3.826 MB / 0.5004 GB, free: 8.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.9392, allocations: 106.1 kB / 0.5005 GB, free: 7.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.9401, allocations: 447.7 kB / 0.5009 GB, free: 7.535 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.9404, allocations: 53.69 kB / 0.5009 GB, free: 7.477 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.9408, allocations: 352.9 kB / 0.5013 GB, free: 7.125 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008248/0.9417, allocations: 427.3 kB / 0.5017 GB, free: 6.703 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.9418, allocations: 23.98 kB / 0.5017 GB, free: 6.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002709/0.9421, allocations: 398.7 kB / 0.5021 GB, free: 6.281 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.9446, allocations: 0.8967 MB / 0.503 GB, free: 5.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/0.9474, allocations: 1.041 MB / 0.504 GB, free: 4.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.9501, allocations: 0.9432 MB / 0.5049 GB, free: 3.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.9502, allocations: 0 / 0.5049 GB, free: 3.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01875/0.969, allocations: 3.793 MB / 0.5086 GB, free: 15.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.9692, allocations: 61.92 kB / 0.5087 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.9692, allocations: 8 kB / 0.5087 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009524/0.9788, allocations: 1.676 MB / 0.5103 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.9804, allocations: 171.8 kB / 0.5105 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0343/1.015, allocations: 10.89 MB / 0.5211 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.018, allocations: 199.9 kB / 0.5213 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/1.018, allocations: 63.94 kB / 0.5213 GB, free: 2.176 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005469/1.019, allocations: 196.9 kB / 0.5215 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/1.019, allocations: 75.06 kB / 0.5216 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3249/1.344, allocations: 2.013 MB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-05/1.344, allocations: 28.88 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.344, allocations: 1.922 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.412e-05/1.344, allocations: 7.391 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.357, allocations: 3.746 MB / 0.5273 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.357, allocations: 2.969 kB / 0.5273 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02498/1.382, allocations: 2.823 MB / 0.53 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.383, allocations: 39.8 kB / 0.5301 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004367/1.383, allocations: 37.38 kB / 0.5301 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.384, allocations: 1.468 MB / 0.5315 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.384, allocations: 9.625 kB / 0.5315 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009054/1.394, allocations: 3.421 MB / 0.5349 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.395, allocations: 345.8 kB / 0.5352 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.396, allocations: 89.61 kB / 0.5353 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.399, allocations: 251.7 kB / 0.5355 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.4, allocations: 190.1 kB / 0.5357 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.4, allocations: 38.53 kB / 0.5358 GB, free: 127.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007545/1.401, allocations: 339.4 kB / 0.5361 GB, free: 127.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.401, allocations: 1.5 kB / 0.5361 GB, free: 127.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002677/1.404, allocations: 374.3 kB / 0.5364 GB, free: 127.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/1.414, allocations: 4.739 MB / 0.5411 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009624/1.424, allocations: 2.691 MB / 0.5437 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.424, allocations: 4.875 kB / 0.5437 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0119/1.436, allocations: 2.086 MB / 0.5457 GB, free: 124.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.438, allocations: 150.7 kB / 0.5459 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.45, allocations: 3.211 MB / 0.549 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/1.451, allocations: 1.166 MB / 0.5502 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001877/1.453, allocations: 311.1 kB / 0.5505 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.454, allocations: 332.1 kB / 0.5508 GB, free: 122.4 MB / 458.7 MB Notification: Performance of SimCode: time 3.928e-06/1.454, allocations: 0 / 0.5508 GB, free: 122.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08268/1.537, allocations: 30.48 MB / 0.5805 GB, free: 112.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/1.537, allocations: 185.3 kB / 0.5807 GB, free: 112.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.671/5.208, allocations: 4 kB / 0.5807 GB, free: 112.5 MB / 458.7 MB