Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001328/0.001328, allocations: 86.16 kB / 16.31 MB, free: 6.453 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.002131/0.002132, allocations: 179.5 kB / 17.21 MB, free: 6.328 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.748/1.748, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0005035/0.0005036, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2637, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.0015/0.2652, allocations: 1.019 MB / 328.8 MB, free: 0.5977 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2669, allocations: 0.9709 MB / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.267, allocations: 0 / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.2674, allocations: 84.66 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.2676, allocations: 91.2 kB / 329.9 MB, free: 15.76 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.0007029/0.2683, allocations: 191.8 kB / 330.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.2687, allocations: 163.8 kB / 330.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.2687, allocations: 2.906 kB / 330.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.2691, allocations: 130.3 kB / 330.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.2694, allocations: 164.9 kB / 330.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2695, allocations: 2.938 kB / 330.5 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.27, allocations: 216.7 kB / 330.7 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.2703, allocations: 215.7 kB / 331 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.2705, allocations: 111.7 kB / 331.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.271, allocations: 397.2 kB / 331.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.271, allocations: 0 / 331.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2711, allocations: 1 kB / 331.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.2711, allocations: 0 / 331.5 MB, free: 14.97 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.001342/0.2724, allocations: 1.046 MB / 332.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2725, allocations: 8.688 kB / 332.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.2727, allocations: 72.25 kB / 332.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2731, allocations: 269.5 kB / 332.8 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2731, allocations: 12.27 kB / 332.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2732, allocations: 15.14 kB / 332.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.2743, allocations: 0.9041 MB / 333.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2743, allocations: 0 / 333.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2743, allocations: 4 kB / 333.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2743, allocations: 0 / 333.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.2751, allocations: 0.8571 MB / 334.6 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2756, allocations: 392 kB / 335 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2772, allocations: 2.168 MB / 337.2 MB, free: 9.883 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.2789, allocations: 2.149 MB / 339.3 MB, free: 7.73 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.2789, allocations: 4 kB / 339.3 MB, free: 7.727 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.2801, allocations: 1.166 MB / 340.5 MB, free: 6.547 MB / 270.1 MB Notification: Performance of pre-optimization done (n=246): time 2.374e-06/0.2801, allocations: 0 / 340.5 MB, free: 6.547 MB / 270.1 MB Notification: Performance of matching and sorting (n=246): time 0.005181/0.2853, allocations: 5.072 MB / 345.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003604/0.2857, allocations: 432.5 kB / 346 MB, free: 1.016 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.286, allocations: 198.5 kB / 346.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.2862, allocations: 197.6 kB / 346.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.2863, allocations: 104.2 kB / 346.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.2872, allocations: 0.9757 MB / 347.5 MB, free: 15.51 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2873, allocations: 84 kB / 347.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.2876, allocations: 479.5 kB / 348 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.2891, allocations: 1.093 MB / 349.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.2919, allocations: 2.829 MB / 351.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.2943, allocations: 1.644 MB / 353.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.2943, allocations: 20 kB / 353.6 MB, free: 8.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005959/0.3003, allocations: 3.998 MB / 357.6 MB, free: 4.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.3004, allocations: 65.58 kB / 357.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/0.3005, allocations: 56 kB / 357.7 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.155e-05/0.3006, allocations: 92 kB / 357.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.3021, allocations: 0.5689 MB / 358.4 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001082/0.3022, allocations: 119.6 kB / 358.5 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.3037, allocations: 320.8 kB / 358.8 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.3039, allocations: 196.4 kB / 359 MB, free: 3.07 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.001/0.3049, allocations: 0.8527 MB / 359.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.3052, allocations: 122.9 kB / 360 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3052, allocations: 17.92 kB / 360 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3052, allocations: 0 / 360 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3052, allocations: 0 / 360 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3052, allocations: 0 / 360 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.3058, allocations: 0.5485 MB / 360.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3058, allocations: 0 / 360.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.3058, allocations: 4 kB / 360.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3059, allocations: 3.953 kB / 360.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.3059, allocations: 36 kB / 360.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3059, allocations: 7.984 kB / 360.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3059, allocations: 0 / 360.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/0.3257, allocations: 22.35 MB / 382.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.3261, allocations: 179.6 kB / 383.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.3262, allocations: 67.91 kB / 383.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.3265, allocations: 43.98 kB / 383.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3267, allocations: 24 kB / 383.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.3267, allocations: 43.98 kB / 383.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3269, allocations: 132.3 kB / 383.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.3269, allocations: 0 / 383.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00253/0.3294, allocations: 0.5155 MB / 383.9 MB, free: 10 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.0008738/0.3303, allocations: 391.9 kB / 384.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.3359, allocations: 3.434 MB / 387.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.3359, allocations: 0.9375 kB / 387.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04272/0.3786, allocations: 59.46 MB / 447.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.3793, allocations: 72.25 kB / 447.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.3824, allocations: 2.421 MB / 449.7 MB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.3829, allocations: 0.9997 MB / 450.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.3833, allocations: 214 kB / 450.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3834, allocations: 71.44 kB / 451 MB, free: 6.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3835, allocations: 3.938 kB / 451 MB, free: 6.844 MB / 382.1 MB Notification: Performance of Templates: time 0.2431/0.6266, allocations: 13.7 MB / 464.7 MB, free: 118.7 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)