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.001255/0.001255, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 68.48 kB / 306.6 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.116, allocations: 50.53 MB / 357.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005396/0.1214, allocations: 3.743 MB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.124, allocations: 1.356 MB / 362.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.1246, allocations: 23.88 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1249, allocations: 55.42 kB / 362.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.1255, allocations: 111.1 kB / 362.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1265, allocations: 419.6 kB / 362.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1276, allocations: 0.9039 MB / 363.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.1282, allocations: 389.9 kB / 364.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.1288, allocations: 346.6 kB / 364.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.1293, allocations: 370.2 kB / 364.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1295, allocations: 100 kB / 364.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.1297, allocations: 112 kB / 365 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.13, allocations: 207.4 kB / 365.2 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.1305, allocations: 417.9 kB / 365.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.1315, allocations: 1.021 MB / 366.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1315, allocations: 4 kB / 366.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1315, allocations: 0 / 366.6 MB, free: 4.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.1316, allocations: 0 / 366.6 MB, free: 4.695 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.002409/0.134, allocations: 1.072 MB / 367.7 MB, free: 3.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.134, allocations: 8.031 kB / 367.7 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.1342, allocations: 102.7 kB / 367.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.135, allocations: 147.8 kB / 367.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.136, allocations: 0.653 MB / 368.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.1361, allocations: 45.69 kB / 368.6 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1362, allocations: 60.38 kB / 368.7 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1375, allocations: 0.6643 MB / 369.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1376, allocations: 4 kB / 369.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.1376, allocations: 23.98 kB / 369.4 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1377, allocations: 16 kB / 369.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1388, allocations: 0.5009 MB / 369.9 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2097/0.3485, allocations: 1.902 MB / 371.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.3495, allocations: 496.3 kB / 372.3 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.35, allocations: 214 kB / 372.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.35, allocations: 14.91 kB / 372.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007692/0.3508, allocations: 393.1 kB / 372.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/0.3508, allocations: 0 / 372.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001662/0.3525, allocations: 0.7338 MB / 373.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3525, allocations: 119.5 kB / 373.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.3531, allocations: 486 kB / 374.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.3532, allocations: 44.52 kB / 374.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3534, allocations: 344.4 kB / 374.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3535, allocations: 162.1 kB / 374.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3537, allocations: 125.2 kB / 374.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.3538, allocations: 376.8 kB / 375.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.3542, allocations: 208 kB / 375.4 MB, free: 17.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.3548, allocations: 413.7 kB / 375.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.3558, allocations: 0.624 MB / 376.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3558, allocations: 5.375 kB / 376.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001228/0.357, allocations: 0.6763 MB / 377.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3571, allocations: 6.875 kB / 377.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3571, allocations: 7.531 kB / 377.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3571, allocations: 13.97 kB / 377.2 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.3576, allocations: 139 kB / 377.3 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3576, allocations: 13.72 kB / 377.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.358, allocations: 81.73 kB / 377.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.3581, allocations: 31.55 kB / 377.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005077/0.3586, allocations: 346 kB / 377.8 MB, free: 16.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004154/0.359, allocations: 397.8 kB / 378.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000742/0.3598, allocations: 0.5764 MB / 378.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.3598, allocations: 2.312 kB / 378.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001038/0.3608, allocations: 0.636 MB / 379.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.3608, allocations: 9 kB / 379.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3608, allocations: 5.75 kB / 379.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.3609, allocations: 11.56 kB / 379.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.3613, allocations: 124.1 kB / 379.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.3613, allocations: 16 kB / 379.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3617, allocations: 70.19 kB / 379.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3617, allocations: 28.81 kB / 379.6 MB, free: 15.44 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.0001512/0.3619, allocations: 245.6 kB / 379.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.362, allocations: 56.97 kB / 379.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.3632, allocations: 0.5881 MB / 380.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3633, allocations: 6.625 kB / 380.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3633, allocations: 6.422 kB / 380.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3633, allocations: 3.281 kB / 380.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.364, allocations: 0.6466 MB / 381.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.364, allocations: 2.453 kB / 381.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.3645, allocations: 85.92 kB / 381.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3645, allocations: 6.281 kB / 381.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.3645, allocations: 15.86 kB / 381.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3645, allocations: 7.141 kB / 381.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3645, allocations: 0 / 381.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.3661, allocations: 0.8776 MB / 382.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.3662, allocations: 139.5 kB / 382.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.3663, allocations: 15.5 kB / 382.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3667, allocations: 39.09 kB / 382.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3668, allocations: 41.64 kB / 382.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3668, allocations: 20.97 kB / 382.4 MB, free: 14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.3672, allocations: 343.8 kB / 382.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3672, allocations: 0 / 382.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007888/0.368, allocations: 245.4 kB / 383 MB, free: 13.77 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.001804/0.3698, allocations: 1.458 MB / 384.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.3718, allocations: 0.8616 MB / 385.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3718, allocations: 0 / 385.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.3723, allocations: 273.7 kB / 385.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3728, allocations: 92.8 kB / 385.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.3799, allocations: 5.724 MB / 391.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3804, allocations: 0.919 MB / 392.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000465/0.3808, allocations: 113.5 kB / 392.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/0.3811, allocations: 256.9 kB / 392.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3811, allocations: 0 / 392.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4174, allocations: 11.85 MB / 404.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.4177, allocations: 204.4 kB / 404.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/3.2, allocations: 0 / 404.7 MB, free: 14.7 MB / 318.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