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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 97.02 kB / 16.3 MB, free: 5.562 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.001535/0.001535, allocations: 184.8 kB / 17.2 MB, free: 5.496 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.485/1.485, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0005399/0.00054, allocations: 20 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001473/0.1113, allocations: 1.012 MB / 328.7 MB, free: 3.086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.113, allocations: 0.9618 MB / 329.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.1131, allocations: 0 / 329.7 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.1135, allocations: 75.78 kB / 329.7 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1137, allocations: 95.8 kB / 329.8 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1143, allocations: 175.4 kB / 330 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1145, allocations: 135.8 kB / 330.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.1146, allocations: 0 / 330.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1147, allocations: 127.7 kB / 330.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.115, allocations: 143.7 kB / 330.4 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.115, allocations: 4 kB / 330.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1154, allocations: 191.7 kB / 330.6 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1156, allocations: 195.5 kB / 330.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1157, allocations: 109.3 kB / 330.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1161, allocations: 363.2 kB / 331.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1161, allocations: 4 kB / 331.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1161, allocations: 0 / 331.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1161, allocations: 0 / 331.2 MB, free: 0.5273 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.001029/0.1172, allocations: 0.983 MB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1172, allocations: 8.031 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.1173, allocations: 67.06 kB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1177, allocations: 258 kB / 332.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1177, allocations: 11.95 kB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1177, allocations: 12 kB / 332.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.1184, allocations: 0.8334 MB / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1185, allocations: 0 / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1185, allocations: 0 / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1185, allocations: 0 / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.1191, allocations: 0.7829 MB / 334.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1195, allocations: 380 kB / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.1209, allocations: 1.879 MB / 336.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1209, allocations: 3.953 kB / 336.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009936/0.1219, allocations: 1.072 MB / 337.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=225): time 1.573e-06/0.1219, allocations: 0 / 337.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=225): time 0.005525/0.1275, allocations: 4.676 MB / 342.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003681/0.1279, allocations: 404.4 kB / 342.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1281, allocations: 194.6 kB / 342.8 MB, free: 4.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.1283, allocations: 193.6 kB / 343 MB, free: 4.555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.1284, allocations: 99.91 kB / 343.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009548/0.1294, allocations: 0.9216 MB / 344 MB, free: 3.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.1296, allocations: 75.94 kB / 344.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003357/0.13, allocations: 470.6 kB / 344.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.1317, allocations: 1.018 MB / 345.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/0.1351, allocations: 2.604 MB / 348.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.1378, allocations: 1.524 MB / 349.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.837e-05/0.1379, allocations: 16 kB / 349.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.006771/0.1446, allocations: 3.704 MB / 353.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.1448, allocations: 61.62 kB / 353.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.145, allocations: 56.84 kB / 353.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.1451, allocations: 84 kB / 353.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.1468, allocations: 0.5261 MB / 354.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001365/0.147, allocations: 111.6 kB / 354.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.1486, allocations: 289.2 kB / 354.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.1489, allocations: 184 kB / 354.7 MB, free: 8.031 MB / 302.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.0009724/0.1499, allocations: 0.7575 MB / 355.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.1501, allocations: 122.9 kB / 355.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.1501, allocations: 17.14 kB / 355.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1501, allocations: 0 / 355.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.1501, allocations: 0 / 355.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1501, allocations: 0 / 355.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1507, allocations: 0.5097 MB / 356.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1507, allocations: 0 / 356.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.1507, allocations: 0 / 356.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1507, allocations: 0 / 356.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.1508, allocations: 43.94 kB / 356.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1508, allocations: 0 / 356.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1508, allocations: 4 kB / 356.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.1697, allocations: 21.86 MB / 378 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.1699, allocations: 183.6 kB / 378.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.1701, allocations: 43.98 kB / 378.2 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.1703, allocations: 35.95 kB / 378.3 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1705, allocations: 31.97 kB / 378.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.108e-05/0.1705, allocations: 36 kB / 378.3 MB, free: 264 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1707, allocations: 124.3 kB / 378.4 MB, free: 140 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1707, allocations: 0 / 378.4 MB, free: 140 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.2072/0.3778, allocations: 488.1 kB / 378.9 MB, free: 54.15 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.0008282/0.3787, allocations: 358.6 kB / 379.3 MB, free: 53.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005765/0.3845, allocations: 3.184 MB / 382.5 MB, free: 53.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3845, allocations: 0 / 382.5 MB, free: 53.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03087/0.4154, allocations: 52.37 MB / 434.8 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4158, allocations: 40.12 kB / 434.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.4184, allocations: 2.251 MB / 437.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4188, allocations: 0.9988 MB / 438.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.4191, allocations: 188.9 kB / 438.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4193, allocations: 67.44 kB / 438.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4193, allocations: 0 / 438.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of Templates: time 0.02024/0.4395, allocations: 12.76 MB / 451.1 MB, free: 8.465 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: