Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_0_0_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.001391/0.001391, allocations: 110.5 kB / 16.92 MB, free: 6.332 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.001679/0.001679, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 47.45 kB / 300.7 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 49.45 MB / 350.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005854/0.108, allocations: 3.6 MB / 353.8 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1107, allocations: 1.247 MB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.1113, allocations: 11.94 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1116, allocations: 86.98 kB / 355.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.112, allocations: 126.8 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1128, allocations: 408.5 kB / 355.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007063/0.1135, allocations: 0.8573 MB / 356.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.1141, allocations: 385.7 kB / 356.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.1145, allocations: 326.8 kB / 357.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.1148, allocations: 354.3 kB / 357.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.115, allocations: 100 kB / 357.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1151, allocations: 96 kB / 357.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1153, allocations: 199.4 kB / 357.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.1156, allocations: 394 kB / 358.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.1165, allocations: 0.97 MB / 359.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1165, allocations: 7.875 kB / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1165, allocations: 0 / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1165, allocations: 0 / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001921/0.1184, allocations: 1.021 MB / 360.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1185, allocations: 16.02 kB / 360.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.1186, allocations: 94.7 kB / 360.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1187, allocations: 84 kB / 360.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/0.1196, allocations: 0.5887 MB / 361.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.1197, allocations: 53.38 kB / 361.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.1198, allocations: 67.98 kB / 361.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1209, allocations: 0.6566 MB / 361.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.121, allocations: 7.984 kB / 361.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.121, allocations: 24 kB / 361.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1211, allocations: 16 kB / 361.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.1222, allocations: 0.4969 MB / 362.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.125, allocations: 1.905 MB / 364.3 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.1259, allocations: 497.5 kB / 364.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.1264, allocations: 214.1 kB / 365 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.1264, allocations: 12.42 kB / 365 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/0.1272, allocations: 388.5 kB / 365.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.1272, allocations: 0 / 365.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001586/0.1288, allocations: 0.7248 MB / 366.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.1288, allocations: 123.2 kB / 366.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.1293, allocations: 449.7 kB / 366.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.1294, allocations: 41.7 kB / 366.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.1296, allocations: 316.4 kB / 367 MB, free: 3.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.1297, allocations: 161.7 kB / 367.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.1299, allocations: 126.3 kB / 367.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1301, allocations: 366.8 kB / 367.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.1306, allocations: 207.4 kB / 367.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.1311, allocations: 428.9 kB / 368.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.1322, allocations: 0.6115 MB / 368.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1322, allocations: 4 kB / 368.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001244/0.1334, allocations: 0.6715 MB / 369.6 MB, free: 432 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1335, allocations: 11.94 kB / 369.6 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1335, allocations: 8 kB / 369.6 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.1335, allocations: 8 kB / 369.6 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.1341, allocations: 143.7 kB / 369.7 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.1341, allocations: 8 kB / 369.7 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.1345, allocations: 87.61 kB / 369.8 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.1345, allocations: 24 kB / 369.9 MB, free: 140 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1854/0.3199, allocations: 341.6 kB / 370.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005243/0.3205, allocations: 389.2 kB / 370.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000867/0.3214, allocations: 0.5806 MB / 371.1 MB, free: 24.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.3214, allocations: 1.938 kB / 371.1 MB, free: 24.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001226/0.3226, allocations: 0.6321 MB / 371.8 MB, free: 24.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3227, allocations: 8.344 kB / 371.8 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3227, allocations: 10.59 kB / 371.8 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3227, allocations: 10.88 kB / 371.8 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.3232, allocations: 128.3 kB / 371.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.3232, allocations: 13.94 kB / 371.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.3236, allocations: 70.41 kB / 372 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3236, allocations: 29.84 kB / 372 MB, free: 24 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_last,$PRE.thdRMS.rootMeanSquare.mean.y_last,thdRMS.harmonic.mean2.y_last,$PRE.thdRMS.harmonic.mean2.y_last,thdRMS.harmonic.mean1.y_last,$PRE.thdRMS.harmonic.mean1.y_last,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y_last,$PRE.thd1.rootMeanSquare.mean.y_last,thd1.harmonic.mean2.y_last,$PRE.thd1.harmonic.mean2.y_last,thd1.harmonic.mean1.y_last,$PRE.thd1.harmonic.mean1.y_last) * 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.0002317/0.3239, allocations: 234.5 kB / 372.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.324, allocations: 58.44 kB / 372.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.3253, allocations: 0.5839 MB / 372.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3253, allocations: 6.422 kB / 372.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3254, allocations: 0.75 kB / 372.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3254, allocations: 3.969 kB / 372.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.3261, allocations: 0.638 MB / 373.6 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3261, allocations: 1.25 kB / 373.6 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.3265, allocations: 86.03 kB / 373.7 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3266, allocations: 5.688 kB / 373.7 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.3266, allocations: 16.92 kB / 373.7 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3266, allocations: 2.406 kB / 373.7 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3266, allocations: 3.938 kB / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.3283, allocations: 0.8728 MB / 374.6 MB, free: 23.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.3284, allocations: 140.2 kB / 374.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.3285, allocations: 14.25 kB / 374.7 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.3288, allocations: 40.06 kB / 374.7 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3289, allocations: 51.8 kB / 374.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3289, allocations: 21.11 kB / 374.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.3293, allocations: 304.9 kB / 375.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3293, allocations: 3.625 kB / 375.1 MB, free: 22.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008096/0.3301, allocations: 246.6 kB / 375.4 MB, free: 22.91 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_last,thd1.harmonic.mean2.y_last,thd1.rootMeanSquare.mean.y_last,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y_last,thdRMS.harmonic.mean2.y_last,thdRMS.rootMeanSquare.mean.y_last,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.001873/0.332, allocations: 1.444 MB / 376.8 MB, free: 22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.3339, allocations: 0.8532 MB / 377.7 MB, free: 21.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3339, allocations: 1.094 kB / 377.7 MB, free: 21.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.3345, allocations: 272.8 kB / 377.9 MB, free: 21.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3349, allocations: 91.92 kB / 378 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.3417, allocations: 5.263 MB / 383.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3421, allocations: 0.9033 MB / 384.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.3426, allocations: 102.1 kB / 384.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.3429, allocations: 240.5 kB / 384.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3429, allocations: 1.031 kB / 384.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3729, allocations: 11.53 MB / 396 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.253, allocations: 11.73 kB / 396 MB, free: 11.11 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.f,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.f,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.f,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.f,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.f,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.f,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.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.f,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.f,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.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