Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.393e-05, allocations: 7.203 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07953/0.07959, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.4217, allocations: 79.46 MB / 379.3 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4221, allocations: 87.09 kB / 379.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04693/0.469, allocations: 11.71 MB / 391.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.078e-06/0.4691, allocations: 0 / 391.1 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.551e-05/0.4691, allocations: 19.59 kB / 391.1 MB, free: 20.34 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002116/0.4713, allocations: 0.9596 MB / 392.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4713, allocations: 7.656 kB / 392.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.4716, allocations: 97.28 kB / 392.2 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4726, allocations: 0.4989 MB / 392.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.4727, allocations: 54.16 kB / 392.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4729, allocations: 68.67 kB / 392.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4744, allocations: 0.6772 MB / 393.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.4744, allocations: 7.891 kB / 393.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4746, allocations: 32.72 kB / 393.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4746, allocations: 15.66 kB / 393.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.4758, allocations: 492.7 kB / 394 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004939/0.4808, allocations: 2.595 MB / 396.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.482, allocations: 0.5235 MB / 397.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.4826, allocations: 261.7 kB / 397.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.4827, allocations: 19.62 kB / 397.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.4835, allocations: 396.5 kB / 397.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.16e-06/0.4835, allocations: 0 / 397.8 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.001507/0.485, allocations: 0.6113 MB / 398.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4851, allocations: 114.8 kB / 398.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.4859, allocations: 461.1 kB / 399 MB, free: 17.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/0.486, allocations: 46.89 kB / 399 MB, free: 17.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.4862, allocations: 357.5 kB / 399.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4864, allocations: 197 kB / 399.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.4865, allocations: 14.09 kB / 399.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.4866, allocations: 345.2 kB / 399.9 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.4871, allocations: 184.8 kB / 400.1 MB, free: 17.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.4877, allocations: 368.1 kB / 400.5 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.4882, allocations: 247 kB / 400.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.919e-06/0.4883, allocations: 3.906 kB / 400.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001583/0.4899, allocations: 0.704 MB / 401.4 MB, free: 16.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.4903, allocations: 1.858 MB / 403.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4903, allocations: 7.875 kB / 403.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.4909, allocations: 154.8 kB / 403.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.4916, allocations: 122 kB / 403.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.4952, allocations: 2.305 MB / 405.8 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.4962, allocations: 92.28 kB / 405.9 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4963, allocations: 34.59 kB / 406 MB, free: 29.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4963, allocations: 5.469 kB / 406 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/0.4979, allocations: 0.6694 MB / 406.6 MB, free: 29.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4979, allocations: 3.906 kB / 406.7 MB, free: 29.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.4984, allocations: 146.4 kB / 406.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.499, allocations: 114.7 kB / 406.9 MB, free: 29.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.5024, allocations: 2.284 MB / 409.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.5032, allocations: 79.52 kB / 409.3 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.5032, allocations: 23.25 kB / 409.3 MB, free: 27.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.000292/0.5036, allocations: 166.1 kB / 409.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.5038, allocations: 69.84 kB / 409.5 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.5053, allocations: 0.6613 MB / 410.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.935e-06/0.5053, allocations: 7.719 kB / 410.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-06/0.5054, allocations: 0 / 410.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5054, allocations: 3.047 kB / 410.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.5083, allocations: 1.45 MB / 411.6 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.042e-06/0.5084, allocations: 7.812 kB / 411.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.5091, allocations: 88.83 kB / 411.7 MB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.5097, allocations: 143.9 kB / 411.9 MB, free: 27.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.5098, allocations: 11.34 kB / 411.9 MB, free: 27.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.5133, allocations: 2.316 MB / 414.2 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-06/0.5133, allocations: 0 / 414.2 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.5155, allocations: 1.022 MB / 415.2 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.5159, allocations: 209.2 kB / 415.4 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.516, allocations: 14.25 kB / 415.4 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/0.5167, allocations: 57.11 kB / 415.5 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.5169, allocations: 66.03 kB / 415.6 MB, free: 25.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.517, allocations: 26.7 kB / 415.6 MB, free: 25.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005473/0.5175, allocations: 349.5 kB / 415.9 MB, free: 25.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.69e-07/0.5176, allocations: 0 / 415.9 MB, free: 25.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001426/0.519, allocations: 351.8 kB / 416.3 MB, free: 25.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00027/0.5193, allocations: 134.1 kB / 416.4 MB, free: 25.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.522, allocations: 1.342 MB / 417.7 MB, free: 24.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.96e-06/0.5221, allocations: 5 kB / 417.8 MB, free: 24.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.5231, allocations: 478.1 kB / 418.2 MB, free: 24.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.524, allocations: 106.9 kB / 418.3 MB, free: 24.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.5266, allocations: 1.007 MB / 419.3 MB, free: 24.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.5274, allocations: 0.9467 MB / 420.3 MB, free: 23.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.5277, allocations: 53.5 kB / 420.3 MB, free: 23.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.241e-06/0.5277, allocations: 3.938 kB / 420.3 MB, free: 23.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01753/0.5452, allocations: 11.5 MB / 431.8 MB, free: 18.39 MB / 330.7 MB "Error: Could not read variable fundamentalWaveCurrent.mean1.t0 in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveCurrent.mean1.t0 from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveCurrent.mean1.x in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveCurrent.mean1.x from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveCurrent.mean2.t0 in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveCurrent.mean2.t0 from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveCurrent.mean2.x in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveCurrent.mean2.x from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveVoltage.mean1.t0 in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveVoltage.mean1.t0 from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveVoltage.mean1.x in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveVoltage.mean1.x from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveVoltage.mean2.t0 in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveVoltage.mean2.t0 from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable fundamentalWaveVoltage.mean2.x in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable fundamentalWaveVoltage.mean2.x from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable inverter.diode_n.s in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable inverter.diode_n.s from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable inverter.diode_p.s in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable inverter.diode_p.s from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable inverter.transistor_n.s in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable inverter.transistor_n.s from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable inverter.transistor_p.s in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable inverter.transistor_p.s from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable signalPWM.sawtooth.T_start in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable signalPWM.sawtooth.T_start from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable signalPWM.sawtooth.count in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable signalPWM.sawtooth.count from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable signalPWM.zeroOrderHold.firstTrigger in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable signalPWM.zeroOrderHold.firstTrigger from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! Error: Could not read variable signalPWM.zeroOrderHold.sampleTrigger in file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat. Warning: Get data of variable signalPWM.zeroOrderHold.sampleTrigger from file Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat failed! " Variables in the reference:time,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i Variables in the result:R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.freqHz,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.freqHz,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.freqHz,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.freqHz,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.v,inverter.useConstantEnable,inverter.vAC,inverter.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.v,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual.u1,signalPWM.greaterEqual.u2,signalPWM.greaterEqual.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.limitsAtInit,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v