Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.459/2.459, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.841e-05, allocations: 3.344 kB / 249.8 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 44.52 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/0.722, allocations: 75.52 MB / 369.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.7224, allocations: 82.7 kB / 369.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03292/0.7553, allocations: 6.959 MB / 376.8 MB, free: 22.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7554, allocations: 1.75 kB / 376.8 MB, free: 22.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.741e-05/0.7554, allocations: 15.62 kB / 376.9 MB, free: 22.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002142/0.7576, allocations: 0.6455 MB / 377.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/0.7577, allocations: 15.75 kB / 377.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002792/0.758, allocations: 59.72 kB / 377.6 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.7583, allocations: 62.38 kB / 377.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.7591, allocations: 347.9 kB / 378 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.7592, allocations: 20.69 kB / 378 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7593, allocations: 32.56 kB / 378 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008572/0.7601, allocations: 272.7 kB / 378.3 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.7611, allocations: 377.2 kB / 378.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.7612, allocations: 7.922 kB / 378.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.7613, allocations: 0 / 378.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.7613, allocations: 15.36 kB / 378.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.7651, allocations: 1.76 MB / 380.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.7663, allocations: 0.5799 MB / 381 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.7669, allocations: 211.3 kB / 381.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.767, allocations: 4.203 kB / 381.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.7676, allocations: 251.8 kB / 381.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.626e-06/0.7676, allocations: 4 kB / 381.5 MB, free: 19.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001435/0.769, allocations: 400.8 kB / 381.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.7691, allocations: 92.11 kB / 382 MB, free: 19.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.7696, allocations: 247.8 kB / 382.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.7697, allocations: 29.55 kB / 382.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.7699, allocations: 212.5 kB / 382.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.77, allocations: 132 kB / 382.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.77, allocations: 0 / 382.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7702, allocations: 343.4 kB / 382.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.7705, allocations: 103.2 kB / 383 MB, free: 18.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.7709, allocations: 219.1 kB / 383.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.7713, allocations: 126 kB / 383.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7713, allocations: 3.906 kB / 383.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00124/0.7725, allocations: 449.9 kB / 383.8 MB, free: 18.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.7726, allocations: 9.938 kB / 383.8 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.7726, allocations: 3.812 kB / 383.8 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/0.7734, allocations: 142.4 kB / 384 MB, free: 18.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.7739, allocations: 61.83 kB / 384 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.7779, allocations: 2.22 MB / 386.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.7785, allocations: 31.19 kB / 386.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.7785, allocations: 23.27 kB / 386.3 MB, free: 16.72 MB / 314.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0002121/0.7788, allocations: 122.9 kB / 386.4 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.7789, allocations: 35.41 kB / 386.4 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.779, allocations: 40.5 kB / 386.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7791, allocations: 7.781 kB / 386.5 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7791, allocations: 0 / 386.5 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.7791, allocations: 0 / 386.5 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.7811, allocations: 0.8949 MB / 387.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7811, allocations: 0 / 387.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.7816, allocations: 50.47 kB / 387.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006585/0.7822, allocations: 138 kB / 387.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.7823, allocations: 3.875 kB / 387.6 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.7862, allocations: 2.22 MB / 389.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.7862, allocations: 0 / 389.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.7877, allocations: 0.6411 MB / 390.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.788, allocations: 142.2 kB / 390.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.7881, allocations: 4 kB / 390.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.7885, allocations: 15.73 kB / 390.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.7887, allocations: 34.95 kB / 390.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.7887, allocations: 19.17 kB / 390.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000288/0.789, allocations: 185.2 kB / 390.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.789, allocations: 0 / 390.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009342/0.79, allocations: 128.8 kB / 390.9 MB, free: 14.17 MB / 314.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.00197/0.792, allocations: 1.216 MB / 392.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.7932, allocations: 480 kB / 392.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7933, allocations: 0 / 392.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.794, allocations: 343.9 kB / 393 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.7947, allocations: 60.05 kB / 393 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.7972, allocations: 0.6478 MB / 393.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.7977, allocations: 0.8326 MB / 394.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.798, allocations: 43.09 kB / 394.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.7983, allocations: 137.2 kB / 394.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7983, allocations: 4 kB / 394.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06542/0.8637, allocations: 8.702 MB / 403.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00058/0.8644, allocations: 213.6 kB / 403.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.863/4.727, allocations: 0 / 403.6 MB, free: 7.57 MB / 314.7 MB "" Variables in the reference:time,meanCurrent.x,meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.y,meanVoltage.y,rootMeanSquareVoltage.mean.y Variables in the result:R,Vrms,_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(meanCurrent.x),der(meanVoltage.x),der(rootMeanSquareVoltage.mean.x),f,ground.p.i,ground.p.v,meanCurrent.f,meanCurrent.t0,meanCurrent.u,meanCurrent.x,meanCurrent.x0,meanCurrent.y,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.u,meanVoltage.x,meanVoltage.x0,meanVoltage.y,meanVoltage.yGreaterOrEqualZero,rectifier.GoffDiode,rectifier.LossPower,rectifier.RonDiode,rectifier.T,rectifier.T_heatPort,rectifier.VkneeDiode,rectifier.ac_n.i,rectifier.ac_n.v,rectifier.ac_p.i,rectifier.ac_p.v,rectifier.dc_n.i,rectifier.dc_n.v,rectifier.dc_p.i,rectifier.dc_p.v,rectifier.diode_n1.Goff,rectifier.diode_n1.LossPower,rectifier.diode_n1.Ron,rectifier.diode_n1.T,rectifier.diode_n1.T_heatPort,rectifier.diode_n1.Vknee,rectifier.diode_n1.i,rectifier.diode_n1.n.i,rectifier.diode_n1.n.v,rectifier.diode_n1.off,rectifier.diode_n1.p.i,rectifier.diode_n1.p.v,rectifier.diode_n1.s,rectifier.diode_n1.useHeatPort,rectifier.diode_n1.v,rectifier.diode_n2.Goff,rectifier.diode_n2.LossPower,rectifier.diode_n2.Ron,rectifier.diode_n2.T,rectifier.diode_n2.T_heatPort,rectifier.diode_n2.Vknee,rectifier.diode_n2.i,rectifier.diode_n2.n.i,rectifier.diode_n2.n.v,rectifier.diode_n2.off,rectifier.diode_n2.p.i,rectifier.diode_n2.p.v,rectifier.diode_n2.s,rectifier.diode_n2.useHeatPort,rectifier.diode_n2.v,rectifier.diode_p1.Goff,rectifier.diode_p1.LossPower,rectifier.diode_p1.Ron,rectifier.diode_p1.T,rectifier.diode_p1.T_heatPort,rectifier.diode_p1.Vknee,rectifier.diode_p1.i,rectifier.diode_p1.n.i,rectifier.diode_p1.n.v,rectifier.diode_p1.off,rectifier.diode_p1.p.i,rectifier.diode_p1.p.v,rectifier.diode_p1.s,rectifier.diode_p1.useHeatPort,rectifier.diode_p1.v,rectifier.diode_p2.Goff,rectifier.diode_p2.LossPower,rectifier.diode_p2.Ron,rectifier.diode_p2.T,rectifier.diode_p2.T_heatPort,rectifier.diode_p2.Vknee,rectifier.diode_p2.i,rectifier.diode_p2.n.i,rectifier.diode_p2.n.v,rectifier.diode_p2.off,rectifier.diode_p2.p.i,rectifier.diode_p2.p.v,rectifier.diode_p2.s,rectifier.diode_p2.useHeatPort,rectifier.diode_p2.v,rectifier.iAC,rectifier.iDC,rectifier.powerAC,rectifier.powerDC,rectifier.useHeatPort,rectifier.vAC,rectifier.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,rootMeanSquareVoltage.f,rootMeanSquareVoltage.mean.f,rootMeanSquareVoltage.mean.t0,rootMeanSquareVoltage.mean.u,rootMeanSquareVoltage.mean.x,rootMeanSquareVoltage.mean.x0,rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.yGreaterOrEqualZero,rootMeanSquareVoltage.product.nu,rootMeanSquareVoltage.product.significantDigits,rootMeanSquareVoltage.product.u[1],rootMeanSquareVoltage.product.u[2],rootMeanSquareVoltage.product.y,rootMeanSquareVoltage.sqrt1.u,rootMeanSquareVoltage.sqrt1.y,rootMeanSquareVoltage.u,rootMeanSquareVoltage.x0,rootMeanSquareVoltage.y,sinevoltage.V,sinevoltage.freqHz,sinevoltage.i,sinevoltage.n.i,sinevoltage.n.v,sinevoltage.offset,sinevoltage.p.i,sinevoltage.p.v,sinevoltage.phase,sinevoltage.signalSource.amplitude,sinevoltage.signalSource.freqHz,sinevoltage.signalSource.offset,sinevoltage.signalSource.phase,sinevoltage.signalSource.startTime,sinevoltage.signalSource.y,sinevoltage.startTime,sinevoltage.v,time,voltagesensor.n.i,voltagesensor.n.v,voltagesensor.p.i,voltagesensor.p.v,voltagesensor.v