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.00158/0.00158, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001938/0.001938, allocations: 186.7 kB / 17.2 MB, free: 5.91 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.54/1.54, allocations: 205.4 MB / 223.4 MB, free: 5.508 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.0004453/0.0004454, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 47.58 MB / 327.7 MB, free: 1.637 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.001445/0.2622, allocations: 1.016 MB / 328.7 MB, free: 0.8164 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2637, allocations: 0.9711 MB / 329.7 MB, free: 92 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.2638, allocations: 0.9688 kB / 329.7 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.2643, allocations: 85.09 kB / 329.8 MB, free: 36 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.2645, allocations: 87.52 kB / 329.8 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.265, allocations: 175.6 kB / 330 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2653, allocations: 130.5 kB / 330.1 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.2653, allocations: 2.125 kB / 330.1 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2655, allocations: 128.4 kB / 330.3 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2657, allocations: 144.9 kB / 330.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2658, allocations: 2.594 kB / 330.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.2662, allocations: 192.9 kB / 330.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2664, allocations: 213.6 kB / 330.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2665, allocations: 109.5 kB / 330.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.2669, allocations: 385 kB / 331.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2669, allocations: 3.938 kB / 331.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.267, allocations: 1.312 kB / 331.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.267, allocations: 0 / 331.3 MB, free: 15.24 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.001175/0.2681, allocations: 1.05 MB / 332.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2682, allocations: 9 kB / 332.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2683, allocations: 72.28 kB / 332.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2687, allocations: 268.6 kB / 332.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2687, allocations: 8.891 kB / 332.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.2688, allocations: 10.47 kB / 332.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2698, allocations: 0.9113 MB / 333.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2698, allocations: 0 / 333.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2698, allocations: 0 / 333.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2698, allocations: 0 / 333.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007134/0.2706, allocations: 0.8571 MB / 334.5 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.2709, allocations: 396 kB / 334.9 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.2725, allocations: 2.164 MB / 337 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2725, allocations: 0 / 337 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.2736, allocations: 1.162 MB / 338.2 MB, free: 8.977 MB / 270.1 MB Notification: Performance of pre-optimization done (n=246): time 1.523e-06/0.2736, allocations: 4 kB / 338.2 MB, free: 8.973 MB / 270.1 MB Notification: Performance of matching and sorting (n=246): time 0.005562/0.2792, allocations: 5.258 MB / 343.5 MB, free: 3.688 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002797/0.2795, allocations: 428.5 kB / 343.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2797, allocations: 198.5 kB / 344.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.2799, allocations: 201.6 kB / 344.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.28, allocations: 104.2 kB / 344.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008911/0.2809, allocations: 0.9757 MB / 345.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2811, allocations: 80 kB / 345.4 MB, free: 1.656 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003131/0.2814, allocations: 479.4 kB / 345.9 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.2829, allocations: 1.101 MB / 347 MB, free: 68 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.2857, allocations: 2.813 MB / 349.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.288, allocations: 1.648 MB / 351.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-05/0.288, allocations: 16 kB / 351.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005858/0.2939, allocations: 3.998 MB / 355.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.294, allocations: 57.7 kB / 355.5 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/0.2941, allocations: 60 kB / 355.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.2942, allocations: 88 kB / 355.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.2956, allocations: 0.5728 MB / 356.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.423e-05/0.2957, allocations: 119.6 kB / 356.4 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.2971, allocations: 320.8 kB / 356.7 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.2973, allocations: 192 kB / 356.9 MB, free: 5.316 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.0009711/0.2983, allocations: 0.8529 MB / 357.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.2985, allocations: 122.9 kB / 357.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2986, allocations: 17.94 kB / 357.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2986, allocations: 7.938 kB / 357.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2986, allocations: 0 / 357.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2986, allocations: 0 / 357.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.2992, allocations: 0.5446 MB / 358.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2992, allocations: 0 / 358.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.2992, allocations: 0 / 358.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2992, allocations: 0 / 358.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.2993, allocations: 47.94 kB / 358.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2993, allocations: 0 / 358.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2993, allocations: 4 kB / 358.5 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/0.3187, allocations: 22.35 MB / 380.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.319, allocations: 183.5 kB / 381 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.3192, allocations: 71.95 kB / 381.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3194, allocations: 35.95 kB / 381.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3196, allocations: 31.92 kB / 381.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.3197, allocations: 40 kB / 381.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.3198, allocations: 128.3 kB / 381.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3198, allocations: 4.031 kB / 381.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002699/0.3225, allocations: 0.5156 MB / 381.8 MB, free: 12.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: 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.0009256/0.3235, allocations: 395.6 kB / 382.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00495/0.3284, allocations: 3.435 MB / 385.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.3285, allocations: 0 / 385.6 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04256/0.371, allocations: 59.46 MB / 445.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.3715, allocations: 40.69 kB / 445.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.3748, allocations: 2.386 MB / 447.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.3753, allocations: 1.019 MB / 448.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003961/0.3757, allocations: 210 kB / 448.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3759, allocations: 75.44 kB / 448.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3759, allocations: 3.938 kB / 448.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of Templates: time 0.1967/0.5726, allocations: 13.69 MB / 462.5 MB, free: 118.8 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: