Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_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.001373/0.001373, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001252/0.001253, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 59.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1024, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005395/0.1079, allocations: 3.573 MB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.1107, allocations: 1.263 MB / 379.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.1111, allocations: 11.94 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.1115, allocations: 82.98 kB / 379.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1703/0.2818, allocations: 134.8 kB / 379.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2831, allocations: 390.4 kB / 380.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2843, allocations: 0.8501 MB / 380.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.2849, allocations: 383.1 kB / 381.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.2853, allocations: 327.4 kB / 381.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.2857, allocations: 349.2 kB / 382 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.2859, allocations: 95.41 kB / 382.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.2862, allocations: 92.22 kB / 382.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.2864, allocations: 201.8 kB / 382.4 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.2868, allocations: 385.5 kB / 382.7 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2879, allocations: 0.973 MB / 383.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2879, allocations: 0 / 383.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2879, allocations: 1.062 kB / 383.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2879, allocations: 0 / 383.7 MB, free: 8.836 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001857/0.2898, allocations: 1.04 MB / 384.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2899, allocations: 9.656 kB / 384.8 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.29, allocations: 94.58 kB / 384.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2901, allocations: 86.42 kB / 384.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.2911, allocations: 0.5987 MB / 385.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.2912, allocations: 47.81 kB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2913, allocations: 62.23 kB / 385.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2926, allocations: 0.6454 MB / 386.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2926, allocations: 0.6562 kB / 386.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.2927, allocations: 23.61 kB / 386.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2927, allocations: 16.42 kB / 386.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2939, allocations: 0.4888 MB / 386.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.297, allocations: 1.839 MB / 388.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.298, allocations: 487.8 kB / 389.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.2986, allocations: 222.9 kB / 389.3 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.2986, allocations: 13.58 kB / 389.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008194/0.2995, allocations: 388.9 kB / 389.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 3.317e-06/0.2995, allocations: 0 / 389.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.001942/0.3014, allocations: 0.7298 MB / 390.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.3015, allocations: 117 kB / 390.6 MB, free: 5.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.3021, allocations: 457.7 kB / 391 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.3022, allocations: 43.52 kB / 391.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3025, allocations: 320.4 kB / 391.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3026, allocations: 164.4 kB / 391.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.3029, allocations: 120.6 kB / 391.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.303, allocations: 373.9 kB / 392 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.3035, allocations: 208.2 kB / 392.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.3042, allocations: 420.6 kB / 392.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3052, allocations: 0.6258 MB / 393.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3052, allocations: 1.688 kB / 393.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001377/0.3066, allocations: 0.6749 MB / 393.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3066, allocations: 8.719 kB / 394 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3067, allocations: 6.562 kB / 394 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.3067, allocations: 10.92 kB / 394 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.3073, allocations: 135.7 kB / 394.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.3073, allocations: 15.33 kB / 394.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.3078, allocations: 81.97 kB / 394.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.3078, allocations: 31.73 kB / 394.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006012/0.3084, allocations: 339 kB / 394.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005738/0.309, allocations: 403.1 kB / 395 MB, free: 2.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009087/0.3099, allocations: 0.5726 MB / 395.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.101e-06/0.3099, allocations: 3.281 kB / 395.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001206/0.3112, allocations: 0.6325 MB / 396.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3112, allocations: 11.34 kB / 396.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3112, allocations: 7.219 kB / 396.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3112, allocations: 10.56 kB / 396.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.3117, allocations: 133.3 kB / 396.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3117, allocations: 13.53 kB / 396.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.3121, allocations: 69.47 kB / 396.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.3121, allocations: 28.62 kB / 396.4 MB, free: 1.871 MB / 318.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,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean1.y,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.harmonic.mean2.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean1.y) * 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.0002343/0.3124, allocations: 246.5 kB / 396.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.3125, allocations: 54.52 kB / 396.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.3138, allocations: 0.5902 MB / 397.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.3138, allocations: 9.844 kB / 397.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.3138, allocations: 0 / 397.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3138, allocations: 3.938 kB / 397.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.3146, allocations: 0.6359 MB / 398 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3146, allocations: 0 / 398 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.315, allocations: 91.3 kB / 398.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.315, allocations: 1.891 kB / 398.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.3151, allocations: 17.06 kB / 398.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3151, allocations: 5.031 kB / 398.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3151, allocations: 6.359 kB / 398.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3167, allocations: 0.8758 MB / 399 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.3168, allocations: 137.8 kB / 399.1 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.3169, allocations: 14.56 kB / 399.1 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.3173, allocations: 44.16 kB / 399.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3174, allocations: 40.5 kB / 399.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.3174, allocations: 23.28 kB / 399.2 MB, free: 436 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.3178, allocations: 315.1 kB / 399.5 MB, free: 276 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3178, allocations: 0 / 399.5 MB, free: 276 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007855/0.3186, allocations: 242.5 kB / 399.8 MB, free: 200 kB / 318.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,thd1.harmonic.mean2.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean2.y,thdRMS.rootMeanSquare.mean.y,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.002229/0.3208, allocations: 1.448 MB / 401.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3227, allocations: 0.8192 MB / 402 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.3227, allocations: 5.125 kB / 402 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.3233, allocations: 268.7 kB / 402.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3237, allocations: 78.16 kB / 402.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.3317, allocations: 5.142 MB / 407.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.3324, allocations: 0.8993 MB / 408.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.3329, allocations: 101.5 kB / 408.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.3332, allocations: 237.8 kB / 408.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3332, allocations: 0 / 408.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.373, allocations: 11.82 MB / 420.6 MB, free: 188 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/9.155, allocations: 4.062 kB / 420.6 MB, free: 184 kB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.freqHz,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.freqHz,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.freqHz,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.freqHz,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.limitsAtInit,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.freqHz,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.freqHz,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.limitsAtInit,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