Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.415/2.415, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.225e-05, allocations: 0 / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 53.25 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/0.6281, allocations: 107.7 MB / 463.2 MB, free: 9.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.6285, allocations: 91.89 kB / 463.3 MB, free: 9.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.7648, allocations: 28.11 MB / 491.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7649, allocations: 0 / 491.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.263e-05/0.765, allocations: 24 kB / 491.5 MB, free: 13.46 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.007747/0.7728, allocations: 1.637 MB / 493.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.7728, allocations: 8.031 kB / 493.1 MB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008803/0.7737, allocations: 172.2 kB / 493.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.775, allocations: 162.6 kB / 493.4 MB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009583/0.7846, allocations: 1.643 MB / 495.1 MB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/0.7859, allocations: 0.5179 MB / 495.6 MB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006434/0.7866, allocations: 91.98 kB / 495.7 MB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.7914, allocations: 1.759 MB / 497.4 MB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.7915, allocations: 3.906 kB / 497.5 MB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.7918, allocations: 35.98 kB / 497.5 MB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.7921, allocations: 81.95 kB / 497.6 MB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00555/0.7977, allocations: 1.804 MB / 499.4 MB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.8167, allocations: 5.756 MB / 0.4933 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004664/0.8215, allocations: 1.279 MB / 0.4945 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.8245, allocations: 0.9612 MB / 0.4955 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.8247, allocations: 16.98 kB / 0.4955 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/0.8282, allocations: 1.152 MB / 0.4966 GB, free: 11.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 5.22e-06/0.8282, allocations: 0 / 0.4966 GB, free: 11.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01147/0.8397, allocations: 3.831 MB / 0.5004 GB, free: 8.082 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.8399, allocations: 106.1 kB / 0.5005 GB, free: 7.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.8408, allocations: 443.7 kB / 0.5009 GB, free: 7.523 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/0.8412, allocations: 53.7 kB / 0.5009 GB, free: 7.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.8416, allocations: 352.9 kB / 0.5013 GB, free: 7.113 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.8423, allocations: 429.9 kB / 0.5017 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.8425, allocations: 23.98 kB / 0.5017 GB, free: 6.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.8428, allocations: 390.8 kB / 0.5021 GB, free: 6.273 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.8452, allocations: 0.9007 MB / 0.503 GB, free: 5.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.848, allocations: 1.037 MB / 0.504 GB, free: 4.293 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.8507, allocations: 0.9471 MB / 0.5049 GB, free: 3.344 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.8507, allocations: 3.984 kB / 0.5049 GB, free: 3.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01838/0.8691, allocations: 3.798 MB / 0.5086 GB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.8693, allocations: 57.69 kB / 0.5087 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.8694, allocations: 4 kB / 0.5087 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00945/0.8788, allocations: 1.68 MB / 0.5103 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.8805, allocations: 163.7 kB / 0.5105 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03387/0.9144, allocations: 10.88 MB / 0.5211 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.9172, allocations: 207.8 kB / 0.5213 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/0.9176, allocations: 63.95 kB / 0.5213 GB, free: 2.168 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.0005342/0.9182, allocations: 188.7 kB / 0.5215 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.9186, allocations: 83.05 kB / 0.5216 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3142/1.233, allocations: 2.011 MB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001546/1.233, allocations: 31.03 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/1.233, allocations: 4.328 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/1.233, allocations: 8.766 kB / 0.5236 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.25, allocations: 3.743 MB / 0.5273 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.25, allocations: 2.875 kB / 0.5273 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02466/1.275, allocations: 2.824 MB / 0.53 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.275, allocations: 39.97 kB / 0.5301 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/1.276, allocations: 38.03 kB / 0.5301 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/1.277, allocations: 1.471 MB / 0.5315 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/1.277, allocations: 2 kB / 0.5315 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/1.286, allocations: 3.428 MB / 0.5349 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.288, allocations: 348 kB / 0.5352 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/1.288, allocations: 92.67 kB / 0.5353 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.291, allocations: 243 kB / 0.5355 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/1.293, allocations: 187.9 kB / 0.5357 GB, free: 127.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/1.293, allocations: 45.55 kB / 0.5358 GB, free: 127.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007117/1.294, allocations: 338.1 kB / 0.5361 GB, free: 127.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.294, allocations: 0 / 0.5361 GB, free: 127.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002716/1.296, allocations: 379.5 kB / 0.5365 GB, free: 127.4 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.01013/1.307, allocations: 4.736 MB / 0.5411 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008864/1.315, allocations: 2.684 MB / 0.5437 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.316, allocations: 4.5 kB / 0.5437 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/1.327, allocations: 2.087 MB / 0.5457 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.329, allocations: 156.2 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.01127/1.34, allocations: 3.2 MB / 0.549 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/1.341, allocations: 1.169 MB / 0.5502 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001806/1.343, allocations: 308.2 kB / 0.5504 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.344, allocations: 330.7 kB / 0.5508 GB, free: 122.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.224e-06/1.344, allocations: 3.5 kB / 0.5508 GB, free: 122.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/1.43, allocations: 30.46 MB / 0.5805 GB, free: 112.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.43, allocations: 185.8 kB / 0.5807 GB, free: 112.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/5.049, allocations: 0 / 0.5807 GB, free: 112.5 MB / 458.7 MB