Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.25/2.25, allocations: 233 MB / 245.6 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.907e-05, allocations: 4 kB / 301.4 MB, free: 7.887 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 53.24 MB / 354.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5635, allocations: 104.7 MB / 459.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.5639, allocations: 95.94 kB / 459.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.125/0.6889, allocations: 24.35 MB / 483.7 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.689, allocations: 0 / 483.7 MB, free: 4.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.498e-05/0.6891, allocations: 20 kB / 483.7 MB, free: 4.473 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.006227/0.6953, allocations: 1.197 MB / 484.9 MB, free: 3.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/0.6954, allocations: 12.03 kB / 484.9 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006263/0.696, allocations: 139.7 kB / 485.1 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.6977, allocations: 151 kB / 485.2 MB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.7051, allocations: 1.258 MB / 486.5 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/0.7057, allocations: 175 kB / 486.7 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/0.7062, allocations: 79.98 kB / 486.7 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004937/0.7112, allocations: 1.312 MB / 488 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/0.7113, allocations: 4 kB / 488.1 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.7115, allocations: 32 kB / 488.1 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003546/0.7119, allocations: 77.95 kB / 488.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/0.7173, allocations: 1.343 MB / 489.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.732, allocations: 4.444 MB / 493.9 MB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/0.7374, allocations: 1.146 MB / 495.1 MB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.7409, allocations: 0.68 MB / 495.8 MB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.7412, allocations: 12.77 kB / 495.8 MB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.7413, allocations: 51.33 kB / 495.8 MB, free: 8.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=103): time 7.414e-06/0.7413, allocations: 0 / 495.8 MB, free: 8.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=104): time 0.009523/0.7508, allocations: 2.796 MB / 498.6 MB, free: 5.191 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.751, allocations: 85.89 kB / 498.7 MB, free: 5.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.7517, allocations: 351 kB / 499.1 MB, free: 4.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.7519, allocations: 41.73 kB / 499.1 MB, free: 4.691 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7522, allocations: 378.9 kB / 499.5 MB, free: 4.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/0.7527, allocations: 362.7 kB / 499.8 MB, free: 3.957 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.7528, allocations: 15.98 kB / 499.8 MB, free: 3.941 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.7531, allocations: 358.8 kB / 0.4885 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7544, allocations: 0.5251 MB / 0.489 GB, free: 3.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.756, allocations: 0.6663 MB / 0.4896 GB, free: 2.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.7577, allocations: 0.6097 MB / 0.4902 GB, free: 1.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.7577, allocations: 0 / 0.4902 GB, free: 1.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003641/0.7614, allocations: 1.319 MB / 0.4915 GB, free: 424 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.7614, allocations: 4 kB / 0.4915 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.7615, allocations: 4 kB / 0.4915 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.7615, allocations: 8.469 kB / 0.4915 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/0.7672, allocations: 0.6282 MB / 0.4921 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/0.7735, allocations: 4.547 MB / 0.4966 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.775, allocations: 99.84 kB / 0.4967 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.7751, allocations: 32 kB / 0.4967 GB, free: 10.7 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.0003182/0.7755, allocations: 155.5 kB / 0.4969 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.7757, allocations: 63.25 kB / 0.4969 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.7793, allocations: 1.343 MB / 0.4982 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/0.7794, allocations: 27.98 kB / 0.4983 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7794, allocations: 0 / 0.4983 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.7794, allocations: 11.92 kB / 0.4983 GB, free: 9.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007037/0.7865, allocations: 2.665 MB / 0.5009 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.7865, allocations: 4 kB / 0.5009 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006294/0.7928, allocations: 0.683 MB / 0.5015 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/0.7929, allocations: 4 kB / 0.5015 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.7931, allocations: 25.48 kB / 0.5016 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-05/0.7932, allocations: 4 kB / 0.5016 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.7932, allocations: 11.88 kB / 0.5016 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.7986, allocations: 2.321 MB / 0.5038 GB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.7989, allocations: 140.2 kB / 0.504 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.7992, allocations: 24 kB / 0.504 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.8004, allocations: 83.89 kB / 0.5041 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.8007, allocations: 84.56 kB / 0.5042 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.8008, allocations: 28.06 kB / 0.5042 GB, free: 2.828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005313/0.8013, allocations: 269.2 kB / 0.5044 GB, free: 2.562 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8014, allocations: 0 / 0.5044 GB, free: 2.562 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00131/0.8027, allocations: 259.9 kB / 0.5047 GB, free: 2.309 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.006249/0.8089, allocations: 3.502 MB / 0.5081 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006396/0.8154, allocations: 1.639 MB / 0.5097 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.8155, allocations: 0 / 0.5097 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005202/0.8207, allocations: 1.118 MB / 0.5108 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.8221, allocations: 133.4 kB / 0.5109 GB, free: 11.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008652/0.8307, allocations: 2.548 MB / 0.5134 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.8318, allocations: 1.092 MB / 0.5145 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.8329, allocations: 303.3 kB / 0.5148 GB, free: 7.816 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/0.8329, allocations: 0 / 0.5148 GB, free: 7.816 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.453/4.286, allocations: 24.27 MB / 0.5385 GB, free: 130.6 MB / 458.7 MB