Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008838/0.0008838, allocations: 91.84 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.0009811/0.0009811, 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.854/1.854, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0005084/0.0005087, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.308, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.002465/0.3105, allocations: 1.028 MB / 327.5 MB, free: 0.5508 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.3139, allocations: 0.9722 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.314, allocations: 1.281 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.3148, allocations: 73.66 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.3151, allocations: 95.31 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.0009807/0.3161, allocations: 181.8 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.3165, allocations: 165.3 kB / 329 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.868e-05/0.3166, allocations: 7.016 kB / 329 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.317, allocations: 121.2 kB / 329.1 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.3175, allocations: 173.3 kB / 329.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.3176, allocations: 3.531 kB / 329.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007999/0.3184, allocations: 216.6 kB / 329.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.3188, allocations: 215.5 kB / 329.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.3191, allocations: 115.9 kB / 329.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009308/0.3201, allocations: 392.8 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3201, allocations: 1.062 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3201, allocations: 4 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.773e-05/0.3201, allocations: 0 / 330.2 MB, free: 14.93 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.002184/0.3224, allocations: 1.042 MB / 331.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3224, allocations: 9.156 kB / 331.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.3227, allocations: 72.69 kB / 331.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3233, allocations: 265 kB / 331.6 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.3233, allocations: 7.172 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3234, allocations: 11.44 kB / 331.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3249, allocations: 0.9127 MB / 332.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3249, allocations: 0 / 332.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3249, allocations: 7.984 kB / 332.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3249, allocations: 0 / 332.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3261, allocations: 0.8571 MB / 333.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3268, allocations: 395.9 kB / 333.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.3293, allocations: 2.164 MB / 335.9 MB, free: 9.867 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.3318, allocations: 2.149 MB / 338.1 MB, free: 7.715 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3318, allocations: 8 kB / 338.1 MB, free: 7.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.3334, allocations: 1.162 MB / 339.2 MB, free: 6.531 MB / 270.1 MB Notification: Performance of pre-optimization done (n=246): time 2.525e-06/0.3335, allocations: 0 / 339.2 MB, free: 6.531 MB / 270.1 MB Notification: Performance of matching and sorting (n=246): time 0.007621/0.3411, allocations: 5.075 MB / 344.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003681/0.3415, allocations: 424.5 kB / 344.7 MB, free: 1.004 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.3418, allocations: 198.5 kB / 344.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.3421, allocations: 197.6 kB / 345.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.3422, allocations: 116.2 kB / 345.2 MB, free: 484 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.3435, allocations: 0.9681 MB / 346.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3437, allocations: 80 kB / 346.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003722/0.3441, allocations: 487.4 kB / 346.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.3457, allocations: 1.093 MB / 347.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/0.3488, allocations: 2.832 MB / 350.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.3514, allocations: 1.645 MB / 352.3 MB, free: 8.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-05/0.3515, allocations: 20 kB / 352.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006505/0.358, allocations: 3.993 MB / 356.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.3581, allocations: 57.7 kB / 356.4 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.3582, allocations: 56.88 kB / 356.5 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.3584, allocations: 92 kB / 356.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.3601, allocations: 0.5728 MB / 357.1 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001587/0.3603, allocations: 119.6 kB / 357.2 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3618, allocations: 324.8 kB / 357.5 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.3621, allocations: 196 kB / 357.7 MB, free: 3.051 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.0009771/0.3631, allocations: 0.8488 MB / 358.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.3633, allocations: 122.9 kB / 358.7 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.3634, allocations: 17.88 kB / 358.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3634, allocations: 0 / 358.7 MB, free: 2.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3634, allocations: 3.984 kB / 358.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3634, allocations: 0 / 358.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.3641, allocations: 0.5446 MB / 359.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3641, allocations: 4 kB / 359.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.3641, allocations: 3.984 kB / 359.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.3641, allocations: 7.953 kB / 359.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.3642, allocations: 32 kB / 359.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3642, allocations: 0 / 359.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3642, allocations: 0 / 359.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/0.3835, allocations: 22.36 MB / 381.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.3839, allocations: 179.6 kB / 381.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.3841, allocations: 71.94 kB / 381.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.3844, allocations: 36 kB / 382 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3845, allocations: 27.98 kB / 382 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.3846, allocations: 43.98 kB / 382 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3847, allocations: 128.3 kB / 382.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3847, allocations: 0 / 382.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002202/0.3869, allocations: 0.5117 MB / 382.7 MB, free: 9.98 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.0009005/0.3878, allocations: 399.6 kB / 383.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.3925, allocations: 3.435 MB / 386.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3925, allocations: 0 / 386.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04311/0.4356, allocations: 59.47 MB / 446 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.4366, allocations: 72.19 kB / 446 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.4407, allocations: 2.422 MB / 448.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.4416, allocations: 0.9997 MB / 449.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006599/0.4423, allocations: 210 kB / 449.7 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.4426, allocations: 71.44 kB / 449.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4426, allocations: 0 / 449.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of Templates: time 0.1922/0.6348, allocations: 13.71 MB / 463.4 MB, free: 118.8 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile (rm -f Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; mkfifo Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe >> ../files/Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.sim & ./Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.FastFourierTransform.Examples.RealFFT1.pipe 2>&1)