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.001004/0.001004, allocations: 106.4 kB / 17.15 MB, free: 6.305 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.001166/0.001166, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001146/0.001146, allocations: 56.14 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09304, allocations: 46.63 MB / 326.7 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.00442/0.09751, allocations: 3.607 MB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.09919, allocations: 1.22 MB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.0994, allocations: 11.94 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.09962, allocations: 55.42 kB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.09995, allocations: 107.2 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1005, allocations: 363.6 kB / 332 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.1011, allocations: 0.7713 MB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.1016, allocations: 369.7 kB / 333.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1019, allocations: 258.7 kB / 333.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1022, allocations: 326.3 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.1023, allocations: 40 kB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.1023, allocations: 40 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1025, allocations: 143.4 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1027, allocations: 326.1 kB / 334.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.1035, allocations: 0.8997 MB / 335.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1035, allocations: 0 / 335.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1035, allocations: 0 / 335.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1035, allocations: 0 / 335.2 MB, free: 12.26 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.001753/0.1053, allocations: 1.017 MB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1053, allocations: 8.031 kB / 336.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1054, allocations: 98.69 kB / 336.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1056, allocations: 80 kB / 336.4 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008326/0.1064, allocations: 0.5964 MB / 337 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1065, allocations: 45.69 kB / 337 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.38e-05/0.1066, allocations: 60.38 kB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1076, allocations: 0.6403 MB / 337.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1077, allocations: 0 / 337.7 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1077, allocations: 31.94 kB / 337.8 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1077, allocations: 12 kB / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1087, allocations: 495.6 kB / 338.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.1114, allocations: 1.868 MB / 340.1 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008837/0.1123, allocations: 0.4891 MB / 340.6 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.1127, allocations: 214 kB / 340.8 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.1128, allocations: 12.42 kB / 340.8 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.1135, allocations: 381.2 kB / 341.2 MB, free: 6.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 3.938e-06/0.1135, allocations: 4 kB / 341.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001498/0.115, allocations: 0.7286 MB / 341.9 MB, free: 5.289 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.1151, allocations: 119.2 kB / 342 MB, free: 5.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.1155, allocations: 449.9 kB / 342.5 MB, free: 4.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.1156, allocations: 41.7 kB / 342.5 MB, free: 4.648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1158, allocations: 316.4 kB / 342.8 MB, free: 4.332 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1159, allocations: 161.7 kB / 343 MB, free: 4.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.1161, allocations: 118.3 kB / 343.1 MB, free: 4.051 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1163, allocations: 378.7 kB / 343.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.1167, allocations: 207.4 kB / 343.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.1173, allocations: 417 kB / 344.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/0.1182, allocations: 0.6128 MB / 344.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1182, allocations: 0 / 344.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001181/0.1194, allocations: 0.6834 MB / 345.4 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1195, allocations: 8 kB / 345.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1195, allocations: 4 kB / 345.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1195, allocations: 12 kB / 345.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.12, allocations: 135.7 kB / 345.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.12, allocations: 15.94 kB / 345.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.1204, allocations: 87.67 kB / 345.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.1205, allocations: 28 kB / 345.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005358/0.121, allocations: 333.3 kB / 346 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004828/0.1215, allocations: 401 kB / 346.4 MB, free: 488 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000793/0.1223, allocations: 0.5738 MB / 347 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.1223, allocations: 4 kB / 347 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001025/0.1234, allocations: 0.6257 MB / 347.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1234, allocations: 8 kB / 347.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1234, allocations: 8.062 kB / 347.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1234, allocations: 12 kB / 347.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.1238, allocations: 127.8 kB / 347.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1239, allocations: 11.98 kB / 347.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.1242, allocations: 67.5 kB / 347.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.1242, allocations: 28 kB / 347.8 MB, free: 14.92 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.0001846/0.1244, allocations: 254.1 kB / 348.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.1245, allocations: 55.34 kB / 348.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.1257, allocations: 0.5829 MB / 348.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1257, allocations: 4 kB / 348.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1257, allocations: 4 kB / 348.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.1257, allocations: 7.922 kB / 348.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.1264, allocations: 0.6302 MB / 349.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1264, allocations: 0 / 349.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.1268, allocations: 95.86 kB / 349.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1268, allocations: 0 / 349.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.1269, allocations: 15.98 kB / 349.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1269, allocations: 4 kB / 349.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1269, allocations: 0 / 349.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.1285, allocations: 0.8746 MB / 350.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.1286, allocations: 132.4 kB / 350.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.1287, allocations: 12 kB / 350.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.129, allocations: 47.95 kB / 350.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1291, allocations: 40.5 kB / 350.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.1292, allocations: 23.92 kB / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.1295, allocations: 310.9 kB / 350.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1295, allocations: 3.938 kB / 350.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006626/0.1302, allocations: 243 kB / 351.2 MB, free: 11.5 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.001868/0.132, allocations: 1.445 MB / 352.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.1335, allocations: 0.8218 MB / 353.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1335, allocations: 3.906 kB / 353.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.134, allocations: 271.1 kB / 353.7 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.1345, allocations: 74.69 kB / 353.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.1418, allocations: 5.519 MB / 359.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1422, allocations: 0.8961 MB / 360.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004353/0.1427, allocations: 108.6 kB / 360.3 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.143, allocations: 227.3 kB / 360.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.325e-06/0.143, allocations: 0 / 360.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.1647, allocations: 11 MB / 371.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.1648, allocations: 200.6 kB / 371.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.148, allocations: 4.062 kB / 371.7 MB, free: 6.539 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