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.001684/0.001684, allocations: 114.6 kB / 17.07 MB, free: 6.016 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.001838/0.001838, allocations: 189.4 kB / 18 MB, free: 5.098 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.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 47.92 kB / 350.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2843, allocations: 49.43 MB / 400.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005576/0.2899, allocations: 3.629 MB / 403.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2922, allocations: 1.231 MB / 405.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2924, allocations: 15.94 kB / 405.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.2928, allocations: 86.98 kB / 405.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.2932, allocations: 134.7 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.2939, allocations: 403.4 kB / 405.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008992/0.2949, allocations: 0.865 MB / 406.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.2954, allocations: 381.7 kB / 406.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.2958, allocations: 338.6 kB / 407.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.2963, allocations: 354.3 kB / 407.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2964, allocations: 96 kB / 407.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.2965, allocations: 96 kB / 407.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.2968, allocations: 207.4 kB / 408 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.2971, allocations: 390.1 kB / 408.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.2982, allocations: 0.9993 MB / 409.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2983, allocations: 0 / 409.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2983, allocations: 0 / 409.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.2983, allocations: 4 kB / 409.4 MB, free: 15.63 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.002067/0.3004, allocations: 1.044 MB / 410.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3004, allocations: 8.031 kB / 410.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.3005, allocations: 102.7 kB / 410.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.3007, allocations: 84.42 kB / 410.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3018, allocations: 0.6008 MB / 411.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.3018, allocations: 53.25 kB / 411.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3019, allocations: 63.95 kB / 411.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3032, allocations: 0.6565 MB / 412 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3033, allocations: 0 / 412 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.3033, allocations: 31.98 kB / 412 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3034, allocations: 12 kB / 412 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.3046, allocations: 0.497 MB / 412.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.3078, allocations: 1.89 MB / 414.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3089, allocations: 497 kB / 414.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.3094, allocations: 214.1 kB / 415.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.3095, allocations: 8.422 kB / 415.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008037/0.3103, allocations: 391.6 kB / 415.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.444e-06/0.3103, allocations: 0 / 415.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001795/0.3121, allocations: 0.7368 MB / 416.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.3122, allocations: 115.2 kB / 416.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.3128, allocations: 445.9 kB / 416.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.3128, allocations: 41.7 kB / 416.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3131, allocations: 321 kB / 417.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.3133, allocations: 178.5 kB / 417.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3135, allocations: 126.3 kB / 417.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3137, allocations: 366.8 kB / 417.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.3142, allocations: 203.4 kB / 418 MB, free: 6.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.3149, allocations: 428.9 kB / 418.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3161, allocations: 0.6184 MB / 419 MB, free: 5.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3161, allocations: 0 / 419 MB, free: 5.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001427/0.3176, allocations: 0.6794 MB / 419.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3176, allocations: 11.94 kB / 419.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3176, allocations: 8 kB / 419.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.3176, allocations: 12 kB / 419.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.3182, allocations: 143.7 kB / 419.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.3182, allocations: 8 kB / 419.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.3187, allocations: 79.78 kB / 420 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.3187, allocations: 31.98 kB / 420 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00061/0.3193, allocations: 341.3 kB / 420.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005979/0.3199, allocations: 393 kB / 420.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.321, allocations: 0.573 MB / 421.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.321, allocations: 4 kB / 421.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001238/0.3222, allocations: 0.6279 MB / 421.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3223, allocations: 11.94 kB / 422 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3223, allocations: 8.719 kB / 422 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3223, allocations: 8 kB / 422 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.3228, allocations: 131.7 kB / 422.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.3228, allocations: 12 kB / 422.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.3232, allocations: 75.58 kB / 422.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.3232, allocations: 27.98 kB / 422.2 MB, free: 2.164 MB / 334.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.0002509/0.3235, allocations: 231.2 kB / 422.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.3236, allocations: 67.55 kB / 422.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.325, allocations: 0.5828 MB / 423.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.3251, allocations: 7.984 kB / 423.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3251, allocations: 0 / 423.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3251, allocations: 0 / 423.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.3258, allocations: 0.6342 MB / 423.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3259, allocations: 0 / 423.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.3263, allocations: 95.8 kB / 423.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3264, allocations: 0 / 423.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3264, allocations: 19.98 kB / 423.8 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3264, allocations: 4 kB / 423.8 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3264, allocations: 0 / 423.8 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.3283, allocations: 0.875 MB / 424.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3284, allocations: 140.6 kB / 424.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.3285, allocations: 15.98 kB / 424.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.3289, allocations: 40.08 kB / 424.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.329, allocations: 52.45 kB / 425 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3291, allocations: 19.98 kB / 425 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.3294, allocations: 307.1 kB / 425.3 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3294, allocations: 0 / 425.3 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007669/0.3302, allocations: 247.3 kB / 425.5 MB, free: 14.76 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.002289/0.3325, allocations: 1.463 MB / 427 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.3344, allocations: 0.8171 MB / 427.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3344, allocations: 8.094 kB / 427.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.3351, allocations: 267.1 kB / 428.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3356, allocations: 81.38 kB / 428.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.3437, allocations: 5.126 MB / 433.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.3443, allocations: 0.8997 MB / 434.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.3448, allocations: 108.6 kB / 434.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.3451, allocations: 239.3 kB / 434.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3451, allocations: 0 / 434.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04008/0.3852, allocations: 11.75 MB / 446.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/9.422, allocations: 8.469 kB / 446.3 MB, free: 9.801 MB / 366.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