Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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.974/1.974, allocations: 194.8 MB / 211.6 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003579, allocations: 12 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.07946, allocations: 44.51 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.005852/0.08536, allocations: 3.87 MB / 312.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.08844, allocations: 1.306 MB / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.08893, allocations: 11.94 kB / 313.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.08921, allocations: 87.28 kB / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.08986, allocations: 223.3 kB / 313.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.09069, allocations: 227.5 kB / 314.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009729/0.09168, allocations: 0.6125 MB / 314.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005803/0.09227, allocations: 282.9 kB / 315 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004595/0.09275, allocations: 282.8 kB / 315.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.09325, allocations: 326.4 kB / 315.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.0934, allocations: 36 kB / 315.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.09353, allocations: 32 kB / 315.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.09374, allocations: 143.4 kB / 315.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.09397, allocations: 165.3 kB / 315.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.09505, allocations: 0.7638 MB / 316.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.09507, allocations: 0 / 316.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.4e-06/0.09509, allocations: 3.938 kB / 316.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.09512, allocations: 3.938 kB / 316.7 MB, free: 8.613 MB / 266.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.002397/0.09753, allocations: 1.035 MB / 317.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.09758, allocations: 8.031 kB / 317.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.09781, allocations: 90.97 kB / 317.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.09905, allocations: 0.5445 MB / 318.4 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.09918, allocations: 65.3 kB / 318.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.09934, allocations: 64 kB / 318.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1012, allocations: 0.7293 MB / 319.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.1012, allocations: 8 kB / 319.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.1013, allocations: 27.98 kB / 319.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1014, allocations: 16 kB / 319.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.1031, allocations: 0.5712 MB / 319.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00544/0.1085, allocations: 2.579 MB / 322.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.1103, allocations: 0.597 MB / 323 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.1104, allocations: 16.55 kB / 323.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.1116, allocations: 461.6 kB / 323.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 4.002e-06/0.1116, allocations: 0 / 323.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.004295/0.1159, allocations: 1.234 MB / 324.7 MB, free: 304 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1161, allocations: 119.4 kB / 324.9 MB, free: 160 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.117, allocations: 0.5185 MB / 325.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.1172, allocations: 41.7 kB / 325.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.1176, allocations: 359 kB / 325.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.1179, allocations: 197.2 kB / 326 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.1179, allocations: 20 kB / 326 MB, free: 15.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1181, allocations: 334.8 kB / 326.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/0.1189, allocations: 241.9 kB / 326.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.1199, allocations: 430.8 kB / 327 MB, free: 13.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.1208, allocations: 294.4 kB / 327.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.701e-06/0.1208, allocations: 4 kB / 327.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002296/0.1231, allocations: 0.8029 MB / 328.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1234, allocations: 270.5 kB / 328.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1234, allocations: 8 kB / 328.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.1241, allocations: 157.6 kB / 328.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.1248, allocations: 127.8 kB / 328.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/0.1289, allocations: 2.365 MB / 331 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.1298, allocations: 95.38 kB / 331.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.1298, allocations: 24 kB / 331.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1299, allocations: 4 kB / 331.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002036/0.1319, allocations: 0.7468 MB / 331.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.132, allocations: 8 kB / 331.9 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.1325, allocations: 160.6 kB / 332 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.1331, allocations: 119.8 kB / 332.1 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.1372, allocations: 2.335 MB / 334.5 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.1378, allocations: 87.41 kB / 334.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.1379, allocations: 24 kB / 334.6 MB, free: 5.973 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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.000609/0.1385, allocations: 308.9 kB / 334.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.1387, allocations: 63.25 kB / 334.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.141, allocations: 0.7874 MB / 335.7 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.141, allocations: 4 kB / 335.7 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1411, allocations: 0 / 335.7 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.1411, allocations: 3.984 kB / 335.7 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.1446, allocations: 1.541 MB / 337.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.138e-06/0.1447, allocations: 0 / 337.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.1452, allocations: 87.88 kB / 337.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006035/0.1459, allocations: 148.6 kB / 337.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.1459, allocations: 15.98 kB / 337.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00406/0.15, allocations: 2.347 MB / 339.9 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-06/0.1501, allocations: 0 / 339.9 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.1531, allocations: 1.156 MB / 341 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.1536, allocations: 204.1 kB / 341.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.1538, allocations: 15.98 kB / 341.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.1543, allocations: 59.73 kB / 341.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.1546, allocations: 56.48 kB / 341.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.1546, allocations: 27.92 kB / 341.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006329/0.1553, allocations: 358.8 kB / 341.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.1553, allocations: 4 kB / 341.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00155/0.1569, allocations: 347 kB / 342.1 MB, free: 14.21 MB / 298.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.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,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) * Number of clocked states: 0 () * 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.0002346/0.1571, allocations: 133.4 kB / 342.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.1608, allocations: 1.499 MB / 343.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.957e-06/0.1609, allocations: 256 / 343.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.1622, allocations: 0.5252 MB / 344.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.1629, allocations: 94.2 kB / 344.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.1664, allocations: 1.581 MB / 345.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.1673, allocations: 0.9552 MB / 346.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.1675, allocations: 55.42 kB / 346.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of SimCode: time 3.826e-06/0.1676, allocations: 0 / 346.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of Templates: time 0.0211/0.1887, allocations: 11.49 MB / 358.4 MB, free: 13.77 MB / 314.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