Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.707/2.707, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.917e-05, allocations: 2.656 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5427/0.6504, allocations: 74.55 MB / 368.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/0.6509, allocations: 84 kB / 368.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03138/0.6823, allocations: 6.084 MB / 375 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6823, allocations: 0 / 375 MB, free: 22.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.6824, allocations: 7.75 kB / 375 MB, free: 22.36 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001639/0.684, allocations: 0.6093 MB / 375.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.6841, allocations: 7.812 kB / 375.6 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.6842, allocations: 60.84 kB / 375.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6844, allocations: 54.62 kB / 375.7 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.6852, allocations: 334.9 kB / 376.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.6852, allocations: 16 kB / 376.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.84e-05/0.6853, allocations: 26.5 kB / 376.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000727/0.6861, allocations: 211.5 kB / 376.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.687, allocations: 306.2 kB / 376.6 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.687, allocations: 3.938 kB / 376.6 MB, free: 21.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.6871, allocations: 10.86 kB / 376.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.6871, allocations: 7.875 kB / 376.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.6904, allocations: 1.41 MB / 378 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.691, allocations: 207.8 kB / 378.2 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.6915, allocations: 147.8 kB / 378.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.6916, allocations: 240 / 378.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.6921, allocations: 205.6 kB / 378.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.915e-06/0.6921, allocations: 3.938 kB / 378.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001193/0.6934, allocations: 290.2 kB / 378.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.6934, allocations: 114.6 kB / 379 MB, free: 20.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.6939, allocations: 239.2 kB / 379.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.6939, allocations: 25.7 kB / 379.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.6941, allocations: 216.3 kB / 379.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.6943, allocations: 88.33 kB / 379.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.6943, allocations: 0 / 379.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.6945, allocations: 344.1 kB / 379.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.6948, allocations: 72.02 kB / 379.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.6951, allocations: 186.4 kB / 380.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.6954, allocations: 106 kB / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6954, allocations: 0 / 380.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001058/0.6965, allocations: 333 kB / 380.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.6965, allocations: 7.688 kB / 380.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6966, allocations: 3.625 kB / 380.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.6971, allocations: 85.38 kB / 380.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.6976, allocations: 58.53 kB / 380.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.7004, allocations: 1.728 MB / 382.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.701, allocations: 31.3 kB / 382.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.701, allocations: 19.56 kB / 382.5 MB, free: 18.08 MB / 314.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0001974/0.7012, allocations: 123.9 kB / 382.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.7013, allocations: 31.06 kB / 382.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.7015, allocations: 34.5 kB / 382.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7015, allocations: 3.844 kB / 382.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7015, allocations: 3.953 kB / 382.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.7015, allocations: 7.641 kB / 382.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.7025, allocations: 0.5028 MB / 383.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.7026, allocations: 0 / 383.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.703, allocations: 30.58 kB / 383.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/0.7034, allocations: 78.69 kB / 383.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.7035, allocations: 3.906 kB / 383.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.7062, allocations: 1.731 MB / 385 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7062, allocations: 0 / 385 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.7076, allocations: 463.4 kB / 385.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.7079, allocations: 134.4 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.708, allocations: 6.75 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.7084, allocations: 19.47 kB / 385.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.7085, allocations: 22.66 kB / 385.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.7086, allocations: 11.25 kB / 385.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.7089, allocations: 187.1 kB / 385.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7089, allocations: 288 / 385.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008314/0.7097, allocations: 102.6 kB / 386 MB, free: 15.71 MB / 314.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001832/0.7116, allocations: 1.087 MB / 387 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009753/0.7126, allocations: 352.6 kB / 387.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7126, allocations: 3.938 kB / 387.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.7132, allocations: 249.6 kB / 387.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.7137, allocations: 30.91 kB / 387.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.7157, allocations: 0.532 MB / 388.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.7163, allocations: 0.821 MB / 389 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.7166, allocations: 30.5 kB / 389.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.7169, allocations: 127.3 kB / 389.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7169, allocations: 0 / 389.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.8299, allocations: 6.671 MB / 395.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009261/0.8309, allocations: 201.5 kB / 396 MB, free: 10.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.576/4.407, allocations: 4 kB / 396 MB, free: 10.09 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_p.i,rectifier.dc_p.v,rectifier.diode_n.Goff,rectifier.diode_n.LossPower,rectifier.diode_n.Ron,rectifier.diode_n.T,rectifier.diode_n.T_heatPort,rectifier.diode_n.Vknee,rectifier.diode_n.i,rectifier.diode_n.n.i,rectifier.diode_n.n.v,rectifier.diode_n.off,rectifier.diode_n.p.i,rectifier.diode_n.p.v,rectifier.diode_n.s,rectifier.diode_n.useHeatPort,rectifier.diode_n.v,rectifier.diode_p.Goff,rectifier.diode_p.LossPower,rectifier.diode_p.Ron,rectifier.diode_p.T,rectifier.diode_p.T_heatPort,rectifier.diode_p.Vknee,rectifier.diode_p.i,rectifier.diode_p.n.i,rectifier.diode_p.n.v,rectifier.diode_p.off,rectifier.diode_p.p.i,rectifier.diode_p.p.v,rectifier.diode_p.s,rectifier.diode_p.useHeatPort,rectifier.diode_p.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_n.V,sinevoltage_n.freqHz,sinevoltage_n.i,sinevoltage_n.n.i,sinevoltage_n.n.v,sinevoltage_n.offset,sinevoltage_n.p.i,sinevoltage_n.p.v,sinevoltage_n.phase,sinevoltage_n.signalSource.amplitude,sinevoltage_n.signalSource.freqHz,sinevoltage_n.signalSource.offset,sinevoltage_n.signalSource.phase,sinevoltage_n.signalSource.startTime,sinevoltage_n.signalSource.y,sinevoltage_n.startTime,sinevoltage_n.v,sinevoltage_p.V,sinevoltage_p.freqHz,sinevoltage_p.i,sinevoltage_p.n.i,sinevoltage_p.n.v,sinevoltage_p.offset,sinevoltage_p.p.i,sinevoltage_p.p.v,sinevoltage_p.phase,sinevoltage_p.signalSource.amplitude,sinevoltage_p.signalSource.freqHz,sinevoltage_p.signalSource.offset,sinevoltage_p.signalSource.phase,sinevoltage_p.signalSource.startTime,sinevoltage_p.signalSource.y,sinevoltage_p.startTime,sinevoltage_p.v,time,voltagesensor.n.i,voltagesensor.n.v,voltagesensor.p.i,voltagesensor.p.v,voltagesensor.v