Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.553e-05, allocations: 6.031 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 50.42 MB / 342.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5527, allocations: 84.64 MB / 427.3 MB, free: 9.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5531, allocations: 86.31 kB / 427.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0585/0.6116, allocations: 13.78 MB / 441.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6117, allocations: 0 / 441.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.6118, allocations: 16 kB / 441.2 MB, free: 13.52 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002868/0.6147, allocations: 0.9478 MB / 442.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.6147, allocations: 8.031 kB / 442.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.615, allocations: 113.6 kB / 442.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.6153, allocations: 94.88 kB / 442.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.617, allocations: 0.6167 MB / 443 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.6171, allocations: 45.56 kB / 443 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.6173, allocations: 64.62 kB / 443.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.6196, allocations: 0.8761 MB / 443.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.6197, allocations: 0 / 443.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.6198, allocations: 33.92 kB / 444 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.125e-05/0.6199, allocations: 33.25 kB / 444 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.6219, allocations: 0.7028 MB / 444.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/0.629, allocations: 2.841 MB / 447.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6304, allocations: 0.7174 MB / 448.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008309/0.6313, allocations: 320.1 kB / 448.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.6313, allocations: 7.516 kB / 448.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/0.6321, allocations: 360.4 kB / 448.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/0.6322, allocations: 0 / 448.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001925/0.6341, allocations: 0.6516 MB / 449.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.6342, allocations: 109.8 kB / 449.7 MB, free: 6.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.6353, allocations: 0.5031 MB / 450.2 MB, free: 6.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.6354, allocations: 40.31 kB / 450.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.6358, allocations: 391.2 kB / 450.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.636, allocations: 128.6 kB / 450.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.6361, allocations: 10 kB / 450.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6362, allocations: 336.9 kB / 451.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.6367, allocations: 199.1 kB / 451.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.6373, allocations: 326.1 kB / 451.6 MB, free: 5.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.6379, allocations: 226.9 kB / 451.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6379, allocations: 4 kB / 451.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001644/0.6396, allocations: 0.6612 MB / 452.5 MB, free: 4.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.6397, allocations: 8 kB / 452.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6397, allocations: 7.984 kB / 452.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/0.6405, allocations: 200 kB / 452.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.6411, allocations: 79.77 kB / 452.8 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.6458, allocations: 2.663 MB / 455.4 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.6465, allocations: 55.7 kB / 455.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.6466, allocations: 20 kB / 455.5 MB, free: 1.477 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: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.6468, allocations: 137.5 kB / 455.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.647, allocations: 55.34 kB / 455.7 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.6472, allocations: 69.05 kB / 455.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6472, allocations: 4 kB / 455.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.6472, allocations: 7.953 kB / 455.8 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6473, allocations: 7.922 kB / 455.8 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/0.6509, allocations: 1.596 MB / 457.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.651, allocations: 4 kB / 457.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.6515, allocations: 43.97 kB / 457.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/0.6522, allocations: 200.7 kB / 457.6 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.6523, allocations: 12 kB / 457.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/0.6568, allocations: 2.64 MB / 460.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6569, allocations: 3.953 kB / 460.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.6594, allocations: 1.045 MB / 461.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.6599, allocations: 192.3 kB / 461.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.66, allocations: 12 kB / 461.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.6605, allocations: 27.97 kB / 461.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.6608, allocations: 47.94 kB / 461.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.6608, allocations: 11.98 kB / 461.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008054/0.6616, allocations: 413.5 kB / 462 MB, free: 10.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6617, allocations: 0 / 462 MB, free: 10.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001075/0.6627, allocations: 207.3 kB / 462.2 MB, free: 10.51 MB / 378.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00326/0.666, allocations: 1.706 MB / 463.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.6684, allocations: 0.6539 MB / 464.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6684, allocations: 320 / 464.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.6699, allocations: 445.4 kB / 465 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.6713, allocations: 130.5 kB / 465.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.6766, allocations: 1.319 MB / 466.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.6779, allocations: 1.078 MB / 467.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007928/0.6788, allocations: 247.3 kB / 467.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6788, allocations: 0 / 467.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.979/3.658, allocations: 16.1 MB / 483.9 MB, free: 4.75 MB / 394.7 MB