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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001146/0.001146, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.491/1.491, allocations: 194.2 MB / 208.4 MB, free: 6.711 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.001786/0.001786, allocations: 124.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.247e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09456, allocations: 44.49 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/0.3964, allocations: 72.77 MB / 422.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.3966, allocations: 71.39 kB / 422.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03183/0.4284, allocations: 13.2 MB / 435.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4285, allocations: 0 / 435.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4285, allocations: 15.62 kB / 435.5 MB, free: 6.98 MB / 298.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.0007626/0.4293, allocations: 0.9628 MB / 436.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4293, allocations: 11.62 kB / 436.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.4294, allocations: 73.19 kB / 436.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008183/0.4376, allocations: 3.703 MB / 440.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4376, allocations: 6.969 kB / 440.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.4377, allocations: 10.94 kB / 440.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.4383, allocations: 0.7845 MB / 441 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4384, allocations: 4 kB / 441 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4384, allocations: 0 / 441 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4384, allocations: 3.984 kB / 441 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.4389, allocations: 0.7069 MB / 441.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.4393, allocations: 405.4 kB / 442.1 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.4402, allocations: 1.806 MB / 444 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.4412, allocations: 1.793 MB / 445.7 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.4412, allocations: 4 kB / 445.8 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/0.4419, allocations: 1.028 MB / 446.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 1.794e-06/0.4419, allocations: 0 / 446.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.004763/0.4466, allocations: 2.037 MB / 448.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.4469, allocations: 403 kB / 449.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.4471, allocations: 171.5 kB / 449.4 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.4473, allocations: 182.3 kB / 449.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4474, allocations: 114.9 kB / 449.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/0.448, allocations: 0.9179 MB / 450.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.4481, allocations: 75.75 kB / 450.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.4484, allocations: 466.8 kB / 451.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.4498, allocations: 0.9892 MB / 452.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.4524, allocations: 2.584 MB / 454.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.4546, allocations: 1.519 MB / 456.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.4546, allocations: 16 kB / 456.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005535/0.4601, allocations: 3.646 MB / 459.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.4603, allocations: 65.64 kB / 459.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.789e-05/0.4603, allocations: 52 kB / 460 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.772e-05/0.4604, allocations: 84 kB / 460.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4617, allocations: 0.5183 MB / 460.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001033/0.4618, allocations: 111.6 kB / 460.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4632, allocations: 301 kB / 461 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.4634, allocations: 184 kB / 461.2 MB, free: 4.766 MB / 314.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.0007452/0.4642, allocations: 0.6554 MB / 461.8 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4644, allocations: 107.1 kB / 461.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.4644, allocations: 17.14 kB / 461.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4644, allocations: 0 / 461.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4644, allocations: 0 / 461.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4644, allocations: 0 / 461.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.4649, allocations: 0.5326 MB / 462.5 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.465, allocations: 3.953 kB / 462.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.465, allocations: 0 / 462.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.465, allocations: 0 / 462.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.4651, allocations: 47.98 kB / 462.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4651, allocations: 4 kB / 462.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4651, allocations: 0 / 462.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/0.4862, allocations: 21.74 MB / 484.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.4865, allocations: 179.5 kB / 484.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4866, allocations: 51.97 kB / 484.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.4868, allocations: 28 kB / 484.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.487, allocations: 27.98 kB / 484.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4871, allocations: 64 kB / 484.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4872, allocations: 128.3 kB / 484.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.4872, allocations: 0 / 484.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002122/0.4894, allocations: 0.4921 MB / 485.2 MB, free: 12.57 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.0007568/0.4902, allocations: 355.2 kB / 485.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.4943, allocations: 3.145 MB / 488.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4943, allocations: 0 / 488.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03571/0.53, allocations: 52.36 MB / 0.5284 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.5304, allocations: 36.19 kB / 0.5284 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5327, allocations: 1.822 MB / 0.5302 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.5332, allocations: 0.9991 MB / 0.5312 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.5336, allocations: 188.9 kB / 0.5314 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.5337, allocations: 75.42 kB / 0.5314 GB, free: 1.566 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5337, allocations: 0 / 0.5314 GB, free: 1.566 MB / 394.7 MB Notification: Performance of Templates: time 0.0211/0.5548, allocations: 12.79 MB / 0.5439 GB, free: 4.785 MB / 410.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)