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.001029/0.001029, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001051/0.001051, allocations: 177.3 kB / 15.94 MB, free: 228 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.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.0005479/0.0005479, allocations: 12 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 47.59 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001591/0.2873, allocations: 1.011 MB / 327.5 MB, free: 0.625 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.289, allocations: 0.9687 MB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.2891, allocations: 3.938 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.2897, allocations: 68.16 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2898, allocations: 98.59 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.2904, allocations: 168.3 kB / 328.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.2906, allocations: 137.6 kB / 328.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.2907, allocations: 1.406 kB / 328.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2909, allocations: 129 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2911, allocations: 140.9 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2912, allocations: 3.219 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.2915, allocations: 196.2 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.2917, allocations: 196.9 kB / 329.5 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2919, allocations: 105.7 kB / 329.6 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.2924, allocations: 361.3 kB / 330 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2924, allocations: 4 kB / 330 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2924, allocations: 1.219 kB / 330 MB, free: 15.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2924, allocations: 0 / 330 MB, free: 15.08 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.001161/0.2936, allocations: 0.9873 MB / 331 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.2936, allocations: 8.625 kB / 331 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.2938, allocations: 66.81 kB / 331.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.2942, allocations: 262.9 kB / 331.3 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2942, allocations: 12.02 kB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.2942, allocations: 11.28 kB / 331.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2954, allocations: 0.8295 MB / 332.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2954, allocations: 0 / 332.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2954, allocations: 1.125 kB / 332.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2954, allocations: 1.281 kB / 332.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.2962, allocations: 0.7899 MB / 333 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2966, allocations: 364.2 kB / 333.3 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.298, allocations: 1.883 MB / 335.2 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.298, allocations: 7.953 kB / 335.2 MB, free: 10.58 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009791/0.299, allocations: 1.072 MB / 336.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of pre-optimization done (n=225): time 1.593e-06/0.299, allocations: 0 / 336.3 MB, free: 9.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=225): time 0.004707/0.3037, allocations: 4.68 MB / 341 MB, free: 4.781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002468/0.304, allocations: 392.5 kB / 341.3 MB, free: 4.375 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3042, allocations: 198.5 kB / 341.5 MB, free: 4.168 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.3044, allocations: 185.6 kB / 341.7 MB, free: 3.98 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.3044, allocations: 116 kB / 341.8 MB, free: 3.863 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/0.3051, allocations: 0.9177 MB / 342.8 MB, free: 2.934 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.3052, allocations: 72 kB / 342.8 MB, free: 2.863 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3054, allocations: 462.7 kB / 343.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.3068, allocations: 1.026 MB / 344.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.3092, allocations: 2.608 MB / 346.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.3111, allocations: 1.527 MB / 348.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/0.3112, allocations: 16 kB / 348.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005019/0.3162, allocations: 3.701 MB / 352.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.3163, allocations: 53.7 kB / 352.2 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.521e-05/0.3163, allocations: 56 kB / 352.3 MB, free: 8.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.364e-05/0.3164, allocations: 84 kB / 352.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.3178, allocations: 0.5222 MB / 352.9 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.332e-05/0.3178, allocations: 111.6 kB / 353 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3191, allocations: 297.5 kB / 353.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.3193, allocations: 188 kB / 353.4 MB, free: 7.445 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.0008266/0.3201, allocations: 0.7614 MB / 354.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.3203, allocations: 111 kB / 354.3 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.3203, allocations: 17.16 kB / 354.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3203, allocations: 0 / 354.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3203, allocations: 0 / 354.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3203, allocations: 3.984 kB / 354.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.3209, allocations: 0.5096 MB / 354.8 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3209, allocations: 3.984 kB / 354.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.3209, allocations: 0 / 354.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3209, allocations: 4 kB / 354.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.321, allocations: 39.95 kB / 354.9 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.321, allocations: 0 / 354.9 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.321, allocations: 0 / 354.9 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/0.3396, allocations: 21.87 MB / 376.8 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.3399, allocations: 171.7 kB / 376.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.34, allocations: 47.97 kB / 377 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3402, allocations: 39.95 kB / 377 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3403, allocations: 31.97 kB / 377 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.3404, allocations: 35.98 kB / 377.1 MB, free: 15.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3405, allocations: 128.3 kB / 377.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3405, allocations: 0 / 377.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002265/0.3428, allocations: 488 kB / 377.7 MB, free: 15.07 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.0007559/0.3436, allocations: 351.7 kB / 378 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004402/0.348, allocations: 3.184 MB / 381.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.348, allocations: 4 kB / 381.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03707/0.3851, allocations: 52.37 MB / 433.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.3856, allocations: 32.19 kB / 433.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3884, allocations: 2.252 MB / 435.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.3889, allocations: 0.9913 MB / 436.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.3893, allocations: 192.9 kB / 437 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3895, allocations: 67.44 kB / 437.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3895, allocations: 3.938 kB / 437.1 MB, free: 3.539 MB / 366.1 MB Notification: Performance of Templates: time 0.02024/0.4097, allocations: 12.75 MB / 449.9 MB, free: 6.762 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: