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.001578/0.001578, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3597, allocations: 50.53 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005225/0.3649, allocations: 3.738 MB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3678, allocations: 1.395 MB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.3681, allocations: 15.94 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3684, allocations: 86.92 kB / 414 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.3688, allocations: 146.7 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008846/0.3697, allocations: 466.9 kB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008637/0.3706, allocations: 0.9 MB / 415.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.3712, allocations: 393.8 kB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/0.3717, allocations: 358.6 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.3721, allocations: 362.2 kB / 416.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3722, allocations: 104 kB / 416.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.3724, allocations: 112 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3726, allocations: 207.4 kB / 417 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.373, allocations: 409.9 kB / 417.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.3739, allocations: 1.053 MB / 418.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3739, allocations: 0 / 418.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.374, allocations: 0 / 418.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.374, allocations: 0 / 418.4 MB, free: 7.816 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.001979/0.376, allocations: 1.076 MB / 419.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.376, allocations: 19.95 kB / 419.5 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.3761, allocations: 94.7 kB / 419.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006866/0.3768, allocations: 139.9 kB / 419.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.378, allocations: 0.6763 MB / 420.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.378, allocations: 45.69 kB / 420.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3781, allocations: 68.28 kB / 420.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3794, allocations: 0.6604 MB / 421.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3794, allocations: 0 / 421.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.3795, allocations: 31.98 kB / 421.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3795, allocations: 12 kB / 421.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3806, allocations: 0.4931 MB / 421.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.3836, allocations: 1.89 MB / 423.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3847, allocations: 489.2 kB / 424.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.3852, allocations: 214.1 kB / 424.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.3852, allocations: 8.438 kB / 424.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.386, allocations: 397 kB / 424.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.144e-06/0.386, allocations: 0 / 424.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001739/0.3877, allocations: 0.7287 MB / 425.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.3878, allocations: 115.2 kB / 425.5 MB, free: 456 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.3884, allocations: 0.4908 MB / 426 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.3885, allocations: 41.7 kB / 426.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.3887, allocations: 340.4 kB / 426.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.3889, allocations: 161.7 kB / 426.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.3891, allocations: 126.3 kB / 426.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3893, allocations: 370.8 kB / 427.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.3898, allocations: 207.4 kB / 427.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.3904, allocations: 421 kB / 427.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.3915, allocations: 0.6249 MB / 428.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3915, allocations: 0 / 428.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001385/0.3929, allocations: 0.6838 MB / 429 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3929, allocations: 4 kB / 429 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3929, allocations: 8 kB / 429 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.393, allocations: 15.94 kB / 429 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.3935, allocations: 136.2 kB / 429.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.3935, allocations: 15.94 kB / 429.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.3939, allocations: 79.48 kB / 429.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.394, allocations: 24 kB / 429.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005921/0.3946, allocations: 345.3 kB / 429.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005258/0.3951, allocations: 397 kB / 430 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008722/0.396, allocations: 0.5796 MB / 430.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.396, allocations: 0 / 430.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001138/0.3972, allocations: 0.6425 MB / 431.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3972, allocations: 8 kB / 431.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3972, allocations: 4 kB / 431.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3972, allocations: 12 kB / 431.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.3977, allocations: 127.7 kB / 431.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3977, allocations: 11.94 kB / 431.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.3981, allocations: 75.75 kB / 431.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.3981, allocations: 28 kB / 431.5 MB, free: 10.12 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.0002556/0.3984, allocations: 242.5 kB / 431.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.3985, allocations: 55.34 kB / 431.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.3998, allocations: 0.5949 MB / 432.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.3999, allocations: 8 kB / 432.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3999, allocations: 0 / 432.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3999, allocations: 3.984 kB / 432.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/0.4006, allocations: 0.6536 MB / 433 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4007, allocations: 4 kB / 433 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.4011, allocations: 95.75 kB / 433.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4011, allocations: 0 / 433.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.4012, allocations: 19.92 kB / 433.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.4012, allocations: 4 kB / 433.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4012, allocations: 4 kB / 433.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4029, allocations: 0.8708 MB / 434 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4031, allocations: 140.2 kB / 434.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.4031, allocations: 20 kB / 434.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.4035, allocations: 39.95 kB / 434.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4036, allocations: 44.5 kB / 434.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4036, allocations: 23.92 kB / 434.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.404, allocations: 338.9 kB / 434.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.404, allocations: 0 / 434.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007426/0.4048, allocations: 239.1 kB / 434.8 MB, free: 6.645 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.002011/0.4068, allocations: 1.445 MB / 436.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.4085, allocations: 0.8353 MB / 437.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4085, allocations: 0 / 437.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.409, allocations: 268.2 kB / 437.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.4095, allocations: 103.2 kB / 437.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007514/0.417, allocations: 5.274 MB / 442.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.4176, allocations: 0.9153 MB / 443.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.418, allocations: 112.8 kB / 443.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.4184, allocations: 255.3 kB / 444 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4184, allocations: 0 / 444 MB, free: 13.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.456, allocations: 12.59 MB / 456.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.124, allocations: 3.984 kB / 456.6 MB, free: 0.6328 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.0.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