Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.417/2.417, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.015e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5896, allocations: 96.95 MB / 452.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.59, allocations: 91.94 kB / 452.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07152/0.6616, allocations: 15.59 MB / 468.2 MB, free: 4.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6616, allocations: 0 / 468.2 MB, free: 4.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.208e-05/0.6617, allocations: 16 kB / 468.2 MB, free: 4.887 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003822/0.6655, allocations: 1.054 MB / 469.2 MB, free: 3.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.6656, allocations: 8.031 kB / 469.2 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.6659, allocations: 106.5 kB / 469.3 MB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/0.6662, allocations: 87.14 kB / 469.4 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/0.6722, allocations: 1.211 MB / 470.6 MB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007998/0.673, allocations: 346.9 kB / 471 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.6734, allocations: 59.95 kB / 471 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.6758, allocations: 0.894 MB / 471.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6759, allocations: 3.938 kB / 471.9 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.676, allocations: 32 kB / 472 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.676, allocations: 12 kB / 472 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.6785, allocations: 0.8257 MB / 472.8 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008991/0.6875, allocations: 3.251 MB / 476.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.6892, allocations: 0.5423 MB / 476.6 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.6904, allocations: 403.3 kB / 477 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.6905, allocations: 16.31 kB / 477 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.6916, allocations: 481 kB / 477.5 MB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.707e-06/0.6917, allocations: 0 / 477.5 MB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002016/0.6937, allocations: 0.6566 MB / 478.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6938, allocations: 152.5 kB / 478.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.6945, allocations: 335.1 kB / 478.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.6946, allocations: 37.7 kB / 478.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.695, allocations: 300.3 kB / 478.9 MB, free: 9.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.6952, allocations: 161.7 kB / 479.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.6953, allocations: 12 kB / 479.1 MB, free: 9.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6955, allocations: 358.8 kB / 479.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.6964, allocations: 338.1 kB / 479.8 MB, free: 8.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6974, allocations: 437.4 kB / 480.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.6983, allocations: 344.8 kB / 480.6 MB, free: 8.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.6984, allocations: 0 / 480.6 MB, free: 8.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002241/0.7006, allocations: 0.8397 MB / 481.4 MB, free: 7.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.7007, allocations: 45.69 kB / 481.4 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.7007, allocations: 7.984 kB / 481.4 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.7008, allocations: 11.95 kB / 481.5 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/0.7134, allocations: 1.592 MB / 483.1 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.7226, allocations: 4.081 MB / 487.1 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.724, allocations: 131.5 kB / 487.3 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.7242, allocations: 43.92 kB / 487.3 MB, free: 1.035 MB / 410.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: 14 ($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.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.7245, allocations: 146.5 kB / 487.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.7246, allocations: 51.44 kB / 487.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.7266, allocations: 0.7116 MB / 488.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7266, allocations: 15.98 kB / 488.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.7266, allocations: 0 / 488.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7267, allocations: 4 kB / 488.2 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.7309, allocations: 1.87 MB / 490.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.7309, allocations: 0 / 490.1 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01531/0.7463, allocations: 1.838 MB / 491.9 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.7463, allocations: 7.938 kB / 491.9 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.7465, allocations: 11.98 kB / 492 MB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.7465, allocations: 4 kB / 492 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.7466, allocations: 7.984 kB / 492 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.7499, allocations: 1.36 MB / 493.3 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.7506, allocations: 204.4 kB / 493.5 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.7508, allocations: 27.98 kB / 493.6 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.7522, allocations: 123.9 kB / 493.7 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.7526, allocations: 103.7 kB / 493.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.7527, allocations: 15.98 kB / 493.8 MB, free: 10.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004853/0.7532, allocations: 257.2 kB / 494 MB, free: 10.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7532, allocations: 0 / 494 MB, free: 10.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001074/0.7543, allocations: 187.6 kB / 494.2 MB, free: 9.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003964/0.7583, allocations: 2.436 MB / 496.7 MB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01177/0.7701, allocations: 2.058 MB / 498.7 MB, free: 5.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.7702, allocations: 0 / 498.7 MB, free: 5.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006124/0.7763, allocations: 0.9956 MB / 499.7 MB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7779, allocations: 113.5 kB / 499.8 MB, free: 4.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006179/0.7841, allocations: 1.445 MB / 0.4895 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.7849, allocations: 0.945 MB / 0.4904 GB, free: 1.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.7859, allocations: 152.6 kB / 0.4906 GB, free: 1.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.7865, allocations: 191.4 kB / 0.4908 GB, free: 1.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7865, allocations: 7.938 kB / 0.4908 GB, free: 1.395 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.834, allocations: 12.77 MB / 0.5033 GB, free: 4.703 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.8344, allocations: 197.3 kB / 0.5034 GB, free: 4.473 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.563, allocations: 0 / 0.5034 GB, free: 4.473 MB / 442.7 MB