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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.6 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.096/1.096, allocations: 194.2 MB / 202.8 MB, free: 8.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 121.9 kB / 247.7 MB, free: 6.238 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.674e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06919/0.06922, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.2587, allocations: 72.03 MB / 414.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.2589, allocations: 68.52 kB / 414.1 MB, free: 23.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0345/0.2934, allocations: 12.76 MB / 426.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.2935, allocations: 15.94 kB / 426.9 MB, free: 12.62 MB / 314.7 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.0008162/0.2943, allocations: 0.9609 MB / 427.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2944, allocations: 8.031 kB / 427.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.2945, allocations: 74.97 kB / 428 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.3052, allocations: 3.671 MB / 431.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3053, allocations: 4 kB / 431.6 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.3053, allocations: 4 kB / 431.6 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005909/0.3059, allocations: 0.7177 MB / 432.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.3065, allocations: 0.7961 MB / 433.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3065, allocations: 0 / 433.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.3066, allocations: 0 / 433.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3066, allocations: 4 kB / 433.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.3068, allocations: 284.3 kB / 433.4 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.3077, allocations: 1.82 MB / 435.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.3086, allocations: 1.804 MB / 437.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.3086, allocations: 4 kB / 437.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006638/0.3093, allocations: 1.03 MB / 438.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 1.623e-06/0.3093, allocations: 0 / 438.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.004184/0.3135, allocations: 6.316 MB / 444.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002657/0.3138, allocations: 403.2 kB / 444.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3139, allocations: 172 kB / 445 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.3142, allocations: 160.6 kB / 445.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.3143, allocations: 101.4 kB / 445.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007443/0.315, allocations: 0.906 MB / 446.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3151, allocations: 0 / 446.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3154, allocations: 464.6 kB / 446.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3168, allocations: 0.9895 MB / 447.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.3193, allocations: 2.551 MB / 450.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3214, allocations: 1.498 MB / 451.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.076e-05/0.3214, allocations: 16 kB / 451.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005048/0.3265, allocations: 3.294 MB / 454.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3265, allocations: 7.938 kB / 454.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/0.3266, allocations: 56.16 kB / 455 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.3267, allocations: 91.89 kB / 455.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.3282, allocations: 0.5227 MB / 455.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.119e-05/0.3283, allocations: 111.6 kB / 455.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3296, allocations: 221.1 kB / 455.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.3298, allocations: 186.6 kB / 456.1 MB, free: 3.953 MB / 330.7 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 () * 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.0006764/0.3305, allocations: 0.5784 MB / 456.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3306, allocations: 107.1 kB / 456.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.3307, allocations: 13.16 kB / 456.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3307, allocations: 12.73 kB / 456.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3307, allocations: 0 / 456.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3307, allocations: 0 / 456.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.3312, allocations: 434.3 kB / 457.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3312, allocations: 0 / 457.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.3312, allocations: 2 kB / 457.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3312, allocations: 0 / 457.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.739e-05/0.3313, allocations: 44 kB / 457.3 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3313, allocations: 3.984 kB / 457.3 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3313, allocations: 0 / 457.3 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007235/0.3386, allocations: 7.567 MB / 464.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.3388, allocations: 175.7 kB / 465 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.339, allocations: 47.98 kB / 465.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3393, allocations: 28 kB / 465.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3394, allocations: 35.89 kB / 465.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.3395, allocations: 60 kB / 465.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.3396, allocations: 129.1 kB / 465.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001954/0.3416, allocations: 426.5 kB / 465.8 MB, free: 10.23 MB / 346.7 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) * 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.0007583/0.3424, allocations: 331 kB / 466.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.3464, allocations: 3.06 MB / 469.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3464, allocations: 0 / 469.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03986/0.3863, allocations: 53.51 MB / 0.5104 GB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3867, allocations: 28.19 kB / 0.5104 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09163/0.4784, allocations: 1.875 MB / 0.5123 GB, free: 174.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.4789, allocations: 1.061 MB / 0.5133 GB, free: 173.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4789, allocations: 3.938 kB / 0.5133 GB, free: 173.9 MB / 394.7 MB Notification: Performance of Templates: time 0.01967/0.4986, allocations: 12.83 MB / 0.5258 GB, free: 172.5 MB / 394.7 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)