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.001366/0.001367, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001442/0.001442, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 48.42 kB / 300.1 MB, free: 5.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1082, allocations: 49.45 MB / 349.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005439/0.1137, allocations: 3.646 MB / 353.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1162, allocations: 1.2 MB / 354.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.1169, allocations: 11.94 kB / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1175, allocations: 59.42 kB / 354.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007693/0.1182, allocations: 103.2 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1194, allocations: 365.5 kB / 354.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.1205, allocations: 0.7947 MB / 355.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.1211, allocations: 365.7 kB / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.1215, allocations: 262.8 kB / 356.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1218, allocations: 330.3 kB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.457e-05/0.1219, allocations: 36 kB / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.122, allocations: 40 kB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1221, allocations: 147.4 kB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.1224, allocations: 334.1 kB / 357.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.1232, allocations: 0.9231 MB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1232, allocations: 0 / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1232, allocations: 0 / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1232, allocations: 0 / 358.1 MB, free: 11.9 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.001963/0.1252, allocations: 1.037 MB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1252, allocations: 8.031 kB / 359.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.1254, allocations: 102.7 kB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1255, allocations: 80 kB / 359.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.1264, allocations: 0.5809 MB / 359.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.1265, allocations: 49.44 kB / 359.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.1266, allocations: 64 kB / 360 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1277, allocations: 0.6604 MB / 360.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1277, allocations: 4 kB / 360.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.1278, allocations: 27.98 kB / 360.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1278, allocations: 12 kB / 360.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1289, allocations: 0.5047 MB / 361.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.1316, allocations: 1.901 MB / 363.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000907/0.1325, allocations: 497.1 kB / 363.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.133, allocations: 210.1 kB / 363.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.133, allocations: 12.42 kB / 363.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006936/0.1337, allocations: 393.1 kB / 364.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.1337, allocations: 0 / 364.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001516/0.1353, allocations: 0.7248 MB / 364.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1354, allocations: 111.2 kB / 365 MB, free: 4.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.1358, allocations: 445.8 kB / 365.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.1359, allocations: 45.7 kB / 365.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1361, allocations: 324.3 kB / 365.8 MB, free: 3.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1362, allocations: 169.6 kB / 366 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1364, allocations: 118.3 kB / 366.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1365, allocations: 366.8 kB / 366.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.137, allocations: 207.4 kB / 366.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.1376, allocations: 421 kB / 367.1 MB, free: 2.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.1385, allocations: 0.6234 MB / 367.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1385, allocations: 0 / 367.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001238/0.1398, allocations: 0.676 MB / 368.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1398, allocations: 14.59 kB / 368.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1398, allocations: 4 kB / 368.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1399, allocations: 12.5 kB / 368.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.1404, allocations: 143.7 kB / 368.5 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.1404, allocations: 12 kB / 368.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.1408, allocations: 75.5 kB / 368.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.1409, allocations: 31.98 kB / 368.7 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005401/0.1414, allocations: 337.3 kB / 369 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.1419, allocations: 393 kB / 369.4 MB, free: 36 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.182/0.3239, allocations: 0.5655 MB / 369.9 MB, free: 24.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.3239, allocations: 2.75 kB / 369.9 MB, free: 24.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001246/0.3252, allocations: 0.6319 MB / 370.6 MB, free: 24.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3252, allocations: 8.25 kB / 370.6 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3252, allocations: 14.47 kB / 370.6 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3252, allocations: 9.562 kB / 370.6 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.3257, allocations: 122.9 kB / 370.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.3258, allocations: 16.53 kB / 370.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.3262, allocations: 66.28 kB / 370.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.3262, allocations: 28.38 kB / 370.8 MB, free: 24.2 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.0002332/0.3265, allocations: 241.4 kB / 371.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.3266, allocations: 61.67 kB / 371.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3278, allocations: 0.5837 MB / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.3278, allocations: 8.938 kB / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3279, allocations: 0 / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3279, allocations: 3 kB / 371.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.3285, allocations: 0.6366 MB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3285, allocations: 1.344 kB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.329, allocations: 89.36 kB / 372.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.329, allocations: 2.938 kB / 372.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.3291, allocations: 20.16 kB / 372.5 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3291, allocations: 2.219 kB / 372.5 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3291, allocations: 0 / 372.5 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.3308, allocations: 0.8726 MB / 373.3 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.3309, allocations: 134.5 kB / 373.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.331, allocations: 16.16 kB / 373.5 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.3313, allocations: 41.48 kB / 373.5 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3314, allocations: 47.02 kB / 373.6 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.3315, allocations: 21.36 kB / 373.6 MB, free: 23.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.3318, allocations: 305 kB / 373.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 7.766 kB / 373.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007353/0.3325, allocations: 244 kB / 374.1 MB, free: 23 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.001808/0.3344, allocations: 1.445 MB / 375.6 MB, free: 22.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.3361, allocations: 0.8241 MB / 376.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3361, allocations: 4.125 kB / 376.4 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.3366, allocations: 269.3 kB / 376.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.3371, allocations: 90.09 kB / 376.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.3442, allocations: 5.496 MB / 382.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3447, allocations: 0.9038 MB / 383.2 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.3452, allocations: 106.5 kB / 383.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.3455, allocations: 234.7 kB / 383.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3455, allocations: 4.75 kB / 383.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.4072, allocations: 10.93 MB / 394.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.4074, allocations: 200.7 kB / 394.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.483, allocations: 0 / 394.6 MB, free: 12.01 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