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.001205/0.001204, allocations: 106.6 kB / 17.73 MB, free: 5.328 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.001308/0.001308, allocations: 191 kB / 18.66 MB, free: 4.398 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.423/1.423, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001367/0.001367, allocations: 55.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09899, allocations: 46.61 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005237/0.1043, allocations: 3.58 MB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1067, allocations: 1.259 MB / 379.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.1072, allocations: 15.88 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1075, allocations: 86.98 kB / 379.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1753/0.2828, allocations: 129.1 kB / 379.7 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.2841, allocations: 397.7 kB / 380.1 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2853, allocations: 0.849 MB / 380.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.2859, allocations: 393 kB / 381.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.2865, allocations: 326.7 kB / 381.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.287, allocations: 347 kB / 382 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.2872, allocations: 94.88 kB / 382.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.2874, allocations: 92.75 kB / 382.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.2876, allocations: 199.3 kB / 382.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.288, allocations: 387 kB / 382.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2891, allocations: 0.967 MB / 383.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2891, allocations: 0 / 383.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2891, allocations: 3.375 kB / 383.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.2892, allocations: 1.312 kB / 383.7 MB, free: 8.602 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.002161/0.2913, allocations: 1.022 MB / 384.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2914, allocations: 10.12 kB / 384.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.2915, allocations: 95.73 kB / 384.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2917, allocations: 81.64 kB / 384.9 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2927, allocations: 0.5957 MB / 385.5 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.2928, allocations: 47.16 kB / 385.6 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2929, allocations: 65.67 kB / 385.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2942, allocations: 0.641 MB / 386.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2942, allocations: 2.531 kB / 386.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.2943, allocations: 26.64 kB / 386.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.2943, allocations: 12 kB / 386.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2954, allocations: 494.1 kB / 386.8 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.2985, allocations: 1.838 MB / 388.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2996, allocations: 493 kB / 389.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.3001, allocations: 214.2 kB / 389.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.3002, allocations: 14.62 kB / 389.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.3009, allocations: 381.6 kB / 389.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 3.567e-06/0.301, allocations: 5.188 kB / 389.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.001674/0.3026, allocations: 0.7243 MB / 390.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.3027, allocations: 117.2 kB / 390.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.3034, allocations: 457.8 kB / 391 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.3034, allocations: 43.41 kB / 391 MB, free: 4.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.3037, allocations: 309.8 kB / 391.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3038, allocations: 161.8 kB / 391.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.304, allocations: 120.6 kB / 391.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3041, allocations: 373.9 kB / 392 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.3046, allocations: 208.8 kB / 392.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.3052, allocations: 422.4 kB / 392.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3063, allocations: 0.6195 MB / 393.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.3063, allocations: 1.938 kB / 393.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001485/0.3078, allocations: 0.6702 MB / 393.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3078, allocations: 7.906 kB / 393.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3078, allocations: 6.531 kB / 393.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/0.3079, allocations: 10.95 kB / 393.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.3085, allocations: 136.7 kB / 394 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/0.3085, allocations: 14.38 kB / 394.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.309, allocations: 91.08 kB / 394.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.3091, allocations: 32.17 kB / 394.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000648/0.3098, allocations: 339.5 kB / 394.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004958/0.3103, allocations: 400.7 kB / 394.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008137/0.3111, allocations: 0.5764 MB / 395.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.3111, allocations: 3.594 kB / 395.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.0012/0.3123, allocations: 0.6298 MB / 396.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3123, allocations: 9.125 kB / 396.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3124, allocations: 9.906 kB / 396.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3124, allocations: 10.38 kB / 396.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.3129, allocations: 127.4 kB / 396.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.3129, allocations: 16.52 kB / 396.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.3134, allocations: 62.58 kB / 396.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.3135, allocations: 35.42 kB / 396.4 MB, free: 1.676 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.0003842/0.3139, allocations: 252.3 kB / 396.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.314, allocations: 59.44 kB / 396.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3156, allocations: 0.5784 MB / 397.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.3156, allocations: 9.094 kB / 397.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3156, allocations: 0 / 397.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3157, allocations: 3.047 kB / 397.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.3168, allocations: 0.6338 MB / 397.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3168, allocations: 0 / 397.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.3173, allocations: 96.44 kB / 398 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3173, allocations: 1.25 kB / 398 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.3174, allocations: 17.83 kB / 398 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.3174, allocations: 2.25 kB / 398 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3174, allocations: 1.375 kB / 398 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.3193, allocations: 0.8672 MB / 398.9 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3194, allocations: 138.3 kB / 399 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3195, allocations: 14.98 kB / 399 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.3199, allocations: 43.38 kB / 399.1 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.32, allocations: 41.86 kB / 399.1 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.3201, allocations: 21.17 kB / 399.1 MB, free: 244 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004435/0.3205, allocations: 317.9 kB / 399.4 MB, free: 80 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3205, allocations: 0 / 399.4 MB, free: 80 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009682/0.3215, allocations: 241.3 kB / 399.7 MB, free: 8 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.002278/0.3238, allocations: 1.443 MB / 401.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.3257, allocations: 0.8167 MB / 401.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3257, allocations: 1.344 kB / 401.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.3263, allocations: 269 kB / 402.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.3269, allocations: 87.02 kB / 402.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/0.3359, allocations: 5.106 MB / 407.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.3364, allocations: 0.9002 MB / 408.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.3369, allocations: 109.6 kB / 408.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.3373, allocations: 242.6 kB / 408.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3373, allocations: 0 / 408.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.3747, allocations: 11.97 MB / 420.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/9.277, allocations: 3.938 kB / 420.6 MB, free: 15.95 MB / 350.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