Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.014e-05, allocations: 3.234 kB / 292.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5468, allocations: 82.03 MB / 424.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.5471, allocations: 77.39 kB / 424.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.5749, allocations: 6.423 MB / 431.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5749, allocations: 4 kB / 431.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.575, allocations: 8 kB / 431.2 MB, free: 6.258 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001627/0.5766, allocations: 0.6152 MB / 431.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.5767, allocations: 8.031 kB / 431.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.5769, allocations: 77.08 kB / 431.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.5771, allocations: 47.44 kB / 431.9 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.5778, allocations: 336.3 kB / 432.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.5779, allocations: 35.77 kB / 432.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.578, allocations: 40.41 kB / 432.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.579, allocations: 367.5 kB / 432.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.579, allocations: 0 / 432.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.5791, allocations: 15.38 kB / 432.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5791, allocations: 8 kB / 432.7 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.5798, allocations: 233.3 kB / 432.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.5833, allocations: 1.505 MB / 434.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.584, allocations: 225.4 kB / 434.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.5845, allocations: 145.2 kB / 434.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.5845, allocations: 8.219 kB / 434.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005397/0.5851, allocations: 213.7 kB / 435 MB, free: 2.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.5851, allocations: 0 / 435 MB, free: 2.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001123/0.5862, allocations: 316.8 kB / 435.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.5864, allocations: 114.7 kB / 435.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.5869, allocations: 263.4 kB / 435.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.587, allocations: 33.27 kB / 435.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.5872, allocations: 265.6 kB / 436 MB, free: 2.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5873, allocations: 93.16 kB / 436.1 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.5874, allocations: 10.56 kB / 436.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5875, allocations: 318.7 kB / 436.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.5878, allocations: 80.52 kB / 436.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.5881, allocations: 200.9 kB / 436.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.5884, allocations: 104.3 kB / 436.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5885, allocations: 3.938 kB / 436.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001006/0.5895, allocations: 360.2 kB / 437.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.5895, allocations: 11.94 kB / 437.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5895, allocations: 0 / 437.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.59, allocations: 73.83 kB / 437.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.5905, allocations: 63.28 kB / 437.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.5933, allocations: 1.799 MB / 439.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.5939, allocations: 38.56 kB / 439.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.5939, allocations: 15.98 kB / 439.1 MB, free: 15.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.5941, allocations: 130.1 kB / 439.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.5942, allocations: 35.62 kB / 439.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.5943, allocations: 36.97 kB / 439.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5944, allocations: 4 kB / 439.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5944, allocations: 4 kB / 439.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5944, allocations: 0 / 439.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5955, allocations: 0.5704 MB / 439.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5955, allocations: 0 / 439.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.5959, allocations: 35.23 kB / 439.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003959/0.5963, allocations: 79.22 kB / 440 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.5964, allocations: 11.48 kB / 440 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.5991, allocations: 1.791 MB / 441.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5992, allocations: 0 / 441.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.6006, allocations: 493.5 kB / 442.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.6009, allocations: 134.2 kB / 442.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.601, allocations: 11.33 kB / 442.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.6013, allocations: 15.48 kB / 442.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6015, allocations: 27.47 kB / 442.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.6015, allocations: 15.36 kB / 442.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003241/0.6018, allocations: 206.9 kB / 442.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6019, allocations: 0 / 442.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.6026, allocations: 114.6 kB / 442.8 MB, free: 11.82 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.6045, allocations: 1.125 MB / 443.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.6055, allocations: 367.7 kB / 444.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6056, allocations: 0 / 444.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.6062, allocations: 262.1 kB / 444.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.6067, allocations: 55.08 kB / 444.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.6087, allocations: 0.5924 MB / 445.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.6093, allocations: 0.8184 MB / 446 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.6096, allocations: 122.5 kB / 446.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6096, allocations: 0 / 446.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.393, allocations: 7.382 MB / 453.5 MB, free: 1.504 MB / 362.7 MB