Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2816, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.00524/0.2869, allocations: 3.734 MB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.2897, allocations: 1.387 MB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.29, allocations: 19.94 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.2903, allocations: 86.92 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.2908, allocations: 146.6 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/0.2917, allocations: 455.3 kB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000982/0.2927, allocations: 0.9078 MB / 415.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006042/0.2933, allocations: 397.8 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.2939, allocations: 342.7 kB / 416.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.2944, allocations: 374.2 kB / 416.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.2945, allocations: 100 kB / 416.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2948, allocations: 112 kB / 416.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.295, allocations: 207.4 kB / 417 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.2954, allocations: 409.9 kB / 417.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.2966, allocations: 1.058 MB / 418.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2966, allocations: 4 kB / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2966, allocations: 0 / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.2967, allocations: 4 kB / 418.5 MB, free: 7.707 MB / 334.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.002191/0.2989, allocations: 1.091 MB / 419.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2989, allocations: 11.97 kB / 419.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.2991, allocations: 102.7 kB / 419.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.2997, allocations: 140.4 kB / 419.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3009, allocations: 0.6768 MB / 420.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.301, allocations: 49.69 kB / 420.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.3011, allocations: 64.36 kB / 420.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3024, allocations: 0.6565 MB / 421.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.3024, allocations: 11.95 kB / 421.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.3025, allocations: 24 kB / 421.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3025, allocations: 16 kB / 421.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3038, allocations: 0.4931 MB / 421.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.3071, allocations: 1.894 MB / 423.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.3082, allocations: 497 kB / 424.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.3087, allocations: 210.1 kB / 424.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.3087, allocations: 16.41 kB / 424.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/0.3096, allocations: 389.1 kB / 424.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.3096, allocations: 0 / 424.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001858/0.3115, allocations: 0.7367 MB / 425.6 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3116, allocations: 115.2 kB / 425.7 MB, free: 312 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/0.3123, allocations: 486.9 kB / 426.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.3123, allocations: 45.7 kB / 426.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.3127, allocations: 352.9 kB / 426.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3129, allocations: 166.6 kB / 426.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.3131, allocations: 130.3 kB / 426.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3133, allocations: 370.8 kB / 427.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.3139, allocations: 211.4 kB / 427.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/0.3146, allocations: 417 kB / 427.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3158, allocations: 0.6185 MB / 428.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.3158, allocations: 4 kB / 428.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001497/0.3173, allocations: 0.6793 MB / 429.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3174, allocations: 8.094 kB / 429.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3174, allocations: 12 kB / 429.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.3174, allocations: 15.92 kB / 429.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.318, allocations: 135.7 kB / 429.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.3181, allocations: 15.92 kB / 429.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.3185, allocations: 79.59 kB / 429.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.3186, allocations: 31.98 kB / 429.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006436/0.3192, allocations: 345.3 kB / 429.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006015/0.3198, allocations: 401 kB / 430.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009873/0.3208, allocations: 0.5716 MB / 430.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.3209, allocations: 0 / 430.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00125/0.3221, allocations: 0.6399 MB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3222, allocations: 11.12 kB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3222, allocations: 8 kB / 431.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3222, allocations: 11.94 kB / 431.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.3227, allocations: 132.1 kB / 431.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.3227, allocations: 19.94 kB / 431.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.3231, allocations: 67.64 kB / 431.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.3232, allocations: 27.98 kB / 431.6 MB, free: 9.965 MB / 350.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.0002766/0.3235, allocations: 242.6 kB / 431.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3236, allocations: 63.58 kB / 431.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.325, allocations: 0.595 MB / 432.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.325, allocations: 4 kB / 432.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.325, allocations: 4 kB / 432.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.325, allocations: 4 kB / 432.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.3258, allocations: 0.6459 MB / 433.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3259, allocations: 0 / 433.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.3263, allocations: 91.8 kB / 433.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3263, allocations: 4 kB / 433.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.3264, allocations: 19.92 kB / 433.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3264, allocations: 0 / 433.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3264, allocations: 0 / 433.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3283, allocations: 0.8828 MB / 434.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3285, allocations: 140.6 kB / 434.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.3286, allocations: 23.92 kB / 434.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.3289, allocations: 35.97 kB / 434.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.329, allocations: 40.5 kB / 434.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.3291, allocations: 19.98 kB / 434.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3295, allocations: 342.9 kB / 434.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3295, allocations: 0 / 434.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008586/0.3304, allocations: 251.3 kB / 435 MB, free: 6.477 MB / 350.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.002238/0.3327, allocations: 1.453 MB / 436.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.3346, allocations: 0.8253 MB / 437.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3347, allocations: 0 / 437.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.3353, allocations: 283.5 kB / 437.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3358, allocations: 90.41 kB / 437.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/0.3444, allocations: 5.294 MB / 442.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.345, allocations: 0.9153 MB / 443.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000446/0.3455, allocations: 112.8 kB / 443.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/0.3459, allocations: 263.3 kB / 444.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3459, allocations: 0 / 444.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.391, allocations: 12.4 MB / 456.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/9.773, allocations: 7.922 kB / 456.6 MB, free: 0.625 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.continuous,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.continuous,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.y0,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.y0,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.continuous,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.continuous,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.y0Cos,thd1.harmonic.y0Sin,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.y0,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.rootMeanSquare.y0,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.y0,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.y0,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.continuous,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.continuous,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.y0Cos,thdRMS.harmonic.y0Sin,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.y0,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.rootMeanSquare.y0,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