Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.41/2.41, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.139e-05, allocations: 8 kB / 302.3 MB, free: 7.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 53.23 MB / 355.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5763, allocations: 95.1 MB / 450.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.5767, allocations: 87.95 kB / 450.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0653/0.642, allocations: 14.06 MB / 464.8 MB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6421, allocations: 0 / 464.8 MB, free: 8.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.677e-05/0.6422, allocations: 12 kB / 464.8 MB, free: 8.348 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.002884/0.6451, allocations: 0.8875 MB / 465.7 MB, free: 7.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.6451, allocations: 12.03 kB / 465.7 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.6454, allocations: 98.52 kB / 465.8 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.6457, allocations: 71.16 kB / 465.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.6505, allocations: 1.109 MB / 467 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.6508, allocations: 121.4 kB / 467.1 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.651, allocations: 56 kB / 467.1 MB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.6529, allocations: 0.7299 MB / 467.9 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.653, allocations: 0 / 467.9 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.6531, allocations: 24 kB / 467.9 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.6531, allocations: 19.98 kB / 467.9 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.6548, allocations: 0.5798 MB / 468.5 MB, free: 4.496 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.006935/0.6618, allocations: 2.738 MB / 471.2 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.664, allocations: 0.763 MB / 472 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.6647, allocations: 277.6 kB / 472.3 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.6648, allocations: 4 kB / 472.3 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.6649, allocations: 46.44 kB / 472.3 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 4.999e-06/0.6649, allocations: 4 kB / 472.3 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003582/0.6685, allocations: 1.333 MB / 473.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6686, allocations: 81.11 kB / 473.7 MB, free: 14.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.6693, allocations: 371 kB / 474.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.6693, allocations: 37.73 kB / 474.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.6696, allocations: 312.3 kB / 474.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.6698, allocations: 138 kB / 474.6 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.6699, allocations: 14.06 kB / 474.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.6701, allocations: 366.7 kB / 474.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.6706, allocations: 189.1 kB / 475.1 MB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.6713, allocations: 301.3 kB / 475.4 MB, free: 13.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.6719, allocations: 211.8 kB / 475.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6719, allocations: 4 kB / 475.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001723/0.6736, allocations: 0.6824 MB / 476.3 MB, free: 12.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6737, allocations: 4 kB / 476.3 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.6737, allocations: 8.422 kB / 476.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.6741, allocations: 69.69 kB / 476.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.6771, allocations: 379.5 kB / 476.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007161/0.6843, allocations: 5.843 MB / 482.6 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/0.6851, allocations: 39.95 kB / 482.6 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.6852, allocations: 20 kB / 482.7 MB, free: 5.418 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.0001999/0.6854, allocations: 140.8 kB / 482.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6855, allocations: 51.42 kB / 482.9 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.6871, allocations: 0.6296 MB / 483.5 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6872, allocations: 4 kB / 483.5 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6872, allocations: 8 kB / 483.5 MB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.6872, allocations: 3.953 kB / 483.5 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.6907, allocations: 1.412 MB / 484.9 MB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6907, allocations: 7.938 kB / 484.9 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/0.6942, allocations: 400.3 kB / 485.3 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.6946, allocations: 65.66 kB / 485.4 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.6947, allocations: 12 kB / 485.4 MB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.6978, allocations: 2.829 MB / 488.2 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6979, allocations: 4.031 kB / 488.2 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.7001, allocations: 1.013 MB / 489.2 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.7003, allocations: 124.5 kB / 489.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7005, allocations: 8.75 kB / 489.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.7011, allocations: 43.95 kB / 489.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7013, allocations: 39.91 kB / 489.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.7013, allocations: 11.98 kB / 489.5 MB, free: 14.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.7019, allocations: 289.2 kB / 489.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7019, allocations: 0 / 489.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00102/0.7029, allocations: 147.9 kB / 489.9 MB, free: 13.71 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.002907/0.7059, allocations: 1.788 MB / 491.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0038/0.7097, allocations: 0.9251 MB / 492.6 MB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7098, allocations: 0 / 492.6 MB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003441/0.7132, allocations: 0.7649 MB / 493.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.7144, allocations: 120.8 kB / 493.5 MB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.718, allocations: 1.24 MB / 494.7 MB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.7188, allocations: 0.964 MB / 495.7 MB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000668/0.7195, allocations: 96.55 kB / 495.8 MB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.72, allocations: 207.4 kB / 496 MB, free: 7.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.72, allocations: 0 / 496 MB, free: 7.434 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05942/0.7794, allocations: 12.01 MB / 0.4961 GB, free: 11.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003913/0.7799, allocations: 192.3 kB / 0.4963 GB, free: 11.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/3.796, allocations: 0 / 0.4963 GB, free: 11.28 MB / 442.7 MB