Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.485/2.485, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.234e-05/4.248e-05, allocations: 7.938 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5557/0.6754, allocations: 104.7 MB / 460.2 MB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.6758, allocations: 91.94 kB / 460.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.7928, allocations: 24.35 MB / 484.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7929, allocations: 0 / 484.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.377e-05/0.793, allocations: 24 kB / 484.7 MB, free: 4.148 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.005776/0.7988, allocations: 1.197 MB / 485.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.7989, allocations: 8.031 kB / 485.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004872/0.7994, allocations: 143.7 kB / 486 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.801, allocations: 151 kB / 486.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007126/0.8082, allocations: 1.261 MB / 487.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/0.8087, allocations: 171.1 kB / 487.6 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.8091, allocations: 76 kB / 487.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/0.8138, allocations: 1.318 MB / 489 MB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.8138, allocations: 4 kB / 489 MB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.8141, allocations: 32 kB / 489 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003554/0.8145, allocations: 75.17 kB / 489.1 MB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005177/0.8197, allocations: 1.347 MB / 490.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.8358, allocations: 4.436 MB / 494.9 MB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.8402, allocations: 1.152 MB / 496 MB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.8426, allocations: 0.68 MB / 496.7 MB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.8427, allocations: 20.77 kB / 496.7 MB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.8428, allocations: 39.34 kB / 496.8 MB, free: 7.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=103): time 6.462e-06/0.8428, allocations: 0 / 496.8 MB, free: 7.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=104): time 0.01012/0.8529, allocations: 2.795 MB / 499.6 MB, free: 4.871 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.8531, allocations: 85.89 kB / 499.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.8538, allocations: 355.1 kB / 500 MB, free: 4.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8539, allocations: 41.7 kB / 0.4883 GB, free: 4.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.8542, allocations: 340.4 kB / 0.4886 GB, free: 4.027 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.8547, allocations: 355.7 kB / 0.489 GB, free: 3.676 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.8548, allocations: 16 kB / 0.489 GB, free: 3.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.8551, allocations: 382.7 kB / 0.4894 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.8564, allocations: 0.5252 MB / 0.4899 GB, free: 2.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.858, allocations: 0.6779 MB / 0.4905 GB, free: 2.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.8595, allocations: 0.6058 MB / 0.4911 GB, free: 1.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.8596, allocations: 4 kB / 0.4911 GB, free: 1.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003516/0.8631, allocations: 1.339 MB / 0.4924 GB, free: 80 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.8632, allocations: 8.469 kB / 0.4924 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8632, allocations: 8 kB / 0.4925 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.8632, allocations: 8 kB / 0.4925 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005548/0.8688, allocations: 0.6293 MB / 0.4931 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006559/0.8754, allocations: 4.534 MB / 0.4975 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.8769, allocations: 107.9 kB / 0.4976 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.8771, allocations: 28 kB / 0.4976 GB, free: 10.36 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.0003181/0.8774, allocations: 144.8 kB / 0.4978 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.8776, allocations: 67.14 kB / 0.4978 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.8812, allocations: 1.347 MB / 0.4992 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/0.8813, allocations: 28 kB / 0.4992 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8813, allocations: 0 / 0.4992 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.8814, allocations: 7.922 kB / 0.4992 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007014/0.8884, allocations: 2.677 MB / 0.5018 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8884, allocations: 0 / 0.5018 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006283/0.8947, allocations: 0.6839 MB / 0.5025 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.8948, allocations: 8 kB / 0.5025 GB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.895, allocations: 23.98 kB / 0.5025 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/0.895, allocations: 8 kB / 0.5025 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.895, allocations: 7.938 kB / 0.5025 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/0.9003, allocations: 2.325 MB / 0.5048 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.9006, allocations: 136.3 kB / 0.5049 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.9008, allocations: 23.98 kB / 0.5049 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.9019, allocations: 79.91 kB / 0.505 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.9023, allocations: 81.97 kB / 0.5051 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.9024, allocations: 31.98 kB / 0.5051 GB, free: 2.488 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004913/0.9029, allocations: 269.2 kB / 0.5054 GB, free: 2.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9029, allocations: 0 / 0.5054 GB, free: 2.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001225/0.9042, allocations: 256 kB / 0.5056 GB, free: 1.973 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.006164/0.9103, allocations: 3.503 MB / 0.509 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.9166, allocations: 1.643 MB / 0.5106 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9167, allocations: 0 / 0.5106 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/0.9218, allocations: 1.136 MB / 0.5118 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.923, allocations: 133.4 kB / 0.5119 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.9314, allocations: 2.488 MB / 0.5143 GB, free: 8.938 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.9324, allocations: 1.084 MB / 0.5154 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00139/0.9338, allocations: 273.5 kB / 0.5156 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/0.9346, allocations: 291.3 kB / 0.5159 GB, free: 7.273 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9346, allocations: 0 / 0.5159 GB, free: 7.273 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3533/1.288, allocations: 16.64 MB / 0.5322 GB, free: 132.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/1.288, allocations: 182.5 kB / 0.5323 GB, free: 131.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/4.177, allocations: 0 / 0.5323 GB, free: 131.9 MB / 458.7 MB