Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.591e-05, allocations: 0 / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 50.42 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.5617, allocations: 85.35 MB / 428 MB, free: 8.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/0.5621, allocations: 90.25 kB / 428.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/0.6661, allocations: 21.6 MB / 449.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6662, allocations: 0 / 449.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.6663, allocations: 27.94 kB / 449.7 MB, free: 6.156 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.005073/0.6714, allocations: 1.39 MB / 451.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.6715, allocations: 8.031 kB / 451.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000564/0.6721, allocations: 169 kB / 451.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/0.6726, allocations: 154.2 kB / 451.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.6756, allocations: 0.9412 MB / 452.4 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/0.6757, allocations: 73.94 kB / 452.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.6761, allocations: 106.4 kB / 452.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/0.6802, allocations: 1.47 MB / 454 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.6803, allocations: 7.859 kB / 454 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.6805, allocations: 42.75 kB / 454.1 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.515e-05/0.6806, allocations: 45.91 kB / 454.1 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.6845, allocations: 1.266 MB / 455.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.6982, allocations: 4.994 MB / 460.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.701, allocations: 1.402 MB / 461.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.7031, allocations: 0.6961 MB / 462.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.7032, allocations: 4.562 kB / 462.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.7048, allocations: 0.5736 MB / 463 MB, free: 9.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 5.29e-06/0.7048, allocations: 3.938 kB / 463 MB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.003546/0.7084, allocations: 1.18 MB / 464.2 MB, free: 8.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.7085, allocations: 93.89 kB / 464.3 MB, free: 8.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.7109, allocations: 0.8282 MB / 465.1 MB, free: 7.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.7112, allocations: 41.69 kB / 465.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007149/0.7119, allocations: 0.5216 MB / 465.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.7124, allocations: 232.7 kB / 465.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.7125, allocations: 12 kB / 465.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7127, allocations: 346.8 kB / 466.3 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.7139, allocations: 377.4 kB / 466.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7152, allocations: 0.4934 MB / 467.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7163, allocations: 415 kB / 467.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7163, allocations: 0 / 467.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003066/0.7194, allocations: 1.141 MB / 468.7 MB, free: 4.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.7195, allocations: 11.95 kB / 468.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7195, allocations: 4 kB / 468.7 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.7211, allocations: 399.2 kB / 469.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.7222, allocations: 111.8 kB / 469.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008715/0.7309, allocations: 4.124 MB / 473.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.7321, allocations: 83.48 kB / 473.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.7322, allocations: 27.95 kB / 473.4 MB, free: 15.24 MB / 394.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: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.7325, allocations: 154.6 kB / 473.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.7328, allocations: 94.88 kB / 473.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.7332, allocations: 120.5 kB / 473.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.7332, allocations: 4.125 kB / 473.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.7333, allocations: 4 kB / 473.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.7333, allocations: 11.92 kB / 473.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006964/0.7403, allocations: 2.541 MB / 476.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.7403, allocations: 3.953 kB / 476.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/0.7413, allocations: 91.88 kB / 476.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.7429, allocations: 376.6 kB / 476.8 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.7431, allocations: 16 kB / 476.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00865/0.7517, allocations: 4.089 MB / 480.9 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7518, allocations: 0 / 480.9 MB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.7565, allocations: 1.853 MB / 482.8 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/0.7576, allocations: 287.8 kB / 483.1 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.7579, allocations: 16 kB / 483.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009749/0.7589, allocations: 47.91 kB / 483.1 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.7593, allocations: 80.78 kB / 483.2 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.7594, allocations: 27.98 kB / 483.2 MB, free: 5.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.761, allocations: 0.6553 MB / 483.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.761, allocations: 0 / 483.9 MB, free: 4.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001828/0.7629, allocations: 346.9 kB / 484.2 MB, free: 4.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00531/0.7682, allocations: 2.441 MB / 486.7 MB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.7717, allocations: 1.173 MB / 487.8 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.7718, allocations: 3.984 kB / 487.8 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.774, allocations: 0.7463 MB / 488.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.7761, allocations: 227.9 kB / 488.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.7838, allocations: 2.262 MB / 491.1 MB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.7855, allocations: 1.389 MB / 492.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.7866, allocations: 419.3 kB / 492.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.392e-06/0.7866, allocations: 0 / 492.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.108/3.895, allocations: 27.64 MB / 0.5083 GB, free: 15.87 MB / 442.7 MB