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.001398/0.001398, allocations: 112.2 kB / 16.62 MB, free: 6.812 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.001659/0.001659, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 49.08 kB / 300.2 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 49.46 MB / 349.7 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004942/0.1076, allocations: 3.63 MB / 353.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1094, allocations: 1.208 MB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1096, allocations: 15.94 kB / 354.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1098, allocations: 55.42 kB / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.1102, allocations: 99.2 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.1109, allocations: 363.6 kB / 355 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008319/0.1117, allocations: 0.8649 MB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005375/0.1123, allocations: 377.8 kB / 356.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.1126, allocations: 330.8 kB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.113, allocations: 354.3 kB / 356.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1131, allocations: 100 kB / 357 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1132, allocations: 96 kB / 357.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.1134, allocations: 199.4 kB / 357.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.1137, allocations: 394.1 kB / 357.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007609/0.1145, allocations: 0.97 MB / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1145, allocations: 0 / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1145, allocations: 0 / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1145, allocations: 0 / 358.7 MB, free: 11.52 MB / 302.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.001979/0.1165, allocations: 1.033 MB / 359.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1166, allocations: 8.031 kB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.1167, allocations: 98.7 kB / 359.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1168, allocations: 83.98 kB / 359.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.1177, allocations: 0.5848 MB / 360.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.1177, allocations: 53.42 kB / 360.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.1178, allocations: 64 kB / 360.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.119, allocations: 0.6604 MB / 361.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.119, allocations: 0 / 361.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.119, allocations: 20 kB / 361.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1191, allocations: 16 kB / 361.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1201, allocations: 0.5048 MB / 361.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.1229, allocations: 1.901 MB / 363.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.1239, allocations: 0.4893 MB / 364.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.1244, allocations: 214.1 kB / 364.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1244, allocations: 12.42 kB / 364.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007232/0.1251, allocations: 392.5 kB / 364.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.914e-06/0.1251, allocations: 0 / 364.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001517/0.1267, allocations: 0.7248 MB / 365.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.1268, allocations: 119.2 kB / 365.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.1273, allocations: 445.8 kB / 366.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.1273, allocations: 41.7 kB / 366.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.1276, allocations: 324.3 kB / 366.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.1278, allocations: 165.6 kB / 366.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.128, allocations: 118.3 kB / 366.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1282, allocations: 366.8 kB / 367.1 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.1286, allocations: 215.4 kB / 367.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.1292, allocations: 417 kB / 367.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1303, allocations: 0.6166 MB / 368.3 MB, free: 1.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1303, allocations: 4 kB / 368.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00131/0.1316, allocations: 0.6795 MB / 369 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1316, allocations: 14.59 kB / 369 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1317, allocations: 4 kB / 369 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.1317, allocations: 15.98 kB / 369 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.1322, allocations: 131.7 kB / 369.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.1322, allocations: 15.98 kB / 369.2 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.1326, allocations: 79.66 kB / 369.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.1327, allocations: 27.98 kB / 369.3 MB, free: 476 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005167/0.1332, allocations: 333.4 kB / 369.6 MB, free: 140 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2065/0.3398, allocations: 399.3 kB / 370 MB, free: 24.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.3408, allocations: 0.5644 MB / 370.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.802e-06/0.3409, allocations: 1.781 kB / 370.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001349/0.3422, allocations: 0.6339 MB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3422, allocations: 10.69 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3423, allocations: 10.89 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3423, allocations: 10.41 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.3428, allocations: 126.4 kB / 371.3 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.3429, allocations: 15.42 kB / 371.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.3433, allocations: 66.83 kB / 371.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.3434, allocations: 32.77 kB / 371.5 MB, free: 24.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_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.0002699/0.3437, allocations: 235.1 kB / 371.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3438, allocations: 60.83 kB / 371.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.3452, allocations: 0.5771 MB / 372.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3452, allocations: 5.625 kB / 372.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3453, allocations: 5.406 kB / 372.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.3453, allocations: 3.281 kB / 372.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009389/0.3462, allocations: 0.6416 MB / 373 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3462, allocations: 0 / 373 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.3467, allocations: 87.31 kB / 373.1 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3467, allocations: 1.797 kB / 373.1 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.3468, allocations: 19.56 kB / 373.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3468, allocations: 2.406 kB / 373.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3468, allocations: 3.656 kB / 373.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.3485, allocations: 0.8768 MB / 374 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.3487, allocations: 131.8 kB / 374.1 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.3487, allocations: 18.12 kB / 374.1 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.3491, allocations: 40.41 kB / 374.2 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3493, allocations: 49.44 kB / 374.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.3493, allocations: 20.86 kB / 374.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.3497, allocations: 301.3 kB / 374.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 3.938 kB / 374.5 MB, free: 23.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008495/0.3505, allocations: 247.2 kB / 374.8 MB, free: 23.18 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_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.001934/0.3525, allocations: 1.449 MB / 376.2 MB, free: 22.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.3544, allocations: 0.8619 MB / 377.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3544, allocations: 0 / 377.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.355, allocations: 267.1 kB / 377.3 MB, free: 21.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.3554, allocations: 87.31 kB / 377.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.3624, allocations: 5.505 MB / 382.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3628, allocations: 0.9036 MB / 383.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.3632, allocations: 104.7 kB / 383.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.3635, allocations: 232.7 kB / 384.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3635, allocations: 0 / 384.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.3875, allocations: 11.22 MB / 395.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.3877, allocations: 195.1 kB / 395.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.559, allocations: 3.938 kB / 395.6 MB, free: 11.54 MB / 302.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