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.00128/0.00128, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001379/0.001379, allocations: 192 kB / 18.51 MB, free: 4.641 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.174/1.174, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001181/0.001181, allocations: 55.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07132/0.07252, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004524/0.07708, allocations: 3.565 MB / 330.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.07901, allocations: 1.263 MB / 332.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.07924, allocations: 15.94 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.07948, allocations: 82.98 kB / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.07982, allocations: 134.8 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.08043, allocations: 399.4 kB / 332.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.08115, allocations: 0.8455 MB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.08164, allocations: 377.8 kB / 334 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.08199, allocations: 318.8 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.08233, allocations: 358.2 kB / 334.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.08245, allocations: 92 kB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.08256, allocations: 100 kB / 334.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.08272, allocations: 199.4 kB / 335.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.083, allocations: 378.1 kB / 335.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.0837, allocations: 0.9504 MB / 336.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.08371, allocations: 0 / 336.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08372, allocations: 0 / 336.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.08373, allocations: 0 / 336.4 MB, free: 11.28 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.001687/0.08543, allocations: 1.013 MB / 337.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.08547, allocations: 8.031 kB / 337.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.08559, allocations: 102.7 kB / 337.5 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.08571, allocations: 80 kB / 337.6 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.08656, allocations: 0.5848 MB / 338.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.08661, allocations: 53.61 kB / 338.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.0867, allocations: 60.38 kB / 338.3 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.08777, allocations: 0.6403 MB / 338.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.08781, allocations: 0 / 338.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.08787, allocations: 24 kB / 339 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.08789, allocations: 16 kB / 339 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.08891, allocations: 495.6 kB / 339.5 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.09154, allocations: 1.864 MB / 341.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.09249, allocations: 496.9 kB / 341.8 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.09295, allocations: 222 kB / 342 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.09301, allocations: 8.422 kB / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/0.09376, allocations: 385.2 kB / 342.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/0.09378, allocations: 0 / 342.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001601/0.09539, allocations: 0.7286 MB / 343.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.09549, allocations: 119.2 kB / 343.3 MB, free: 4.176 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.09602, allocations: 449.9 kB / 343.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.0961, allocations: 41.7 kB / 343.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.09633, allocations: 316.4 kB / 344 MB, free: 3.359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.09648, allocations: 161.7 kB / 344.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.09667, allocations: 126.3 kB / 344.3 MB, free: 3.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.09683, allocations: 370.7 kB / 344.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.0973, allocations: 207.4 kB / 344.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.09788, allocations: 421 kB / 345.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.09888, allocations: 0.6166 MB / 345.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.09889, allocations: 4 kB / 345.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001216/0.1001, allocations: 0.6833 MB / 346.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1001, allocations: 8 kB / 346.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1002, allocations: 8 kB / 346.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1002, allocations: 8 kB / 346.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.1007, allocations: 139.8 kB / 346.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1007, allocations: 11.94 kB / 346.8 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.1012, allocations: 83.67 kB / 346.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.1012, allocations: 31.94 kB / 346.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005298/0.1017, allocations: 337.3 kB / 347.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000481/0.1022, allocations: 397 kB / 347.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008259/0.1031, allocations: 0.5815 MB / 348.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.1031, allocations: 0 / 348.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001013/0.1041, allocations: 0.6219 MB / 348.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1041, allocations: 8 kB / 348.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1041, allocations: 12.03 kB / 348.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.1041, allocations: 8 kB / 348.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.1046, allocations: 127.7 kB / 349 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1046, allocations: 12 kB / 349 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.105, allocations: 67.5 kB / 349 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.105, allocations: 28 kB / 349.1 MB, free: 13.94 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,thdRMS.pythagoras.valid,thdRMS.valid,thdRMS.greaterThreshold.y,thdRMS.rootMeanSquare.mean.y,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean1.y,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.harmonic.mean2.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.1052, allocations: 250.2 kB / 349.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.1053, allocations: 55.34 kB / 349.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.1065, allocations: 0.5829 MB / 350 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1065, allocations: 8 kB / 350 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1065, allocations: 0 / 350 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.1066, allocations: 7.922 kB / 350 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.1071, allocations: 0.6302 MB / 350.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1072, allocations: 0 / 350.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.1076, allocations: 87.86 kB / 350.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1076, allocations: 4 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.1076, allocations: 15.98 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1076, allocations: 0 / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1076, allocations: 4 kB / 350.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1092, allocations: 0.8707 MB / 351.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.1093, allocations: 140.3 kB / 351.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.1094, allocations: 16 kB / 351.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.1097, allocations: 39.95 kB / 351.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.1098, allocations: 44.64 kB / 351.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.1098, allocations: 31.91 kB / 351.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002812/0.1101, allocations: 302.9 kB / 352.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1101, allocations: 0 / 352.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006237/0.1108, allocations: 243.1 kB / 352.4 MB, free: 10.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/0.1125, allocations: 1.445 MB / 353.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1142, allocations: 0.8645 MB / 354.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1143, allocations: 3.906 kB / 354.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.1147, allocations: 263.1 kB / 354.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.1152, allocations: 97.66 kB / 355 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006201/0.1214, allocations: 5.288 MB / 360.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1218, allocations: 0.8997 MB / 361.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.1222, allocations: 100.6 kB / 361.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.1224, allocations: 231.3 kB / 361.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1224, allocations: 0 / 361.6 MB, free: 1.047 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/2.473, allocations: 11.56 MB / 373.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/18.89, allocations: 11.91 kB / 373.1 MB, free: 5.391 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/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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x Variables in the result:THD1,THDrms,V1,V3,der(thd1.harmonic.mean1.x),der(thd1.harmonic.mean2.x),der(thd1.rootMeanSquare.mean.x),der(thdRMS.harmonic.mean1.x),der(thdRMS.harmonic.mean2.x),der(thdRMS.rootMeanSquare.mean.x),f1,ground.p.i,ground.p.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.freqHz,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.freqHz,sineVoltage3.signalSource.offset,sineVoltage3.signalSource.phase,sineVoltage3.signalSource.startTime,sineVoltage3.signalSource.y,sineVoltage3.startTime,sineVoltage3.v,thd1.andValid.u1,thd1.andValid.u2,thd1.andValid.y,thd1.booleanExpression.y,thd1.division.u1,thd1.division.u2,thd1.division.y,thd1.f,thd1.greaterThreshold.threshold,thd1.greaterThreshold.u,thd1.greaterThreshold.y,thd1.harmonic.f,thd1.harmonic.gain.k,thd1.harmonic.gain.u,thd1.harmonic.gain.y,thd1.harmonic.k,thd1.harmonic.mean1.f,thd1.harmonic.mean1.u,thd1.harmonic.mean1.x,thd1.harmonic.mean1.x0,thd1.harmonic.mean1.y,thd1.harmonic.mean1.yGreaterOrEqualZero,thd1.harmonic.mean2.f,thd1.harmonic.mean2.u,thd1.harmonic.mean2.x,thd1.harmonic.mean2.x0,thd1.harmonic.mean2.y,thd1.harmonic.mean2.yGreaterOrEqualZero,thd1.harmonic.product1.nu,thd1.harmonic.product1.significantDigits,thd1.harmonic.product1.u[1],thd1.harmonic.product1.u[2],thd1.harmonic.product1.y,thd1.harmonic.product2.nu,thd1.harmonic.product2.significantDigits,thd1.harmonic.product2.u[1],thd1.harmonic.product2.u[2],thd1.harmonic.product2.y,thd1.harmonic.rectangularToPolar.u_im,thd1.harmonic.rectangularToPolar.u_re,thd1.harmonic.rectangularToPolar.y_abs,thd1.harmonic.rectangularToPolar.y_arg,thd1.harmonic.sin1.amplitude,thd1.harmonic.sin1.freqHz,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.freqHz,thd1.harmonic.sin2.offset,thd1.harmonic.sin2.phase,thd1.harmonic.sin2.startTime,thd1.harmonic.sin2.y,thd1.harmonic.u,thd1.harmonic.useConjugateComplex,thd1.harmonic.x0Cos,thd1.harmonic.x0Sin,thd1.harmonic.y_arg,thd1.harmonic.y_rms,thd1.limiter.homotopyType,thd1.limiter.limitsAtInit,thd1.limiter.strict,thd1.limiter.u,thd1.limiter.uMax,thd1.limiter.uMin,thd1.limiter.y,thd1.pythagoras.u1,thd1.pythagoras.u1IsHypotenuse,thd1.pythagoras.u2,thd1.pythagoras.valid,thd1.pythagoras.y,thd1.rootMeanSquare.f,thd1.rootMeanSquare.mean.f,thd1.rootMeanSquare.mean.u,thd1.rootMeanSquare.mean.x,thd1.rootMeanSquare.mean.x0,thd1.rootMeanSquare.mean.y,thd1.rootMeanSquare.mean.yGreaterOrEqualZero,thd1.rootMeanSquare.product.nu,thd1.rootMeanSquare.product.significantDigits,thd1.rootMeanSquare.product.u[1],thd1.rootMeanSquare.product.u[2],thd1.rootMeanSquare.product.y,thd1.rootMeanSquare.sqrt1.u,thd1.rootMeanSquare.sqrt1.y,thd1.rootMeanSquare.u,thd1.rootMeanSquare.x0,thd1.rootMeanSquare.y,thd1.switch1.u1,thd1.switch1.u2,thd1.switch1.u3,thd1.switch1.y,thd1.u,thd1.useFirstHarmonic,thd1.valid,thd1.y,thdRMS.andValid.u1,thdRMS.andValid.u2,thdRMS.andValid.y,thdRMS.booleanExpression.y,thdRMS.division.u1,thdRMS.division.u2,thdRMS.division.y,thdRMS.f,thdRMS.greaterThreshold.threshold,thdRMS.greaterThreshold.u,thdRMS.greaterThreshold.y,thdRMS.harmonic.f,thdRMS.harmonic.gain.k,thdRMS.harmonic.gain.u,thdRMS.harmonic.gain.y,thdRMS.harmonic.k,thdRMS.harmonic.mean1.f,thdRMS.harmonic.mean1.u,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean1.x0,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean1.yGreaterOrEqualZero,thdRMS.harmonic.mean2.f,thdRMS.harmonic.mean2.u,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean2.x0,thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean2.yGreaterOrEqualZero,thdRMS.harmonic.product1.nu,thdRMS.harmonic.product1.significantDigits,thdRMS.harmonic.product1.u[1],thdRMS.harmonic.product1.u[2],thdRMS.harmonic.product1.y,thdRMS.harmonic.product2.nu,thdRMS.harmonic.product2.significantDigits,thdRMS.harmonic.product2.u[1],thdRMS.harmonic.product2.u[2],thdRMS.harmonic.product2.y,thdRMS.harmonic.rectangularToPolar.u_im,thdRMS.harmonic.rectangularToPolar.u_re,thdRMS.harmonic.rectangularToPolar.y_abs,thdRMS.harmonic.rectangularToPolar.y_arg,thdRMS.harmonic.sin1.amplitude,thdRMS.harmonic.sin1.freqHz,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.freqHz,thdRMS.harmonic.sin2.offset,thdRMS.harmonic.sin2.phase,thdRMS.harmonic.sin2.startTime,thdRMS.harmonic.sin2.y,thdRMS.harmonic.u,thdRMS.harmonic.useConjugateComplex,thdRMS.harmonic.x0Cos,thdRMS.harmonic.x0Sin,thdRMS.harmonic.y_arg,thdRMS.harmonic.y_rms,thdRMS.limiter.homotopyType,thdRMS.limiter.limitsAtInit,thdRMS.limiter.strict,thdRMS.limiter.u,thdRMS.limiter.uMax,thdRMS.limiter.uMin,thdRMS.limiter.y,thdRMS.pythagoras.u1,thdRMS.pythagoras.u1IsHypotenuse,thdRMS.pythagoras.u2,thdRMS.pythagoras.valid,thdRMS.pythagoras.y,thdRMS.rootMeanSquare.f,thdRMS.rootMeanSquare.mean.f,thdRMS.rootMeanSquare.mean.u,thdRMS.rootMeanSquare.mean.x,thdRMS.rootMeanSquare.mean.x0,thdRMS.rootMeanSquare.mean.y,thdRMS.rootMeanSquare.mean.yGreaterOrEqualZero,thdRMS.rootMeanSquare.product.nu,thdRMS.rootMeanSquare.product.significantDigits,thdRMS.rootMeanSquare.product.u[1],thdRMS.rootMeanSquare.product.u[2],thdRMS.rootMeanSquare.product.y,thdRMS.rootMeanSquare.sqrt1.u,thdRMS.rootMeanSquare.sqrt1.y,thdRMS.rootMeanSquare.u,thdRMS.rootMeanSquare.x0,thdRMS.rootMeanSquare.y,thdRMS.switch1.u1,thdRMS.switch1.u2,thdRMS.switch1.u3,thdRMS.switch1.y,thdRMS.u,thdRMS.useFirstHarmonic,thdRMS.valid,thdRMS.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v