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.001603/0.001603, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001846/0.001846, allocations: 189.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 224 MB, free: 12.45 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.001173/0.001173, allocations: 52.14 kB / 280.2 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 46.62 MB / 326.9 MB, free: 4.719 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.007856/0.1522, allocations: 3.611 MB / 330.5 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.1561, allocations: 1.216 MB / 331.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1573, allocations: 15.94 kB / 331.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.1579, allocations: 51.42 kB / 331.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007667/0.1587, allocations: 103.2 kB / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1598, allocations: 351.6 kB / 332.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1608, allocations: 0.8455 MB / 333.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.1615, allocations: 385.7 kB / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.162, allocations: 318.7 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.1624, allocations: 358.3 kB / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1626, allocations: 92 kB / 334.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1627, allocations: 96 kB / 334.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1629, allocations: 199.4 kB / 334.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.1633, allocations: 386.1 kB / 334.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1644, allocations: 0.9466 MB / 335.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1645, allocations: 3.938 kB / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1645, allocations: 0 / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1645, allocations: 0 / 335.8 MB, free: 11.73 MB / 286.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.002663/0.1672, allocations: 1.017 MB / 336.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.591e-05/0.1673, allocations: 8.031 kB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.1675, allocations: 98.7 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.1677, allocations: 83.98 kB / 337 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1689, allocations: 0.5887 MB / 337.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.169, allocations: 45.69 kB / 337.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.1691, allocations: 60.38 kB / 337.7 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1705, allocations: 0.6481 MB / 338.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.1706, allocations: 0 / 338.3 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.1706, allocations: 24 kB / 338.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.1707, allocations: 12 kB / 338.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1718, allocations: 495.7 kB / 338.9 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.1752, allocations: 1.865 MB / 340.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1764, allocations: 0.4893 MB / 341.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.1769, allocations: 206.1 kB / 341.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.177, allocations: 20.41 kB / 341.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.1779, allocations: 381.1 kB / 341.8 MB, free: 5.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.465e-06/0.1779, allocations: 0 / 341.8 MB, free: 5.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001812/0.1798, allocations: 0.7287 MB / 342.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1799, allocations: 119.2 kB / 342.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.1806, allocations: 449.9 kB / 343.1 MB, free: 4.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.1807, allocations: 45.69 kB / 343.1 MB, free: 4.129 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.181, allocations: 312.4 kB / 343.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.1812, allocations: 161.7 kB / 343.6 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1814, allocations: 122.3 kB / 343.7 MB, free: 3.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.1817, allocations: 374.7 kB / 344.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.1822, allocations: 211.3 kB / 344.3 MB, free: 2.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.1829, allocations: 421 kB / 344.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.184, allocations: 0.6166 MB / 345.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1841, allocations: 0 / 345.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001472/0.1855, allocations: 0.6796 MB / 346 MB, free: 1.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.1856, allocations: 8 kB / 346 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.1856, allocations: 4 kB / 346 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-05/0.1857, allocations: 12 kB / 346 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.1863, allocations: 135.7 kB / 346.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.1864, allocations: 15.94 kB / 346.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.1869, allocations: 83.67 kB / 346.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.187, allocations: 32 kB / 346.3 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007414/0.1877, allocations: 337.3 kB / 346.6 MB, free: 448 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007059/0.1884, allocations: 397 kB / 347 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/0.1895, allocations: 0.5777 MB / 347.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.222e-06/0.1895, allocations: 4 kB / 347.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001342/0.1909, allocations: 0.6219 MB / 348.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1909, allocations: 8 kB / 348.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1909, allocations: 4 kB / 348.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.191, allocations: 16 kB / 348.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.1915, allocations: 123.8 kB / 348.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.1915, allocations: 15.92 kB / 348.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.192, allocations: 71.5 kB / 348.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.192, allocations: 28 kB / 348.5 MB, free: 14.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thdRMS.pythagoras.valid,thdRMS.valid,thdRMS.greaterThreshold.y,thdRMS.rootMeanSquare.mean.y,$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.0004126/0.1924, allocations: 242.2 kB / 348.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1925, allocations: 59.33 kB / 348.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.1941, allocations: 0.5829 MB / 349.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.1941, allocations: 4 kB / 349.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1941, allocations: 0 / 349.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1942, allocations: 3.938 kB / 349.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.1952, allocations: 0.6341 MB / 350 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1952, allocations: 0 / 350 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.1957, allocations: 99.86 kB / 350.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1957, allocations: 0 / 350.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.1958, allocations: 15.98 kB / 350.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.1958, allocations: 7.938 kB / 350.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1958, allocations: 3.938 kB / 350.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.1977, allocations: 0.8707 MB / 351 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.1979, allocations: 124.4 kB / 351.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.198, allocations: 20.05 kB / 351.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.1984, allocations: 43.97 kB / 351.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1985, allocations: 40.5 kB / 351.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.1986, allocations: 23.92 kB / 351.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003975/0.199, allocations: 314.9 kB / 351.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.199, allocations: 0 / 351.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009104/0.1999, allocations: 239.1 kB / 351.8 MB, free: 10.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x) * Number of discrete variables: 20 ($cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thd1.harmonic.mean1.y,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.002356/0.2023, allocations: 1.449 MB / 353.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.2048, allocations: 0.8572 MB / 354.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.2049, allocations: 7.906 kB / 354.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.2055, allocations: 271 kB / 354.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.2062, allocations: 93.98 kB / 354.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.2164, allocations: 5.51 MB / 359.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.2174, allocations: 0.9036 MB / 360.8 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006299/0.218, allocations: 112.6 kB / 361 MB, free: 1.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.2185, allocations: 235.3 kB / 361.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of SimCode: time 1.874e-06/0.2185, allocations: 0 / 361.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.2526, allocations: 11.26 MB / 372.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.2528, allocations: 196.6 kB / 372.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.038, allocations: 7.875 kB / 372.6 MB, free: 5.703 MB / 318.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","../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