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.769/1.769, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.957e-05, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.471, allocations: 79.47 MB / 379.4 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.4713, allocations: 85.02 kB / 379.4 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04443/0.5157, allocations: 11.71 MB / 391.1 MB, free: 20.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5158, allocations: 3.938 kB / 391.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.695e-05/0.5159, allocations: 19.64 kB / 391.2 MB, free: 20.09 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.001873/0.5177, allocations: 0.9538 MB / 392.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5178, allocations: 11.69 kB / 392.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.518, allocations: 98.47 kB / 392.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.5189, allocations: 0.4952 MB / 392.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.519, allocations: 50.69 kB / 392.8 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5192, allocations: 71.42 kB / 392.8 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.5206, allocations: 0.6644 MB / 393.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.5207, allocations: 11.8 kB / 393.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.022e-05/0.5208, allocations: 25.06 kB / 393.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5208, allocations: 19.44 kB / 393.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5219, allocations: 475.6 kB / 394 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.5267, allocations: 2.606 MB / 396.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.528, allocations: 0.5108 MB / 397.1 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/0.5285, allocations: 266.3 kB / 397.4 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.5286, allocations: 8.375 kB / 397.4 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/0.5294, allocations: 403.6 kB / 397.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.116e-06/0.5294, allocations: 0 / 397.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.001448/0.5309, allocations: 0.6076 MB / 398.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5309, allocations: 118 kB / 398.5 MB, free: 17.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.5316, allocations: 458.9 kB / 399 MB, free: 17.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.5317, allocations: 44.25 kB / 399 MB, free: 17.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.532, allocations: 346.9 kB / 399.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5321, allocations: 200.1 kB / 399.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.5322, allocations: 19.34 kB / 399.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.5323, allocations: 343.4 kB / 399.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.5328, allocations: 187.6 kB / 400.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.5334, allocations: 357.3 kB / 400.4 MB, free: 16.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.5339, allocations: 253.6 kB / 400.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.999e-06/0.5339, allocations: 0 / 400.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00157/0.5355, allocations: 0.691 MB / 401.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003757/0.5359, allocations: 1.863 MB / 403.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5359, allocations: 3.875 kB / 403.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.5366, allocations: 159.1 kB / 403.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.5372, allocations: 121.6 kB / 403.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.5408, allocations: 2.317 MB / 405.8 MB, free: 29.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.5416, allocations: 91.42 kB / 405.9 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.587e-05/0.5417, allocations: 27.23 kB / 406 MB, free: 29.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5417, allocations: 7.906 kB / 406 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001533/0.5433, allocations: 0.6538 MB / 406.6 MB, free: 28.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5433, allocations: 4.5 kB / 406.6 MB, free: 28.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/0.5438, allocations: 149.9 kB / 406.8 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.5445, allocations: 113 kB / 406.9 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.5478, allocations: 2.293 MB / 409.2 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.5485, allocations: 73.52 kB / 409.2 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.5486, allocations: 27.16 kB / 409.3 MB, free: 27.49 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.0002797/0.5489, allocations: 164.7 kB / 409.4 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.5491, allocations: 70.12 kB / 409.5 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5507, allocations: 0.6559 MB / 410.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.549e-06/0.5507, allocations: 7.875 kB / 410.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-06/0.5507, allocations: 0 / 410.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5507, allocations: 3.188 kB / 410.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5534, allocations: 1.454 MB / 411.6 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5535, allocations: 0 / 411.6 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.5541, allocations: 92.64 kB / 411.7 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/0.5547, allocations: 144.7 kB / 411.8 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/0.5548, allocations: 15.16 kB / 411.9 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.5581, allocations: 2.313 MB / 414.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.152e-06/0.5581, allocations: 3.906 kB / 414.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.5602, allocations: 1.006 MB / 415.2 MB, free: 25.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.5606, allocations: 215 kB / 415.4 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5607, allocations: 18.56 kB / 415.4 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.5613, allocations: 52.77 kB / 415.5 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.5615, allocations: 67.7 kB / 415.5 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.5616, allocations: 22.73 kB / 415.6 MB, free: 25.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.5622, allocations: 358.2 kB / 415.9 MB, free: 25.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.59e-07/0.5622, allocations: 0 / 415.9 MB, free: 25.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001413/0.5636, allocations: 345.2 kB / 416.2 MB, free: 24.98 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.0002452/0.5639, allocations: 134.5 kB / 416.4 MB, free: 24.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.5665, allocations: 1.308 MB / 417.7 MB, free: 24.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.5665, allocations: 3.906 kB / 417.7 MB, free: 24.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.5674, allocations: 469.3 kB / 418.1 MB, free: 24.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.5681, allocations: 104.3 kB / 418.2 MB, free: 24.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5706, allocations: 0.9967 MB / 419.2 MB, free: 23.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.5713, allocations: 0.9539 MB / 420.2 MB, free: 23.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.5715, allocations: 53.7 kB / 420.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.828e-06/0.5716, allocations: 0 / 420.2 MB, free: 23.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01656/0.5881, allocations: 11.46 MB / 431.7 MB, free: 18.19 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