Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.427/2.427, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.228e-05, allocations: 7.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6061, allocations: 94.78 MB / 450.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.6065, allocations: 95.92 kB / 450.4 MB, free: 6.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06679/0.6733, allocations: 14.5 MB / 464.9 MB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6733, allocations: 0 / 464.9 MB, free: 8.023 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.358e-05/0.6734, allocations: 16 kB / 464.9 MB, free: 8.008 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002717/0.6761, allocations: 0.8643 MB / 465.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6762, allocations: 12.03 kB / 465.8 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.6765, allocations: 98.73 kB / 465.9 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.6767, allocations: 71.16 kB / 466 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/0.6813, allocations: 1.098 MB / 467.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/0.6817, allocations: 116.7 kB / 467.2 MB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.6819, allocations: 59.95 kB / 467.2 MB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.6838, allocations: 0.7218 MB / 467.9 MB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.6839, allocations: 11.92 kB / 468 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.684, allocations: 28 kB / 468 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.684, allocations: 13.88 kB / 468 MB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6858, allocations: 0.6149 MB / 468.6 MB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006554/0.6924, allocations: 2.633 MB / 471.3 MB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.6946, allocations: 0.7066 MB / 472 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008954/0.6955, allocations: 366.2 kB / 472.3 MB, free: 328 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.6956, allocations: 4.438 kB / 472.3 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6956, allocations: 42.94 kB / 472.4 MB, free: 272 kB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.597e-06/0.6956, allocations: 0 / 472.4 MB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.003993/0.6996, allocations: 1.505 MB / 473.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.6997, allocations: 81.55 kB / 473.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.7004, allocations: 355 kB / 474.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.7005, allocations: 33.7 kB / 474.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.7008, allocations: 292.4 kB / 474.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.7011, allocations: 177.5 kB / 474.8 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.7011, allocations: 12.03 kB / 474.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7013, allocations: 358.8 kB / 475.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.7019, allocations: 233 kB / 475.4 MB, free: 13.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.7027, allocations: 332.1 kB / 475.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.7034, allocations: 267.2 kB / 476 MB, free: 12.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7034, allocations: 0 / 476 MB, free: 12.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001944/0.7054, allocations: 0.7755 MB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.7054, allocations: 8 kB / 476.7 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.7055, allocations: 7.984 kB / 476.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.7058, allocations: 73.61 kB / 476.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.7091, allocations: 391.7 kB / 477.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/0.7166, allocations: 5.874 MB / 483.1 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.7175, allocations: 44.12 kB / 483.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/0.7177, allocations: 27.98 kB / 483.1 MB, free: 4.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0002339/0.7179, allocations: 132.8 kB / 483.3 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.718, allocations: 47.44 kB / 483.3 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.72, allocations: 0.747 MB / 484.1 MB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.7201, allocations: 7.938 kB / 484.1 MB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7201, allocations: 4 kB / 484.1 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.7201, allocations: 0 / 484.1 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.7243, allocations: 1.591 MB / 485.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7244, allocations: 4.031 kB / 485.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003677/0.7281, allocations: 427.5 kB / 486.1 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.7286, allocations: 81.52 kB / 486.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.7287, allocations: 15.98 kB / 486.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003106/0.7318, allocations: 2.856 MB / 489 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7318, allocations: 3.938 kB / 489.1 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.7346, allocations: 1.261 MB / 490.3 MB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.7349, allocations: 121.2 kB / 490.4 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.735, allocations: 19.95 kB / 490.5 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.7357, allocations: 39.95 kB / 490.5 MB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7359, allocations: 47.94 kB / 490.5 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.736, allocations: 19.98 kB / 490.6 MB, free: 12.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.7365, allocations: 269.2 kB / 490.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7365, allocations: 3.938 kB / 490.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001059/0.7376, allocations: 157.6 kB / 491 MB, free: 12.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.003361/0.7409, allocations: 2.321 MB / 493.3 MB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.745, allocations: 1.02 MB / 494.3 MB, free: 8.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.745, allocations: 0 / 494.3 MB, free: 8.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003606/0.7486, allocations: 0.8161 MB / 495.1 MB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7498, allocations: 129.6 kB / 495.3 MB, free: 7.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.7566, allocations: 1.443 MB / 496.7 MB, free: 6.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7577, allocations: 0.9603 MB / 497.7 MB, free: 5.477 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.7588, allocations: 124.7 kB / 497.8 MB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.7594, allocations: 203.4 kB / 498 MB, free: 5.156 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7595, allocations: 0 / 498 MB, free: 5.156 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.085/0.8445, allocations: 12.23 MB / 0.4983 GB, free: 9.004 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.8448, allocations: 179.8 kB / 0.4984 GB, free: 8.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/3.9, allocations: 3.938 kB / 0.4984 GB, free: 8.777 MB / 442.7 MB