Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.401/2.401, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.234e-05, allocations: 3.984 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5872, allocations: 94.79 MB / 450.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.5876, allocations: 91.95 kB / 450.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06702/0.6546, allocations: 14.49 MB / 464.9 MB, free: 8.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6547, allocations: 0 / 464.9 MB, free: 8.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.61e-05/0.6547, allocations: 16 kB / 464.9 MB, free: 8.137 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.00276/0.6575, allocations: 0.8643 MB / 465.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.6576, allocations: 12.03 kB / 465.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.6579, allocations: 102.7 kB / 465.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.6582, allocations: 71.16 kB / 466 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/0.663, allocations: 1.099 MB / 467.1 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.6633, allocations: 112.7 kB / 467.2 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.6635, allocations: 63.94 kB / 467.2 MB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6654, allocations: 0.7218 MB / 468 MB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.6654, allocations: 0 / 468 MB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.6655, allocations: 24 kB / 468 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.6655, allocations: 15.47 kB / 468 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6673, allocations: 0.6227 MB / 468.6 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/0.6739, allocations: 2.641 MB / 471.3 MB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.6761, allocations: 0.7066 MB / 472 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.677, allocations: 355.5 kB / 472.3 MB, free: 464 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.6771, allocations: 4.438 kB / 472.3 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.6771, allocations: 43 kB / 472.4 MB, free: 408 kB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/0.6771, allocations: 0 / 472.4 MB, free: 408 kB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.004243/0.6814, allocations: 1.509 MB / 473.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.6815, allocations: 81.55 kB / 473.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.6823, allocations: 359 kB / 474.3 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.6824, allocations: 37.7 kB / 474.3 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6827, allocations: 288.4 kB / 474.6 MB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.683, allocations: 177.5 kB / 474.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.6831, allocations: 8 kB / 474.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.6833, allocations: 358.8 kB / 475.1 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.6839, allocations: 229 kB / 475.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.6847, allocations: 336.1 kB / 475.7 MB, free: 12.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.6854, allocations: 263.2 kB / 476 MB, free: 12.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6854, allocations: 0 / 476 MB, free: 12.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001996/0.6874, allocations: 0.7782 MB / 476.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6874, allocations: 4 kB / 476.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.6875, allocations: 11.97 kB / 476.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/0.6879, allocations: 74.05 kB / 476.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.6912, allocations: 395.5 kB / 477.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007285/0.6985, allocations: 5.87 MB / 483.1 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.6995, allocations: 43.95 kB / 483.1 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.6995, allocations: 20 kB / 483.1 MB, free: 4.887 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.0002248/0.6998, allocations: 143.6 kB / 483.3 MB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6999, allocations: 43.44 kB / 483.3 MB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.7019, allocations: 0.7459 MB / 484.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7019, allocations: 7.984 kB / 484.1 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7019, allocations: 4 kB / 484.1 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.7019, allocations: 11.98 kB / 484.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.7061, allocations: 1.587 MB / 485.7 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7061, allocations: 4 kB / 485.7 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003723/0.7099, allocations: 431.7 kB / 486.1 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.7104, allocations: 86.06 kB / 486.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/0.7105, allocations: 12 kB / 486.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.7135, allocations: 2.845 MB / 489 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7135, allocations: 0 / 489 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.7164, allocations: 1.269 MB / 490.3 MB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.7166, allocations: 120.6 kB / 490.4 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.7168, allocations: 25.58 kB / 490.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.7175, allocations: 43.97 kB / 490.5 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.7177, allocations: 43.92 kB / 490.5 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.7178, allocations: 16 kB / 490.6 MB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004879/0.7183, allocations: 269.2 kB / 490.8 MB, free: 12.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7183, allocations: 4 kB / 490.8 MB, free: 12.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001043/0.7193, allocations: 159.9 kB / 491 MB, free: 12.51 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.003415/0.7228, allocations: 2.321 MB / 493.3 MB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00405/0.7269, allocations: 1.016 MB / 494.3 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7269, allocations: 0 / 494.3 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0037/0.7306, allocations: 0.8239 MB / 495.1 MB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.7319, allocations: 121.4 kB / 495.3 MB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.7371, allocations: 1.447 MB / 496.7 MB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.7379, allocations: 0.9603 MB / 497.7 MB, free: 5.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007469/0.7387, allocations: 124.7 kB / 497.8 MB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.7392, allocations: 199.4 kB / 498 MB, free: 5.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7392, allocations: 0 / 498 MB, free: 5.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.7873, allocations: 12.23 MB / 0.4983 GB, free: 9.133 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.7877, allocations: 191.3 kB / 0.4984 GB, free: 8.906 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.557, allocations: 0 / 0.4984 GB, free: 8.906 MB / 442.7 MB