Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 204 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.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.0004504/0.0004506, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001552/0.2912, allocations: 1.007 MB / 327.5 MB, free: 0.6172 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2929, allocations: 0.9776 MB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2929, allocations: 3.938 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.2935, allocations: 89.38 kB / 328.6 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2938, allocations: 86.53 kB / 328.6 MB, free: 15.77 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.0006087/0.2944, allocations: 184 kB / 328.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.2947, allocations: 159.5 kB / 329 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.2947, allocations: 5.141 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2949, allocations: 125.8 kB / 329.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2952, allocations: 170.5 kB / 329.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2952, allocations: 2.375 kB / 329.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.2956, allocations: 213 kB / 329.5 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.2959, allocations: 205.8 kB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.296, allocations: 106.1 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.2965, allocations: 375 kB / 330.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2965, allocations: 4 kB / 330.2 MB, free: 15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2965, allocations: 0 / 330.2 MB, free: 15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2965, allocations: 1.094 kB / 330.2 MB, free: 15 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001082/0.2976, allocations: 0.9826 MB / 331.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.2977, allocations: 9.969 kB / 331.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.2978, allocations: 66.53 kB / 331.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.298, allocations: 267.2 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2981, allocations: 11.23 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.2981, allocations: 8.125 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.299, allocations: 0.8342 MB / 332.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.299, allocations: 0 / 332.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.299, allocations: 0 / 332.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.299, allocations: 4 kB / 332.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.2997, allocations: 0.7868 MB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.3001, allocations: 368.2 kB / 333.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3016, allocations: 1.879 MB / 335.4 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.3031, allocations: 1.876 MB / 337.2 MB, free: 8.555 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3031, allocations: 3.938 kB / 337.2 MB, free: 8.551 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009913/0.3041, allocations: 1.072 MB / 338.3 MB, free: 7.465 MB / 270.1 MB Notification: Performance of pre-optimization done (n=225): time 1.623e-06/0.3041, allocations: 4 kB / 338.3 MB, free: 7.461 MB / 270.1 MB Notification: Performance of matching and sorting (n=225): time 0.0052/0.3093, allocations: 4.501 MB / 342.8 MB, free: 2.949 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003854/0.3097, allocations: 400.5 kB / 343.2 MB, free: 2.531 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.31, allocations: 194.5 kB / 343.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.3102, allocations: 185.6 kB / 343.6 MB, free: 2.141 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.3103, allocations: 107.9 kB / 343.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008484/0.3111, allocations: 0.9216 MB / 344.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3113, allocations: 72 kB / 344.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.3115, allocations: 478.6 kB / 345.1 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.3129, allocations: 1.018 MB / 346.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/0.3155, allocations: 2.612 MB / 348.8 MB, free: 12.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.3176, allocations: 1.524 MB / 350.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.3176, allocations: 16 kB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005319/0.3229, allocations: 3.705 MB / 354 MB, free: 6.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.323, allocations: 53.7 kB / 354.1 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-05/0.3231, allocations: 59.98 kB / 354.1 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.524e-05/0.3232, allocations: 87.94 kB / 354.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.3245, allocations: 0.526 MB / 354.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-05/0.3246, allocations: 107.6 kB / 354.8 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3259, allocations: 297 kB / 355.1 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.3261, allocations: 180 kB / 355.3 MB, free: 5.602 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($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 (470): * Single equations (assignments): 469 * 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.0008293/0.3269, allocations: 0.7615 MB / 356.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3271, allocations: 115 kB / 356.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.3271, allocations: 17.16 kB / 356.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3272, allocations: 0 / 356.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3272, allocations: 3.984 kB / 356.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3272, allocations: 0 / 356.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3277, allocations: 0.5096 MB / 356.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3277, allocations: 0 / 356.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.3277, allocations: 0 / 356.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3277, allocations: 0 / 356.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.3278, allocations: 43.94 kB / 356.8 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3278, allocations: 0 / 356.8 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3278, allocations: 4 kB / 356.8 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.3474, allocations: 21.86 MB / 378.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.3477, allocations: 171.7 kB / 378.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3478, allocations: 47.98 kB / 378.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3481, allocations: 31.95 kB / 378.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.3483, allocations: 27.98 kB / 378.9 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.3484, allocations: 43.98 kB / 378.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3485, allocations: 140.3 kB / 379.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3485, allocations: 0 / 379.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002622/0.3511, allocations: 484 kB / 379.5 MB, free: 13.22 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: 26 ($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],info,iTick,y_buf[200]) * Number of discrete states: 26 (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.001029/0.3522, allocations: 343.7 kB / 379.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004907/0.3571, allocations: 3.18 MB / 383.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3571, allocations: 0 / 383.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0406/0.3977, allocations: 52.37 MB / 435.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.3985, allocations: 72.55 kB / 435.5 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.4019, allocations: 2.28 MB / 437.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.4026, allocations: 0.9758 MB / 438.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.4031, allocations: 192.9 kB / 438.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.4033, allocations: 67.44 kB / 439 MB, free: 1.656 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4033, allocations: 0 / 439 MB, free: 1.656 MB / 366.1 MB Notification: Performance of Templates: time 0.02352/0.4269, allocations: 12.76 MB / 451.8 MB, free: 4.875 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)