Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.661/2.661, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.187e-05, allocations: 4.875 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5917/0.7072, allocations: 73.98 MB / 368.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.7075, allocations: 71 kB / 368.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0438/0.7514, allocations: 8.737 MB / 377.1 MB, free: 21.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.7514, allocations: 1.75 kB / 377.1 MB, free: 21.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.967e-05/0.7515, allocations: 11.38 kB / 377.1 MB, free: 21.96 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002074/0.7535, allocations: 0.758 MB / 377.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.7536, allocations: 15.61 kB / 377.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.7538, allocations: 91.67 kB / 377.9 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.754, allocations: 69.88 kB / 378 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.7548, allocations: 365.3 kB / 378.4 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.7548, allocations: 24.41 kB / 378.4 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.7549, allocations: 30.88 kB / 378.4 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/0.7562, allocations: 387.7 kB / 378.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.7574, allocations: 473.3 kB / 379.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.7575, allocations: 7.797 kB / 379.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.7576, allocations: 0 / 379.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7576, allocations: 11.62 kB / 379.3 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.7624, allocations: 2.007 MB / 381.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.7636, allocations: 0.5856 MB / 381.9 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007976/0.7645, allocations: 367.4 kB / 382.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.7645, allocations: 4.438 kB / 382.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.7646, allocations: 38.31 kB / 382.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 4.348e-06/0.7646, allocations: 0 / 382.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003355/0.768, allocations: 1.149 MB / 383.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.7681, allocations: 59.91 kB / 383.5 MB, free: 18.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.7685, allocations: 270 kB / 383.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.7686, allocations: 29.69 kB / 383.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.7688, allocations: 237.4 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.769, allocations: 186.7 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.7691, allocations: 7.938 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.7693, allocations: 356.8 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.7697, allocations: 136.6 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.7702, allocations: 178.8 kB / 384.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.7707, allocations: 152.6 kB / 385 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7707, allocations: 0 / 385 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001838/0.7725, allocations: 0.576 MB / 385.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7726, allocations: 3.875 kB / 385.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7726, allocations: 3.875 kB / 385.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.7739, allocations: 246 kB / 385.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.7746, allocations: 62.55 kB / 385.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009894/0.7845, allocations: 6.523 MB / 392.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.7853, allocations: 11.73 kB / 392.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.7853, allocations: 19.5 kB / 392.4 MB, free: 12.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.7856, allocations: 124.3 kB / 392.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.7857, allocations: 53.73 kB / 392.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.7859, allocations: 55.16 kB / 392.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.7859, allocations: 3.875 kB / 392.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.786, allocations: 3.875 kB / 392.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.786, allocations: 3.984 kB / 392.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.7892, allocations: 1.183 MB / 393.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.7892, allocations: 0 / 393.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.7899, allocations: 50.91 kB / 393.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.7912, allocations: 255.8 kB / 394.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.7913, allocations: 7.922 kB / 394.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.8015, allocations: 6.526 MB / 400.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8015, allocations: 0 / 400.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.8041, allocations: 0.9086 MB / 401.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.8046, allocations: 157 kB / 401.7 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8047, allocations: 7.828 kB / 401.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.8053, allocations: 7.719 kB / 401.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.8056, allocations: 51.3 kB / 401.8 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.8056, allocations: 20.89 kB / 401.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003821/0.806, allocations: 213.6 kB / 402 MB, free: 5.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.806, allocations: 0 / 402 MB, free: 5.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001476/0.8075, allocations: 154 kB / 402.2 MB, free: 5.449 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003045/0.8106, allocations: 1.476 MB / 403.7 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.813, allocations: 0.9241 MB / 404.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8131, allocations: 0 / 404.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.8149, allocations: 0.765 MB / 405.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.8157, allocations: 58.95 kB / 405.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.82, allocations: 1.067 MB / 406.5 MB, free: 3.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.8208, allocations: 0.899 MB / 407.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00037/0.8212, allocations: 47.64 kB / 407.4 MB, free: 2.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.8216, allocations: 174.3 kB / 407.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8216, allocations: 0 / 407.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0903/0.9119, allocations: 11.2 MB / 418.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004754/0.9124, allocations: 140.6 kB / 418.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.414/5.326, allocations: 0 / 418.9 MB, free: 12.67 MB / 330.7 MB "" Variables in the reference:time,Capacitor1.v,Capacitor2.v,Inductor2.i,Inductor3.i Variables in the result:CDC,Capacitor1.C,Capacitor1.i,Capacitor1.n.i,Capacitor1.n.v,Capacitor1.p.i,Capacitor1.p.v,Capacitor1.v,Capacitor2.C,Capacitor2.i,Capacitor2.n.i,Capacitor2.n.v,Capacitor2.p.i,Capacitor2.p.v,Capacitor2.v,Constant1.k,Constant1.y,Goff,Ground1.p.i,Ground1.p.v,IDC,IdealDiode1.Goff,IdealDiode1.LossPower,IdealDiode1.Ron,IdealDiode1.T,IdealDiode1.T_heatPort,IdealDiode1.Vknee,IdealDiode1.i,IdealDiode1.n.i,IdealDiode1.n.v,IdealDiode1.off,IdealDiode1.p.i,IdealDiode1.p.v,IdealDiode1.s,IdealDiode1.useHeatPort,IdealDiode1.v,IdealDiode2.Goff,IdealDiode2.LossPower,IdealDiode2.Ron,IdealDiode2.T,IdealDiode2.T_heatPort,IdealDiode2.Vknee,IdealDiode2.i,IdealDiode2.n.i,IdealDiode2.n.v,IdealDiode2.off,IdealDiode2.p.i,IdealDiode2.p.v,IdealDiode2.s,IdealDiode2.useHeatPort,IdealDiode2.v,IdealDiode3.Goff,IdealDiode3.LossPower,IdealDiode3.Ron,IdealDiode3.T,IdealDiode3.T_heatPort,IdealDiode3.Vknee,IdealDiode3.i,IdealDiode3.n.i,IdealDiode3.n.v,IdealDiode3.off,IdealDiode3.p.i,IdealDiode3.p.v,IdealDiode3.s,IdealDiode3.useHeatPort,IdealDiode3.v,IdealDiode4.Goff,IdealDiode4.LossPower,IdealDiode4.Ron,IdealDiode4.T,IdealDiode4.T_heatPort,IdealDiode4.Vknee,IdealDiode4.i,IdealDiode4.n.i,IdealDiode4.n.v,IdealDiode4.off,IdealDiode4.p.i,IdealDiode4.p.v,IdealDiode4.s,IdealDiode4.useHeatPort,IdealDiode4.v,IdealDiode5.Goff,IdealDiode5.LossPower,IdealDiode5.Ron,IdealDiode5.T,IdealDiode5.T_heatPort,IdealDiode5.Vknee,IdealDiode5.i,IdealDiode5.n.i,IdealDiode5.n.v,IdealDiode5.off,IdealDiode5.p.i,IdealDiode5.p.v,IdealDiode5.s,IdealDiode5.useHeatPort,IdealDiode5.v,IdealDiode6.Goff,IdealDiode6.LossPower,IdealDiode6.Ron,IdealDiode6.T,IdealDiode6.T_heatPort,IdealDiode6.Vknee,IdealDiode6.i,IdealDiode6.n.i,IdealDiode6.n.v,IdealDiode6.off,IdealDiode6.p.i,IdealDiode6.p.v,IdealDiode6.s,IdealDiode6.useHeatPort,IdealDiode6.v,Inductor1.L,Inductor1.i,Inductor1.n.i,Inductor1.n.v,Inductor1.p.i,Inductor1.p.v,Inductor1.v,Inductor2.L,Inductor2.i,Inductor2.n.i,Inductor2.n.v,Inductor2.p.i,Inductor2.p.v,Inductor2.v,Inductor3.L,Inductor3.i,Inductor3.n.i,Inductor3.n.v,Inductor3.p.i,Inductor3.p.v,Inductor3.v,LAC,Losses,Ron,SignalCurrent1.i,SignalCurrent1.n.i,SignalCurrent1.n.v,SignalCurrent1.p.i,SignalCurrent1.p.v,SignalCurrent1.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,SineVoltage2.V,SineVoltage2.freqHz,SineVoltage2.i,SineVoltage2.n.i,SineVoltage2.n.v,SineVoltage2.offset,SineVoltage2.p.i,SineVoltage2.p.v,SineVoltage2.phase,SineVoltage2.signalSource.amplitude,SineVoltage2.signalSource.freqHz,SineVoltage2.signalSource.offset,SineVoltage2.signalSource.phase,SineVoltage2.signalSource.startTime,SineVoltage2.signalSource.y,SineVoltage2.startTime,SineVoltage2.v,SineVoltage3.V,SineVoltage3.freqHz,SineVoltage3.i,SineVoltage3.n.i,SineVoltage3.n.v,SineVoltage3.offset,SineVoltage3.p.i,SineVoltage3.p.v,SineVoltage3.phase,SineVoltage3.signalSource.amplitude,SineVoltage3.signalSource.freqHz,SineVoltage3.signalSource.offset,SineVoltage3.signalSource.phase,SineVoltage3.signalSource.startTime,SineVoltage3.signalSource.y,SineVoltage3.startTime,SineVoltage3.v,VAC,Vknee,_D_outputAlias_Losses,_D_outputAlias_iAC[1],_D_outputAlias_iAC[2],_D_outputAlias_iAC[3],_D_outputAlias_uAC[1],_D_outputAlias_uAC[2],_D_outputAlias_uAC[3],_D_outputAlias_uDC,der(Capacitor1.v),der(Capacitor2.v),der(Inductor1.i),der(Inductor2.i),der(Inductor3.i),f,iAC[1],iAC[2],iAC[3],time,uAC[1],uAC[2],uAC[3],uDC