Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.483/2.483, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.122e-05, allocations: 7.984 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/0.595, allocations: 96.94 MB / 452.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.5954, allocations: 87.95 kB / 452.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07133/0.6667, allocations: 15.6 MB / 468.2 MB, free: 4.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6668, allocations: 4 kB / 468.2 MB, free: 4.898 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.963e-05/0.6668, allocations: 19.92 kB / 468.2 MB, free: 4.879 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.003509/0.6704, allocations: 1.042 MB / 469.2 MB, free: 3.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6704, allocations: 12.03 kB / 469.2 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/0.6707, allocations: 106.5 kB / 469.3 MB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.671, allocations: 87.09 kB / 469.4 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.6768, allocations: 1.215 MB / 470.6 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008049/0.6777, allocations: 346.9 kB / 471 MB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.6781, allocations: 67.94 kB / 471 MB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.6806, allocations: 0.8901 MB / 471.9 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.6806, allocations: 3.938 kB / 471.9 MB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.6808, allocations: 24 kB / 472 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.6808, allocations: 15.98 kB / 472 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.6833, allocations: 0.8258 MB / 472.8 MB, free: 52 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009236/0.6926, allocations: 3.252 MB / 476.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.6944, allocations: 0.5462 MB / 476.6 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.6957, allocations: 398.8 kB / 477 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.6959, allocations: 8.438 kB / 477 MB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.6972, allocations: 481 kB / 477.5 MB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 4.859e-06/0.6972, allocations: 0 / 477.5 MB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002717/0.7, allocations: 0.6637 MB / 478.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7001, allocations: 144.5 kB / 478.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.701, allocations: 339.1 kB / 478.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.7012, allocations: 41.7 kB / 478.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.7017, allocations: 296.3 kB / 478.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.702, allocations: 159 kB / 479.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.7021, allocations: 16 kB / 479.1 MB, free: 9.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.7024, allocations: 358.8 kB / 479.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7037, allocations: 341.2 kB / 479.8 MB, free: 8.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.705, allocations: 430.7 kB / 480.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.7064, allocations: 352.8 kB / 480.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.7065, allocations: 0 / 480.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003146/0.7096, allocations: 0.8358 MB / 481.4 MB, free: 7.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.7098, allocations: 49.69 kB / 481.4 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.7098, allocations: 4 kB / 481.4 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/0.7099, allocations: 11.95 kB / 481.5 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01754/0.7274, allocations: 1.589 MB / 483 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.741, allocations: 4.087 MB / 487.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.7429, allocations: 135.5 kB / 487.3 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.7432, allocations: 39.91 kB / 487.3 MB, free: 1.027 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.000408/0.7436, allocations: 146.5 kB / 487.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.7439, allocations: 55.42 kB / 487.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.7468, allocations: 0.7077 MB / 488.2 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.7469, allocations: 4 kB / 488.2 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7469, allocations: 0 / 488.2 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.747, allocations: 7.984 kB / 488.2 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/0.7535, allocations: 1.874 MB / 490.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.7536, allocations: 4 kB / 490.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02097/0.7746, allocations: 1.834 MB / 491.9 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.7747, allocations: 4 kB / 491.9 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.7749, allocations: 15.98 kB / 491.9 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/0.7749, allocations: 4 kB / 492 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.7749, allocations: 7.938 kB / 492 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.7787, allocations: 1.352 MB / 493.3 MB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.7794, allocations: 204.4 kB / 493.5 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.7796, allocations: 31.98 kB / 493.5 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7811, allocations: 119.9 kB / 493.7 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/0.7815, allocations: 99.73 kB / 493.8 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-05/0.7816, allocations: 19.98 kB / 493.8 MB, free: 10.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008036/0.7825, allocations: 261.2 kB / 494 MB, free: 10.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.7825, allocations: 4 kB / 494 MB, free: 10.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001301/0.7838, allocations: 179.6 kB / 494.2 MB, free: 9.914 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.004444/0.7883, allocations: 2.443 MB / 496.7 MB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/0.801, allocations: 2.066 MB / 498.7 MB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.801, allocations: 0 / 498.7 MB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006389/0.8074, allocations: 0.9917 MB / 499.7 MB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8088, allocations: 122.1 kB / 499.8 MB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.8155, allocations: 1.441 MB / 0.4895 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.8164, allocations: 0.9411 MB / 0.4904 GB, free: 1.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001108/0.8175, allocations: 156.6 kB / 0.4906 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.8181, allocations: 203.3 kB / 0.4908 GB, free: 1.383 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8181, allocations: 0 / 0.4908 GB, free: 1.383 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/0.8688, allocations: 12.76 MB / 0.5032 GB, free: 4.703 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.8693, allocations: 193.7 kB / 0.5034 GB, free: 4.469 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/3.78, allocations: 3.938 kB / 0.5034 GB, free: 4.465 MB / 442.7 MB