Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.269/2.269, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.563e-05/5.569e-05, allocations: 4 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5561, allocations: 95.11 MB / 450.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5565, allocations: 83.95 kB / 450.7 MB, free: 6.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06292/0.6194, allocations: 14.05 MB / 464.8 MB, free: 8.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6195, allocations: 6.906 kB / 464.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.255e-05/0.6195, allocations: 12 kB / 464.8 MB, free: 8.199 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002559/0.6221, allocations: 0.8799 MB / 465.7 MB, free: 7.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6222, allocations: 8.031 kB / 465.7 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.6224, allocations: 102.7 kB / 465.8 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.6226, allocations: 71.16 kB / 465.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/0.6271, allocations: 1.117 MB / 467 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.6274, allocations: 121.4 kB / 467.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6276, allocations: 63.95 kB / 467.2 MB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.6294, allocations: 0.7261 MB / 467.9 MB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.6295, allocations: 4 kB / 467.9 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/0.6296, allocations: 20 kB / 467.9 MB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.6296, allocations: 16 kB / 467.9 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.6312, allocations: 0.5798 MB / 468.5 MB, free: 4.348 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/0.638, allocations: 2.741 MB / 471.2 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.6402, allocations: 0.7529 MB / 472 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/0.6408, allocations: 277.7 kB / 472.3 MB, free: 432 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.6409, allocations: 8 kB / 472.3 MB, free: 424 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6409, allocations: 42.5 kB / 472.3 MB, free: 372 kB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.337e-06/0.641, allocations: 0 / 472.3 MB, free: 372 kB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003393/0.6444, allocations: 1.337 MB / 473.6 MB, free: 14.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.6445, allocations: 85.14 kB / 473.7 MB, free: 14.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.6451, allocations: 375 kB / 474.1 MB, free: 14.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.6452, allocations: 33.64 kB / 474.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.6455, allocations: 316.3 kB / 474.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.6456, allocations: 134 kB / 474.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.6457, allocations: 8 kB / 474.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.6459, allocations: 362.7 kB / 474.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.6464, allocations: 197 kB / 475.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.647, allocations: 297.3 kB / 475.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.6476, allocations: 219.8 kB / 475.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6476, allocations: 4.562 kB / 475.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001649/0.6492, allocations: 0.6789 MB / 476.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.6493, allocations: 9.875 kB / 476.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6493, allocations: 4 kB / 476.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.6497, allocations: 69.67 kB / 476.4 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.6527, allocations: 379.5 kB / 476.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006851/0.6595, allocations: 5.844 MB / 482.6 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.6604, allocations: 44.11 kB / 482.7 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.6605, allocations: 20 kB / 482.7 MB, free: 5.266 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.6607, allocations: 139.5 kB / 482.8 MB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6608, allocations: 47.44 kB / 482.9 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.6624, allocations: 0.6335 MB / 483.5 MB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6624, allocations: 4 kB / 483.5 MB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6624, allocations: 4 kB / 483.5 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6624, allocations: 3.953 kB / 483.5 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.6658, allocations: 1.412 MB / 484.9 MB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.6659, allocations: 4 kB / 484.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/0.6692, allocations: 399.6 kB / 485.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003338/0.6696, allocations: 65.66 kB / 485.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.6696, allocations: 13.59 kB / 485.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.6725, allocations: 2.833 MB / 488.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6726, allocations: 3.938 kB / 488.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.6747, allocations: 1.009 MB / 489.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.6749, allocations: 132.5 kB / 489.4 MB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.675, allocations: 11.94 kB / 489.4 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.6756, allocations: 43.95 kB / 489.4 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6758, allocations: 35.91 kB / 489.4 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.6759, allocations: 11.98 kB / 489.5 MB, free: 13.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005262/0.6764, allocations: 293.2 kB / 489.7 MB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6764, allocations: 0 / 489.7 MB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009398/0.6774, allocations: 147.9 kB / 489.9 MB, free: 13.56 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/0.6799, allocations: 1.78 MB / 491.7 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.6836, allocations: 0.9214 MB / 492.6 MB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6836, allocations: 0 / 492.6 MB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.6868, allocations: 0.7609 MB / 493.4 MB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6879, allocations: 118.7 kB / 493.5 MB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.6914, allocations: 1.247 MB / 494.7 MB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.6922, allocations: 0.9523 MB / 495.7 MB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000606/0.6928, allocations: 104.5 kB / 495.8 MB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.6933, allocations: 213 kB / 496 MB, free: 7.289 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6933, allocations: 0 / 496 MB, free: 7.289 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.7425, allocations: 12 MB / 0.4961 GB, free: 11.37 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/0.7429, allocations: 184.8 kB / 0.4963 GB, free: 11.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.295, allocations: 0 / 0.4963 GB, free: 11.14 MB / 442.7 MB