Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008038/0.0008038, allocations: 87.5 kB / 16.31 MB, free: 5.66 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.0009396/0.0009396, allocations: 182.6 kB / 17.21 MB, free: 5.578 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.636/1.636, allocations: 205.4 MB / 223.4 MB, free: 5.504 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.0004454/0.0004454, allocations: 10.81 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2701, allocations: 47.57 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001348/0.2715, allocations: 1.027 MB / 328.7 MB, free: 0.5977 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2734, allocations: 0.9682 MB / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.2735, allocations: 3.625 kB / 329.7 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.2742, allocations: 80.48 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.2744, allocations: 85.83 kB / 329.9 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.0009192/0.2754, allocations: 183.7 kB / 330.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.2757, allocations: 156 kB / 330.2 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.2757, allocations: 9.438 kB / 330.2 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.276, allocations: 125.4 kB / 330.3 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.2764, allocations: 169.4 kB / 330.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2764, allocations: 3.094 kB / 330.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.277, allocations: 221.5 kB / 330.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2772, allocations: 198.1 kB / 330.9 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.2774, allocations: 105.3 kB / 331 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.278, allocations: 371.2 kB / 331.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2781, allocations: 0 / 331.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2781, allocations: 1.344 kB / 331.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.2781, allocations: 0 / 331.4 MB, free: 15.01 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.001538/0.2796, allocations: 0.9915 MB / 332.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2797, allocations: 9.094 kB / 332.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.2799, allocations: 65.44 kB / 332.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2804, allocations: 264.3 kB / 332.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2804, allocations: 11.2 kB / 332.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.2804, allocations: 15.45 kB / 332.7 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2816, allocations: 0.8302 MB / 333.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2816, allocations: 0 / 333.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2817, allocations: 7.938 kB / 333.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2817, allocations: 0 / 333.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.2824, allocations: 0.7791 MB / 334.4 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.2829, allocations: 376.1 kB / 334.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.2844, allocations: 1.875 MB / 336.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.2859, allocations: 1.887 MB / 338.5 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2859, allocations: 0 / 338.5 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.2869, allocations: 1.072 MB / 339.6 MB, free: 7.496 MB / 270.1 MB Notification: Performance of pre-optimization done (n=225): time 2.675e-06/0.2869, allocations: 4 kB / 339.6 MB, free: 7.492 MB / 270.1 MB Notification: Performance of matching and sorting (n=225): time 0.005278/0.2922, allocations: 4.501 MB / 344.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002868/0.2925, allocations: 400.5 kB / 344.5 MB, free: 2.562 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.2928, allocations: 198.5 kB / 344.6 MB, free: 2.355 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.2931, allocations: 185.6 kB / 344.8 MB, free: 2.168 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.2932, allocations: 108 kB / 344.9 MB, free: 2.059 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009352/0.2941, allocations: 0.9138 MB / 345.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2943, allocations: 76 kB / 345.9 MB, free: 1.059 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003079/0.2946, allocations: 474.7 kB / 346.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.2964, allocations: 1.014 MB / 347.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.2991, allocations: 2.612 MB / 350 MB, free: 12.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.3013, allocations: 1.535 MB / 351.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/0.3013, allocations: 12 kB / 351.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005342/0.3067, allocations: 3.701 MB / 355.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.3068, allocations: 57.73 kB / 355.3 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-05/0.3069, allocations: 56 kB / 355.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-05/0.307, allocations: 87.98 kB / 355.5 MB, free: 6.738 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.3084, allocations: 0.5183 MB / 356 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.3085, allocations: 111.6 kB / 356.1 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.31, allocations: 301 kB / 356.4 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.3102, allocations: 180 kB / 356.6 MB, free: 5.637 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.001026/0.3112, allocations: 0.7615 MB / 357.3 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.3116, allocations: 107 kB / 357.4 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.3116, allocations: 21.16 kB / 357.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3116, allocations: 0 / 357.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.3116, allocations: 7.922 kB / 357.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3116, allocations: 0 / 357.4 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.3122, allocations: 0.5135 MB / 358 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3122, allocations: 0 / 358 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.3122, allocations: 0 / 358 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3123, allocations: 0 / 358 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.3123, allocations: 39.94 kB / 358 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3123, allocations: 0 / 358 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3123, allocations: 0 / 358 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/0.3348, allocations: 21.87 MB / 379.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.3351, allocations: 175.7 kB / 380 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3353, allocations: 43.98 kB / 380.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.3357, allocations: 31.95 kB / 380.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.3358, allocations: 31.98 kB / 380.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.26e-05/0.3359, allocations: 28 kB / 380.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.336, allocations: 132.3 kB / 380.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3361, allocations: 4.031 kB / 380.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002479/0.3385, allocations: 492 kB / 380.8 MB, free: 13.25 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.001014/0.3396, allocations: 348.2 kB / 381.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005408/0.345, allocations: 3.182 MB / 384.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.345, allocations: 5.938 kB / 384.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04812/0.3932, allocations: 52.36 MB / 436.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.3941, allocations: 68.19 kB / 436.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.3987, allocations: 2.276 MB / 439 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.3997, allocations: 0.9836 MB / 440 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006644/0.4004, allocations: 188.9 kB / 440.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.4006, allocations: 67.44 kB / 440.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4006, allocations: 0 / 440.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Templates: time 0.03157/0.4322, allocations: 12.77 MB / 453 MB, free: 4.902 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)