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: translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.412/1.412, allocations: 227.7 MB / 247.7 MB, free: 10.43 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.001889/0.00189, allocations: 66.95 kB / 307.9 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 50.53 MB / 358.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005622/0.1106, allocations: 3.737 MB / 362.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1133, allocations: 1.391 MB / 363.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1137, allocations: 15.94 kB / 363.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.114, allocations: 86.92 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.1145, allocations: 142.6 kB / 363.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009905/0.1155, allocations: 466.5 kB / 364.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009551/0.1164, allocations: 0.9001 MB / 365.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.1171, allocations: 389.9 kB / 365.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.1179, allocations: 346.6 kB / 365.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.1185, allocations: 366.2 kB / 366.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1186, allocations: 104 kB / 366.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1189, allocations: 112 kB / 366.4 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.1191, allocations: 207.4 kB / 366.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005094/0.1197, allocations: 421.8 kB / 367 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.121, allocations: 1.021 MB / 368.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.121, allocations: 0 / 368.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.121, allocations: 0 / 368.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.121, allocations: 0 / 368.1 MB, free: 4.293 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.002225/0.1233, allocations: 1.068 MB / 369.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.1234, allocations: 12.03 kB / 369.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006894/0.1241, allocations: 143.8 kB / 369.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1252, allocations: 0.6568 MB / 369.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.1252, allocations: 49.67 kB / 370 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1253, allocations: 64.38 kB / 370 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1266, allocations: 0.6567 MB / 370.7 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1266, allocations: 4 kB / 370.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/0.1267, allocations: 20 kB / 370.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.1267, allocations: 16 kB / 370.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1279, allocations: 0.5047 MB / 371.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.172/0.2999, allocations: 1.914 MB / 373.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3009, allocations: 491.2 kB / 373.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.3014, allocations: 215.8 kB / 373.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.663e-05/0.3015, allocations: 10.28 kB / 373.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.3023, allocations: 388.6 kB / 374.2 MB, free: 19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.056e-06/0.3023, allocations: 0 / 374.2 MB, free: 19 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001816/0.3041, allocations: 0.736 MB / 375 MB, free: 18.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3042, allocations: 120.3 kB / 375.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.3049, allocations: 492.3 kB / 375.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.3049, allocations: 43.19 kB / 375.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.3052, allocations: 339.4 kB / 376 MB, free: 18.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3053, allocations: 159.8 kB / 376.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.3055, allocations: 125.1 kB / 376.2 MB, free: 18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3056, allocations: 376.5 kB / 376.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.3061, allocations: 208.3 kB / 376.8 MB, free: 17.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.3066, allocations: 420.1 kB / 377.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3076, allocations: 0.6169 MB / 377.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3076, allocations: 1.344 kB / 377.8 MB, free: 16.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001256/0.3089, allocations: 0.6838 MB / 378.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3089, allocations: 12.08 kB / 378.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.309, allocations: 6.531 kB / 378.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.309, allocations: 13.05 kB / 378.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.3095, allocations: 138.5 kB / 378.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.3096, allocations: 13.92 kB / 378.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.31, allocations: 78.77 kB / 378.8 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.31, allocations: 31.64 kB / 378.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005722/0.3106, allocations: 342.5 kB / 379.1 MB, free: 16.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004632/0.3111, allocations: 395.3 kB / 379.5 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008212/0.3119, allocations: 0.5711 MB / 380.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.3119, allocations: 1.25 kB / 380.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001082/0.313, allocations: 0.6391 MB / 380.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.313, allocations: 7.062 kB / 380.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3131, allocations: 11.89 kB / 380.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.3131, allocations: 7.188 kB / 380.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.3135, allocations: 127.8 kB / 380.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3135, allocations: 11.41 kB / 380.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3139, allocations: 70.78 kB / 381 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.314, allocations: 31.56 kB / 381 MB, free: 15.26 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.0002081/0.3142, allocations: 234.9 kB / 381.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.3143, allocations: 65.52 kB / 381.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.3155, allocations: 0.5841 MB / 381.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3156, allocations: 10.19 kB / 381.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3156, allocations: 0 / 381.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3156, allocations: 4.047 kB / 381.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.3164, allocations: 0.6543 MB / 382.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3164, allocations: 5.531 kB / 382.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.3168, allocations: 86.8 kB / 382.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3168, allocations: 6.25 kB / 382.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.3169, allocations: 16.39 kB / 382.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3169, allocations: 1.562 kB / 382.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3169, allocations: 1.344 kB / 382.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.3187, allocations: 0.8732 MB / 383.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3188, allocations: 146.5 kB / 383.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.3189, allocations: 23.16 kB / 383.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3192, allocations: 34.48 kB / 383.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.3194, allocations: 50.11 kB / 383.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.3194, allocations: 21.98 kB / 383.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004124/0.3198, allocations: 335.4 kB / 384.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3198, allocations: 0 / 384.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009145/0.3208, allocations: 248.8 kB / 384.4 MB, free: 13.59 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.0001619/0.3209, allocations: 130 kB / 384.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.323, allocations: 0.8596 MB / 385.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.323, allocations: 0 / 385.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.3236, allocations: 276.2 kB / 385.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.3241, allocations: 88.89 kB / 385.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3264, allocations: 1.248 MB / 387 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.3268, allocations: 0.9164 MB / 387.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.327, allocations: 61.95 kB / 387.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.327, allocations: 0 / 387.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01419/0.3412, allocations: 8.236 MB / 396.2 MB, free: 8.102 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (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 & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1)