Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 95.22 kB / 16.93 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008467/0.0008468, allocations: 179.9 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004327, allocations: 12 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.003413/0.1047, allocations: 2.96 MB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1065, allocations: 1.201 MB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1068, allocations: 11.94 kB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.1069, allocations: 55.48 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1073, allocations: 127.5 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1078, allocations: 251.5 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.1083, allocations: 483 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.1087, allocations: 268.7 kB / 333.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.109, allocations: 222.9 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1093, allocations: 246.7 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.1093, allocations: 24 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.1094, allocations: 24 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1095, allocations: 115.5 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1096, allocations: 145.3 kB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.1102, allocations: 0.7016 MB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1102, allocations: 0 / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1102, allocations: 0 / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1102, allocations: 0 / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001539/0.1118, allocations: 0.9002 MB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1118, allocations: 12.03 kB / 336.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.1119, allocations: 102.4 kB / 336.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1121, allocations: 83.06 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.113, allocations: 0.576 MB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.113, allocations: 45.31 kB / 336.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.1131, allocations: 67.98 kB / 337 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1142, allocations: 0.6481 MB / 337.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1142, allocations: 3.906 kB / 337.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1143, allocations: 20 kB / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1143, allocations: 16 kB / 337.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1154, allocations: 0.5231 MB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.1182, allocations: 1.888 MB / 340.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.1193, allocations: 0.5284 MB / 340.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1193, allocations: 8.438 kB / 340.6 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007273/0.1201, allocations: 413 kB / 341 MB, free: 7.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.1201, allocations: 0 / 341 MB, free: 7.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001607/0.1217, allocations: 0.7795 MB / 341.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.1218, allocations: 119.2 kB / 341.9 MB, free: 6.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.1223, allocations: 449.9 kB / 342.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.1224, allocations: 37.7 kB / 342.4 MB, free: 5.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1226, allocations: 316.4 kB / 342.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1228, allocations: 161.7 kB / 342.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1228, allocations: 16 kB / 342.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.1231, allocations: 370.7 kB / 343.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.1236, allocations: 221.1 kB / 343.5 MB, free: 4.633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.1242, allocations: 429 kB / 343.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.1247, allocations: 262.9 kB / 344.1 MB, free: 3.863 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1247, allocations: 11.94 kB / 344.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001344/0.1261, allocations: 0.7077 MB / 344.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001533/0.1276, allocations: 2.523 MB / 347.4 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1276, allocations: 12 kB / 347.4 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.1277, allocations: 12 kB / 347.4 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.1282, allocations: 143.7 kB / 347.5 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1282, allocations: 19.92 kB / 347.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.1286, allocations: 87.5 kB / 347.7 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.1287, allocations: 39.94 kB / 347.7 MB, free: 112 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.1287, allocations: 4 kB / 347.7 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.1297, allocations: 0.57 MB / 348.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.376e-05/0.1298, allocations: 8 kB / 348.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1298, allocations: 11.95 kB / 348.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.1302, allocations: 139.7 kB / 348.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1302, allocations: 8 kB / 348.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1306, allocations: 79.56 kB / 348.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.1307, allocations: 31.92 kB / 348.5 MB, free: 15.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.rootMeanSquare.mean.y,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid,$PRE.thd1.harmonic.mean1.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean2.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.131, allocations: 307.2 kB / 348.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.1311, allocations: 55.34 kB / 348.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.1323, allocations: 0.6259 MB / 349.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1323, allocations: 7.953 kB / 349.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1324, allocations: 7.984 kB / 349.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1324, allocations: 0 / 349.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.133, allocations: 0.6341 MB / 350.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.133, allocations: 0 / 350.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.1335, allocations: 95.88 kB / 350.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.904e-05/0.1336, allocations: 7.938 kB / 350.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.1336, allocations: 15.98 kB / 350.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1336, allocations: 4 kB / 350.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1336, allocations: 3.953 kB / 350.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.1353, allocations: 0.9293 MB / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1354, allocations: 132.4 kB / 351.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.1355, allocations: 12 kB / 351.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1358, allocations: 55.95 kB / 351.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1359, allocations: 48.45 kB / 351.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.136, allocations: 19.98 kB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.1363, allocations: 306.9 kB / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1363, allocations: 4 kB / 351.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.137, allocations: 239.1 kB / 352 MB, free: 11.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x) * Number of discrete variables: 20 ($cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thd1.harmonic.mean1.y,thd1.harmonic.mean2.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean2.y,thdRMS.rootMeanSquare.mean.y,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid) * Number of discrete states: 6 (thdRMS.rootMeanSquare.mean.x,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean1.x,thd1.rootMeanSquare.mean.x,thd1.harmonic.mean2.x,thd1.harmonic.mean1.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.1391, allocations: 1.5 MB / 353.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.1407, allocations: 0.884 MB / 354.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1407, allocations: 0 / 354.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.1412, allocations: 283.5 kB / 354.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1415, allocations: 78.06 kB / 354.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.1464, allocations: 6.059 MB / 360.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1469, allocations: 0.9194 MB / 361.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.1473, allocations: 108.6 kB / 361.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.1477, allocations: 231.3 kB / 362.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1477, allocations: 4 kB / 362.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.17, allocations: 10.37 MB / 372.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.1702, allocations: 176.8 kB / 372.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.074, allocations: 3.938 kB / 372.6 MB, free: 6.77 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat does not exist to compare? outputFormat=mat