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.001489/0.001489, allocations: 112.9 kB / 17.06 MB, free: 5.996 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.001966/0.001966, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.391/2.391, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 40.08 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6845, allocations: 49.44 MB / 400.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.01485/0.6994, allocations: 3.626 MB / 403.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008929/0.7084, allocations: 1.235 MB / 405.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.7098, allocations: 11.94 kB / 405.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.7107, allocations: 83 kB / 405.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.7123, allocations: 146.7 kB / 405.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.7145, allocations: 391.5 kB / 405.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.7166, allocations: 0.8689 MB / 406.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.7179, allocations: 379.4 kB / 406.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.7188, allocations: 330.7 kB / 407.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.7197, allocations: 358.3 kB / 407.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.7201, allocations: 100 kB / 407.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.7205, allocations: 96 kB / 407.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.721, allocations: 203.4 kB / 408 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.7222, allocations: 394 kB / 408.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.7267, allocations: 0.9928 MB / 409.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.7267, allocations: 0 / 409.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.7268, allocations: 0 / 409.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.687e-05/0.7268, allocations: 0 / 409.4 MB, free: 15.75 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.004681/0.7315, allocations: 1.022 MB / 410.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/0.7316, allocations: 8.031 kB / 410.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003418/0.732, allocations: 106.7 kB / 410.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.7326, allocations: 87.91 kB / 410.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.7344, allocations: 0.5965 MB / 411.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-05/0.7345, allocations: 53.25 kB / 411.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.7347, allocations: 67.91 kB / 411.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.7375, allocations: 0.6526 MB / 412 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.7376, allocations: 3.984 kB / 412 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7377, allocations: 28 kB / 412 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.7378, allocations: 12 kB / 412 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.7399, allocations: 0.5009 MB / 412.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008343/0.7483, allocations: 1.874 MB / 414.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.7503, allocations: 0.4893 MB / 414.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009185/0.7512, allocations: 222 kB / 415.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.937e-05/0.7514, allocations: 12.41 kB / 415.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.7528, allocations: 389 kB / 415.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 6.452e-06/0.7529, allocations: 0 / 415.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003223/0.7561, allocations: 0.7248 MB / 416.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.7563, allocations: 115.2 kB / 416.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.7577, allocations: 449.7 kB / 416.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.7578, allocations: 45.7 kB / 416.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.7584, allocations: 324.3 kB / 417.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.7587, allocations: 157.8 kB / 417.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.7591, allocations: 126.2 kB / 417.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003498/0.7595, allocations: 370.8 kB / 417.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01323/0.7727, allocations: 207.3 kB / 418 MB, free: 6.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7745, allocations: 417 kB / 418.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.777, allocations: 0.6169 MB / 419 MB, free: 5.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.777, allocations: 4 kB / 419 MB, free: 5.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002889/0.7799, allocations: 0.679 MB / 419.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.78, allocations: 8.656 kB / 419.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.78, allocations: 4 kB / 419.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.711e-05/0.7801, allocations: 16 kB / 419.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.7812, allocations: 135.7 kB / 419.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.792e-05/0.7812, allocations: 12 kB / 419.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.7821, allocations: 87.33 kB / 419.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7822, allocations: 28 kB / 420 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.7834, allocations: 341.3 kB / 420.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.7846, allocations: 393 kB / 420.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001887/0.7865, allocations: 0.569 MB / 421.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.22e-05/0.7865, allocations: 4 kB / 421.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.004946/0.7915, allocations: 0.6294 MB / 421.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.7916, allocations: 11.94 kB / 421.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.7916, allocations: 4 kB / 421.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.7917, allocations: 12 kB / 421.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.7926, allocations: 127.7 kB / 422 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.357e-05/0.7926, allocations: 19.98 kB / 422 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.7935, allocations: 63.77 kB / 422.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.7936, allocations: 35.98 kB / 422.1 MB, free: 2.324 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.0004975/0.7942, allocations: 227.2 kB / 422.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.7945, allocations: 63.27 kB / 422.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.797, allocations: 0.5944 MB / 423 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.797, allocations: 4 kB / 423 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.797, allocations: 0 / 423 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.797, allocations: 4 kB / 423 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.7986, allocations: 0.6303 MB / 423.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7986, allocations: 0 / 423.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.7995, allocations: 91.8 kB / 423.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/0.7995, allocations: 4 kB / 423.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.7996, allocations: 15.98 kB / 423.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7997, allocations: 4 kB / 423.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7997, allocations: 7.875 kB / 423.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.8032, allocations: 0.8748 MB / 424.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.8036, allocations: 140.3 kB / 424.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.8038, allocations: 12 kB / 424.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/0.8046, allocations: 39.95 kB / 424.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.8049, allocations: 40.52 kB / 424.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.805, allocations: 23.97 kB / 424.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008599/0.8059, allocations: 307.1 kB / 425.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.8059, allocations: 0 / 425.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001732/0.8076, allocations: 243 kB / 425.4 MB, free: 14.93 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.008875/0.8165, allocations: 1.451 MB / 426.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004134/0.8207, allocations: 0.821 MB / 427.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.8208, allocations: 0 / 427.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.8218, allocations: 267.2 kB / 428 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.8234, allocations: 87.42 kB / 428.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.8447, allocations: 5.121 MB / 433.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.846, allocations: 0.8997 MB / 434.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008862/0.8469, allocations: 104.6 kB / 434.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.8477, allocations: 235.3 kB / 434.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.887e-06/0.8477, allocations: 4 kB / 434.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.692/4.54, allocations: 11.93 MB / 446.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 30.76/35.3, allocations: 12.47 kB / 446.4 MB, free: 9.809 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