Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.584/2.584, allocations: 233 MB / 246.1 MB, free: 14.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.076e-05, allocations: 4 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 53.23 MB / 355.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.662, allocations: 104.7 MB / 460.2 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004772/0.6625, allocations: 87.95 kB / 460.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.7983, allocations: 24.36 MB / 484.7 MB, free: 4.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7984, allocations: 0 / 484.7 MB, free: 4.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.7985, allocations: 24 kB / 484.7 MB, free: 4.312 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005415/0.8039, allocations: 1.197 MB / 485.9 MB, free: 3.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.768e-05/0.804, allocations: 16.02 kB / 485.9 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000562/0.8046, allocations: 142.1 kB / 486 MB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.8061, allocations: 143.1 kB / 486.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007253/0.8134, allocations: 1.246 MB / 487.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005179/0.814, allocations: 183 kB / 487.6 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004733/0.8145, allocations: 79.91 kB / 487.7 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005121/0.8196, allocations: 1.318 MB / 489 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.8197, allocations: 0 / 489 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.82, allocations: 32 kB / 489 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003713/0.8204, allocations: 77.95 kB / 489.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005079/0.8255, allocations: 1.343 MB / 490.4 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.8642, allocations: 4.44 MB / 494.9 MB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007005/0.8712, allocations: 1.15 MB / 496 MB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.8731, allocations: 0.6878 MB / 496.7 MB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.8733, allocations: 8.781 kB / 496.7 MB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.8733, allocations: 43.34 kB / 496.8 MB, free: 7.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=103): time 4.879e-06/0.8733, allocations: 0 / 496.8 MB, free: 7.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=104): time 0.007453/0.8808, allocations: 2.795 MB / 499.6 MB, free: 5.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.8809, allocations: 93.88 kB / 499.7 MB, free: 4.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.8816, allocations: 347.1 kB / 500 MB, free: 4.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.8818, allocations: 37.7 kB / 0.4883 GB, free: 4.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.8821, allocations: 340.4 kB / 0.4886 GB, free: 4.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.8826, allocations: 358.7 kB / 0.489 GB, free: 3.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.8827, allocations: 20.03 kB / 0.489 GB, free: 3.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.883, allocations: 382.7 kB / 0.4894 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.8844, allocations: 0.5213 MB / 0.4899 GB, free: 2.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.8859, allocations: 0.6779 MB / 0.4905 GB, free: 2.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.8875, allocations: 0.6072 MB / 0.4911 GB, free: 1.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.8876, allocations: 0 / 0.4911 GB, free: 1.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003658/0.8912, allocations: 1.35 MB / 0.4924 GB, free: 244 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.8913, allocations: 4 kB / 0.4925 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.8913, allocations: 4 kB / 0.4925 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.8914, allocations: 8 kB / 0.4925 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/0.8969, allocations: 0.6247 MB / 0.4931 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.9037, allocations: 4.546 MB / 0.4975 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.9053, allocations: 95.94 kB / 0.4976 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.9055, allocations: 35.94 kB / 0.4976 GB, free: 10.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.9058, allocations: 147.5 kB / 0.4978 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.9061, allocations: 67.16 kB / 0.4978 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.9098, allocations: 1.343 MB / 0.4992 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.067e-05/0.9099, allocations: 31.98 kB / 0.4992 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9099, allocations: 0 / 0.4992 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.91, allocations: 15.92 kB / 0.4992 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.9173, allocations: 2.669 MB / 0.5018 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.9174, allocations: 4 kB / 0.5018 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006306/0.9237, allocations: 0.6868 MB / 0.5025 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.9238, allocations: 4 kB / 0.5025 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.9239, allocations: 20 kB / 0.5025 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.9239, allocations: 4 kB / 0.5025 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.9239, allocations: 4 kB / 0.5025 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.9294, allocations: 2.328 MB / 0.5048 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.9296, allocations: 132.3 kB / 0.5049 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.9298, allocations: 20 kB / 0.5049 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.931, allocations: 91.89 kB / 0.505 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.9313, allocations: 80.56 kB / 0.5051 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.9314, allocations: 24 kB / 0.5051 GB, free: 2.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004868/0.9319, allocations: 273.2 kB / 0.5054 GB, free: 2.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9319, allocations: 0 / 0.5054 GB, free: 2.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001218/0.9331, allocations: 260 kB / 0.5056 GB, free: 2.137 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.006364/0.9395, allocations: 3.507 MB / 0.5091 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006431/0.946, allocations: 1.643 MB / 0.5107 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.9461, allocations: 0 / 0.5107 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005972/0.9521, allocations: 1.132 MB / 0.5118 GB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.9538, allocations: 137.4 kB / 0.5119 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.965, allocations: 2.484 MB / 0.5143 GB, free: 9.098 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00556/0.9706, allocations: 1.088 MB / 0.5154 GB, free: 7.984 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002175/0.9728, allocations: 273.8 kB / 0.5156 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.9739, allocations: 287.3 kB / 0.5159 GB, free: 7.434 MB / 458.7 MB Notification: Performance of SimCode: time 1.352e-06/0.9739, allocations: 0 / 0.5159 GB, free: 7.434 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4045/1.378, allocations: 16.65 MB / 0.5322 GB, free: 132.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.379, allocations: 185.8 kB / 0.5324 GB, free: 131.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/4.573, allocations: 1.219 kB / 0.5324 GB, free: 131.9 MB / 458.7 MB