Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.553e-05, allocations: 8 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5567, allocations: 82.3 MB / 424.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.557, allocations: 90.92 kB / 425 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03162/0.5887, allocations: 7.241 MB / 432.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5887, allocations: 0 / 432.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.392e-05/0.5888, allocations: 11.98 kB / 432.3 MB, free: 5.664 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002101/0.5909, allocations: 0.65 MB / 432.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.591, allocations: 8.25 kB / 432.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.5912, allocations: 87.08 kB / 433 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.5915, allocations: 59.28 kB / 433.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.5925, allocations: 360.1 kB / 433.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.5925, allocations: 38.94 kB / 433.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5927, allocations: 40.94 kB / 433.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5942, allocations: 441.6 kB / 433.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.5942, allocations: 3.953 kB / 434 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.5943, allocations: 22.42 kB / 434 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.5944, allocations: 12 kB / 434 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.5955, allocations: 289 kB / 434.3 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.6005, allocations: 1.872 MB / 436.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.602, allocations: 0.5812 MB / 436.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.6033, allocations: 280.3 kB / 437 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.6033, allocations: 4.328 kB / 437 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008713/0.6042, allocations: 262.2 kB / 437.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 4.368e-06/0.6043, allocations: 0 / 437.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002078/0.6064, allocations: 446.6 kB / 437.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.6065, allocations: 84.67 kB / 437.8 MB, free: 1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.6072, allocations: 274.6 kB / 438 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6074, allocations: 40.88 kB / 438.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6077, allocations: 263.3 kB / 438.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.6079, allocations: 133 kB / 438.5 MB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.608, allocations: 6.812 kB / 438.5 MB, free: 412 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.6082, allocations: 336 kB / 438.8 MB, free: 76 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.6087, allocations: 107 kB / 438.9 MB, free: 12 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.6094, allocations: 237.5 kB / 439.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.6099, allocations: 129.7 kB / 439.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.61, allocations: 3.953 kB / 439.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001824/0.6118, allocations: 472 kB / 439.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.6119, allocations: 8 kB / 439.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.6119, allocations: 4 kB / 439.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009844/0.6129, allocations: 144.2 kB / 439.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.6135, allocations: 67.72 kB / 440 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.619, allocations: 2.297 MB / 442.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.6197, allocations: 46.66 kB / 442.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.6198, allocations: 15.19 kB / 442.3 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.6201, allocations: 136.4 kB / 442.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6202, allocations: 39.56 kB / 442.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6204, allocations: 47.64 kB / 442.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6204, allocations: 4 kB / 442.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6205, allocations: 8 kB / 442.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6205, allocations: 0 / 442.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.6236, allocations: 1.009 MB / 443.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.6236, allocations: 3.938 kB / 443.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.6241, allocations: 39.92 kB / 443.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009201/0.6251, allocations: 141.6 kB / 443.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.6251, allocations: 11.06 kB / 443.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.6306, allocations: 2.303 MB / 446 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6306, allocations: 0 / 446 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.6329, allocations: 0.6876 MB / 446.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.6333, allocations: 161.2 kB / 446.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6334, allocations: 11.05 kB / 446.9 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.634, allocations: 11.75 kB / 446.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6342, allocations: 41.56 kB / 446.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.6343, allocations: 11.44 kB / 447 MB, free: 9.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004978/0.6348, allocations: 217.7 kB / 447.2 MB, free: 9.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6348, allocations: 0 / 447.2 MB, free: 9.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001313/0.6362, allocations: 144.1 kB / 447.3 MB, free: 8.941 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002911/0.6391, allocations: 1.331 MB / 448.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/0.6409, allocations: 0.4955 MB / 449.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.641, allocations: 0 / 449.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.6421, allocations: 343.8 kB / 449.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.643, allocations: 73.19 kB / 449.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.6465, allocations: 0.7394 MB / 450.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.6472, allocations: 0.836 MB / 451.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.6476, allocations: 142.2 kB / 451.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6476, allocations: 0 / 451.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.957/3.605, allocations: 8.593 MB / 459.9 MB, free: 12.95 MB / 378.7 MB