Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.001331, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001384, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 63.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2822, allocations: 50.54 MB / 409.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005791/0.288, allocations: 3.736 MB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.2909, allocations: 1.395 MB / 414.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.2914, allocations: 11.94 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.2917, allocations: 90.92 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.2921, allocations: 138.7 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2932, allocations: 455.3 kB / 414.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2943, allocations: 0.9078 MB / 415.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.2949, allocations: 397.8 kB / 416.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.2954, allocations: 354.6 kB / 416.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.2959, allocations: 366.2 kB / 416.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.296, allocations: 100 kB / 417 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.2962, allocations: 120 kB / 417.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.2965, allocations: 207.4 kB / 417.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.2969, allocations: 409.9 kB / 417.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2981, allocations: 1.054 MB / 418.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2981, allocations: 0 / 418.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2981, allocations: 0 / 418.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2981, allocations: 0 / 418.8 MB, free: 7.637 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002129/0.3003, allocations: 1.091 MB / 419.8 MB, free: 6.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3003, allocations: 12.03 kB / 419.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.3005, allocations: 102.7 kB / 420 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.3012, allocations: 144.3 kB / 420.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3023, allocations: 0.6768 MB / 420.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.3024, allocations: 49.69 kB / 420.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.3025, allocations: 64.31 kB / 420.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3038, allocations: 0.6604 MB / 421.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3038, allocations: 7.953 kB / 421.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.3039, allocations: 27.98 kB / 421.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3039, allocations: 12 kB / 421.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.3051, allocations: 0.497 MB / 422.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.3083, allocations: 1.89 MB / 424 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3094, allocations: 493.1 kB / 424.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/0.3099, allocations: 214.1 kB / 424.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.3099, allocations: 12.42 kB / 424.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007999/0.3107, allocations: 393.1 kB / 425.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.3107, allocations: 0 / 425.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001936/0.3127, allocations: 0.7367 MB / 425.8 MB, free: 372 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.3128, allocations: 119.2 kB / 425.9 MB, free: 228 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.3134, allocations: 490.9 kB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.3135, allocations: 45.64 kB / 426.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.3138, allocations: 344.9 kB / 426.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.314, allocations: 170.6 kB / 426.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.3142, allocations: 126.3 kB / 427.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.3144, allocations: 370.8 kB / 427.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.315, allocations: 211.4 kB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.3157, allocations: 417 kB / 428 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3169, allocations: 0.6171 MB / 428.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3169, allocations: 4 kB / 428.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001445/0.3183, allocations: 0.6869 MB / 429.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3184, allocations: 8 kB / 429.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3184, allocations: 4 kB / 429.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.3184, allocations: 15.94 kB / 429.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.319, allocations: 131.8 kB / 429.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.319, allocations: 15.94 kB / 429.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.3194, allocations: 87.83 kB / 429.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.3195, allocations: 24 kB / 429.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006278/0.3201, allocations: 345.3 kB / 430 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006497/0.3208, allocations: 401 kB / 430.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001066/0.3219, allocations: 0.5797 MB / 430.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.3219, allocations: 0 / 430.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001233/0.3231, allocations: 0.6292 MB / 431.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3232, allocations: 12.8 kB / 431.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3232, allocations: 4 kB / 431.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3232, allocations: 16 kB / 431.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.3237, allocations: 131.7 kB / 431.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.3237, allocations: 19.92 kB / 431.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.3241, allocations: 63.64 kB / 431.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.3241, allocations: 28 kB / 431.8 MB, free: 9.895 MB / 350.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.0003271/0.3245, allocations: 242.6 kB / 432.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3246, allocations: 67.58 kB / 432.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3261, allocations: 0.5872 MB / 432.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3261, allocations: 4 kB / 432.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3261, allocations: 0 / 432.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3261, allocations: 3.984 kB / 432.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.3269, allocations: 0.6576 MB / 433.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3269, allocations: 3.938 kB / 433.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.3274, allocations: 87.88 kB / 433.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3274, allocations: 4 kB / 433.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.3275, allocations: 19.92 kB / 433.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3275, allocations: 4 kB / 433.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3275, allocations: 0 / 433.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3294, allocations: 0.8751 MB / 434.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3295, allocations: 144.6 kB / 434.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.3296, allocations: 19.94 kB / 434.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.3299, allocations: 43.95 kB / 434.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3301, allocations: 48.44 kB / 434.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3301, allocations: 19.98 kB / 434.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004132/0.3305, allocations: 334.9 kB / 435 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3306, allocations: 0 / 435 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007934/0.3314, allocations: 255.3 kB / 435.2 MB, free: 6.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x) * Number of discrete variables: 20 ($cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thd1.harmonic.mean1.y_last,thd1.harmonic.mean2.y_last,thd1.rootMeanSquare.mean.y_last,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y_last,thdRMS.harmonic.mean2.y_last,thdRMS.rootMeanSquare.mean.y_last,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid) * Number of discrete states: 6 (thdRMS.rootMeanSquare.mean.x,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean1.x,thd1.rootMeanSquare.mean.x,thd1.harmonic.mean2.x,thd1.harmonic.mean1.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002305/0.3337, allocations: 1.453 MB / 436.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.3355, allocations: 0.8229 MB / 437.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3355, allocations: 0 / 437.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.3361, allocations: 275 kB / 437.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.3366, allocations: 87.52 kB / 437.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.3448, allocations: 5.306 MB / 443.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.3455, allocations: 0.9155 MB / 444.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.346, allocations: 112.8 kB / 444.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.3464, allocations: 255.3 kB / 444.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3464, allocations: 0 / 444.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.3882, allocations: 12.41 MB / 456.9 MB, free: 0.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.069/9.457, allocations: 0 / 456.9 MB, free: 0.582 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1)