Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.372/2.372, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.185e-05/5.196e-05, allocations: 7.938 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 53.24 MB / 354.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4783/0.5977, allocations: 95.11 MB / 449.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004974/0.5982, allocations: 87.95 kB / 449.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08102/0.6793, allocations: 14.06 MB / 463.8 MB, free: 8.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6794, allocations: 0 / 463.8 MB, free: 8.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.095e-05/0.6794, allocations: 16 kB / 463.9 MB, free: 8.492 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.003296/0.6828, allocations: 0.8799 MB / 464.7 MB, free: 7.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.6828, allocations: 8.031 kB / 464.8 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004087/0.6832, allocations: 102.5 kB / 464.9 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.6835, allocations: 71.38 kB / 464.9 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.6887, allocations: 1.109 MB / 466 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.689, allocations: 121.4 kB / 466.1 MB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.6893, allocations: 59.95 kB / 466.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.6915, allocations: 0.7334 MB / 466.9 MB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.6916, allocations: 3.984 kB / 466.9 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/0.6917, allocations: 24 kB / 467 MB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.6918, allocations: 16 kB / 467 MB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.6936, allocations: 0.5798 MB / 467.6 MB, free: 4.641 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.008119/0.7018, allocations: 2.738 MB / 470.3 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.7041, allocations: 0.7569 MB / 471.1 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.7049, allocations: 277.7 kB / 471.3 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.705, allocations: 4 kB / 471.3 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7051, allocations: 42.5 kB / 471.4 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 4.047e-06/0.7051, allocations: 0 / 471.4 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003919/0.709, allocations: 1.334 MB / 472.7 MB, free: 15.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.7091, allocations: 85.11 kB / 472.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.7099, allocations: 367 kB / 473.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.71, allocations: 37.7 kB / 473.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.7103, allocations: 354.6 kB / 473.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.7105, allocations: 138 kB / 473.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.7106, allocations: 16.03 kB / 473.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7108, allocations: 335.8 kB / 474 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.7114, allocations: 185.1 kB / 474.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.712, allocations: 305.3 kB / 474.5 MB, free: 13.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.7126, allocations: 215.8 kB / 474.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7127, allocations: 0 / 474.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001736/0.7144, allocations: 0.6517 MB / 475.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.7145, allocations: 8 kB / 475.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7145, allocations: 4 kB / 475.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.7149, allocations: 65.95 kB / 475.4 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/0.7181, allocations: 383.5 kB / 475.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.726, allocations: 5.839 MB / 481.6 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/0.7268, allocations: 45.08 kB / 481.7 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.7269, allocations: 20 kB / 481.7 MB, free: 5.59 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.000225/0.7272, allocations: 140.8 kB / 481.8 MB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.7273, allocations: 47.44 kB / 481.9 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.7291, allocations: 0.6296 MB / 482.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.7291, allocations: 4 kB / 482.5 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.7292, allocations: 4 kB / 482.5 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.7292, allocations: 3.953 kB / 482.5 MB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.7333, allocations: 1.42 MB / 484 MB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7333, allocations: 0 / 484 MB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003468/0.7368, allocations: 395.6 kB / 484.3 MB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.7372, allocations: 73.66 kB / 484.4 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.7374, allocations: 8.844 kB / 484.4 MB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.7408, allocations: 2.833 MB / 487.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.7408, allocations: 3.938 kB / 487.3 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.7432, allocations: 1.017 MB / 488.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.7435, allocations: 120.6 kB / 488.4 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.7436, allocations: 12 kB / 488.4 MB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.7443, allocations: 43.95 kB / 488.4 MB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.7445, allocations: 35.91 kB / 488.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.7446, allocations: 15.98 kB / 488.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005607/0.7451, allocations: 286.6 kB / 488.8 MB, free: 14.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7452, allocations: 0 / 488.8 MB, free: 14.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001157/0.7463, allocations: 151.9 kB / 488.9 MB, free: 13.88 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.003039/0.7494, allocations: 1.784 MB / 490.7 MB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.7533, allocations: 0.9252 MB / 491.6 MB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7534, allocations: 0 / 491.6 MB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.7568, allocations: 0.7414 MB / 492.4 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7581, allocations: 128.8 kB / 492.5 MB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.7621, allocations: 1.296 MB / 493.8 MB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.7631, allocations: 0.964 MB / 494.8 MB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.7637, allocations: 211.4 kB / 495 MB, free: 7.652 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7637, allocations: 0 / 495 MB, free: 7.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.096/3.86, allocations: 19.24 MB / 0.5022 GB, free: 4.41 MB / 442.7 MB