Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001027/0.001027, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001241/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 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.784/1.784, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0008057/0.0008057, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3453, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001538/0.3469, allocations: 1.016 MB / 327.5 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3486, allocations: 0.9719 MB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.3487, allocations: 3.938 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.3493, allocations: 85.22 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3495, allocations: 91.58 kB / 328.6 MB, free: 15.72 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.0006667/0.3502, allocations: 181.4 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.3505, allocations: 157.7 kB / 329 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3505, allocations: 2.469 kB / 329 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.3508, allocations: 132.6 kB / 329.1 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.3511, allocations: 165.3 kB / 329.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3511, allocations: 7.531 kB / 329.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.3516, allocations: 209.6 kB / 329.5 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.3518, allocations: 205.8 kB / 329.7 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.3521, allocations: 105.2 kB / 329.8 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.3526, allocations: 374.7 kB / 330.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3526, allocations: 4.938 kB / 330.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3526, allocations: 0 / 330.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.3526, allocations: 0 / 330.2 MB, free: 14.96 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.001249/0.3539, allocations: 0.9834 MB / 331.1 MB, free: 14.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3539, allocations: 13.53 kB / 331.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3541, allocations: 66.53 kB / 331.2 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.3545, allocations: 255.6 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3545, allocations: 12.17 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3545, allocations: 7 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.3555, allocations: 0.8374 MB / 332.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3555, allocations: 0 / 332.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3555, allocations: 1.094 kB / 332.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3556, allocations: 1 kB / 332.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009077/0.3565, allocations: 0.7863 MB / 333.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3569, allocations: 368.2 kB / 333.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3583, allocations: 1.879 MB / 335.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.3599, allocations: 1.879 MB / 337.2 MB, free: 8.574 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.36, allocations: 4 kB / 337.2 MB, free: 8.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.3611, allocations: 1.072 MB / 338.3 MB, free: 7.484 MB / 270.1 MB Notification: Performance of pre-optimization done (n=225): time 1.473e-06/0.3611, allocations: 4 kB / 338.3 MB, free: 7.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=225): time 0.005145/0.3663, allocations: 4.501 MB / 342.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003956/0.3667, allocations: 400.5 kB / 343.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3669, allocations: 198.4 kB / 343.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.3672, allocations: 189.6 kB / 343.6 MB, free: 2.152 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3673, allocations: 107.9 kB / 343.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/0.3687, allocations: 0.9216 MB / 344.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.3689, allocations: 72 kB / 344.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0004283/0.3693, allocations: 470.7 kB / 345.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.3715, allocations: 1.022 MB / 346.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.3745, allocations: 2.612 MB / 348.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.377, allocations: 1.524 MB / 350.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.059e-05/0.377, allocations: 16 kB / 350.3 MB, free: 10.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.006471/0.3835, allocations: 3.701 MB / 354 MB, free: 6.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/0.3836, allocations: 57.73 kB / 354.1 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.3837, allocations: 52 kB / 354.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.3839, allocations: 87.94 kB / 354.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.3854, allocations: 0.5261 MB / 354.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001358/0.3856, allocations: 107.6 kB / 354.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3869, allocations: 301 kB / 355.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.3871, allocations: 176 kB / 355.3 MB, free: 5.625 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.0009233/0.3881, allocations: 0.7653 MB / 356.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3883, allocations: 111 kB / 356.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.3883, allocations: 17.16 kB / 356.2 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3883, allocations: 4 kB / 356.2 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3883, allocations: 3.938 kB / 356.2 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3883, allocations: 0 / 356.2 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.3889, allocations: 0.5135 MB / 356.7 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.389, allocations: 0 / 356.7 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.389, allocations: 0 / 356.7 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.389, allocations: 0 / 356.7 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.389, allocations: 39.95 kB / 356.7 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3891, allocations: 3.984 kB / 356.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3891, allocations: 0 / 356.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/0.4083, allocations: 21.86 MB / 378.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.4085, allocations: 171.7 kB / 378.8 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.4087, allocations: 59.95 kB / 378.8 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.409, allocations: 31.95 kB / 378.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4091, allocations: 27.98 kB / 378.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.4092, allocations: 43.92 kB / 378.9 MB, free: 13.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4093, allocations: 128.3 kB / 379.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4093, allocations: 8.031 kB / 379.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002065/0.4114, allocations: 484 kB / 379.5 MB, free: 13.23 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.0007937/0.4122, allocations: 339.9 kB / 379.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.4167, allocations: 3.176 MB / 383.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4167, allocations: 7.875 kB / 383.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03665/0.4534, allocations: 52.37 MB / 435.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.4541, allocations: 64.19 kB / 435.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.4574, allocations: 2.28 MB / 437.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.458, allocations: 0.9797 MB / 438.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.4585, allocations: 192.9 kB / 438.9 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.4587, allocations: 67.44 kB / 439 MB, free: 1.668 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4587, allocations: 0 / 439 MB, free: 1.668 MB / 366.1 MB Notification: Performance of Templates: time 0.02196/0.4807, allocations: 12.76 MB / 451.8 MB, free: 4.895 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile (rm -f Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; mkfifo Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe >> ../files/Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.sim & ./Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.pipe 2>&1)