Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009689, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001159/0.00116, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.0004484/0.0004484, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 47.58 MB / 326.5 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.001245/0.2417, allocations: 1.03 MB / 327.5 MB, free: 0.7734 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2432, allocations: 0.9631 MB / 328.5 MB, free: 48 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.2433, allocations: 0 / 328.5 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.2438, allocations: 78.67 kB / 328.5 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.244, allocations: 94.56 kB / 328.6 MB, free: 15.95 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/FastFourierTransform.mo:536:3-627:25:writable] Warning: Pure function ‘Modelica.Math.FastFourierTransform.realFFTwriteToFile‘ contains a call to impure function ‘Modelica.Utilities.Files.removeFile‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.2445, allocations: 183.4 kB / 328.8 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.2447, allocations: 165.1 kB / 329 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.2448, allocations: 2.219 kB / 329 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2449, allocations: 129.2 kB / 329.1 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.2452, allocations: 173.9 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2452, allocations: 2.375 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.2456, allocations: 213.6 kB / 329.5 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.2458, allocations: 215 kB / 329.7 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2459, allocations: 116.5 kB / 329.8 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.2463, allocations: 392.8 kB / 330.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2463, allocations: 0 / 330.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2463, allocations: 1.031 kB / 330.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.2463, allocations: 0 / 330.2 MB, free: 15.16 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001046/0.2474, allocations: 1.05 MB / 331.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2474, allocations: 13.11 kB / 331.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2476, allocations: 71.59 kB / 331.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2478, allocations: 261.1 kB / 331.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2479, allocations: 11.77 kB / 331.6 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2479, allocations: 12.47 kB / 331.6 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.2488, allocations: 0.9072 MB / 332.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2488, allocations: 0 / 332.5 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2488, allocations: 4 kB / 332.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2489, allocations: 0 / 332.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.2496, allocations: 0.8571 MB / 333.4 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.25, allocations: 392 kB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.2516, allocations: 2.168 MB / 335.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.2532, allocations: 2.153 MB / 338.1 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2532, allocations: 0 / 338.1 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.2543, allocations: 1.162 MB / 339.2 MB, free: 6.703 MB / 270.1 MB Notification: Performance of pre-optimization done (n=246): time 1.493e-06/0.2543, allocations: 4 kB / 339.2 MB, free: 6.699 MB / 270.1 MB Notification: Performance of matching and sorting (n=246): time 0.005392/0.2597, allocations: 5.075 MB / 344.3 MB, free: 1.613 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002914/0.26, allocations: 428.5 kB / 344.7 MB, free: 1.168 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.2602, allocations: 198.5 kB / 344.9 MB, free: 0.957 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.2605, allocations: 201.6 kB / 345.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.2605, allocations: 112.1 kB / 345.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/0.2613, allocations: 0.9759 MB / 346.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2614, allocations: 80 kB / 346.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.2616, allocations: 479.5 kB / 346.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.2631, allocations: 1.097 MB / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.2657, allocations: 2.829 MB / 350.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.268, allocations: 1.645 MB / 352.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/0.2681, allocations: 16 kB / 352.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005955/0.2741, allocations: 4.001 MB / 356.3 MB, free: 4.621 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2742, allocations: 57.7 kB / 356.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-05/0.2743, allocations: 59.98 kB / 356.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.2744, allocations: 92 kB / 356.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.2759, allocations: 0.5689 MB / 357.1 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000103/0.276, allocations: 115.6 kB / 357.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.2775, allocations: 320.8 kB / 357.5 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.2777, allocations: 196.4 kB / 357.7 MB, free: 3.219 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.2788, allocations: 0.8605 MB / 358.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.2791, allocations: 118.9 kB / 358.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2791, allocations: 13.94 kB / 358.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2791, allocations: 0 / 358.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2791, allocations: 0 / 358.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2791, allocations: 4 kB / 358.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.2798, allocations: 0.5446 MB / 359.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2798, allocations: 4 kB / 359.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-07/0.2798, allocations: 0 / 359.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-05/0.2799, allocations: 3.953 kB / 359.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.2799, allocations: 43.92 kB / 359.3 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.28, allocations: 4 kB / 359.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.28, allocations: 4 kB / 359.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.3002, allocations: 22.35 MB / 381.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.3005, allocations: 179.6 kB / 381.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.3007, allocations: 67.91 kB / 381.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.3009, allocations: 36 kB / 382 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3011, allocations: 27.98 kB / 382 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.3012, allocations: 40.03 kB / 382 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3013, allocations: 132.3 kB / 382.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3013, allocations: 0 / 382.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002702/0.304, allocations: 0.5117 MB / 382.7 MB, free: 10.15 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008798/0.3049, allocations: 399.9 kB / 383.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004883/0.3098, allocations: 3.434 MB / 386.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3098, allocations: 1 kB / 386.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04356/0.3534, allocations: 59.46 MB / 446 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.354, allocations: 76.25 kB / 446 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3572, allocations: 2.421 MB / 448.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.3578, allocations: 1.004 MB / 449.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003969/0.3582, allocations: 214 kB / 449.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.3584, allocations: 75.38 kB / 449.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3584, allocations: 0 / 449.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of Templates: time 0.1857/0.5442, allocations: 13.69 MB / 463.4 MB, free: 119 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)