Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002538/0.002537, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.902/2.902, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001796/0.001796, allocations: 85.61 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006337, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5218, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT1): time 0.002568/0.5245, allocations: 1.014 MB / 375.5 MB, free: 44.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.5278, allocations: 0.9775 MB / 376.5 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.528, allocations: 0 / 376.5 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.5288, allocations: 74.11 kB / 376.6 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.5292, allocations: 98.62 kB / 376.7 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.5304, allocations: 160.4 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.5309, allocations: 133.8 kB / 377 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.531, allocations: 10.2 kB / 377 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003916/0.5314, allocations: 128.2 kB / 377.1 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.532, allocations: 133 kB / 377.2 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.5321, allocations: 3.25 kB / 377.2 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009476/0.533, allocations: 197.3 kB / 377.4 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.5334, allocations: 217.4 kB / 377.6 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.5337, allocations: 116.3 kB / 377.8 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.5349, allocations: 377.1 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.535, allocations: 0 / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.535, allocations: 0.9688 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.535, allocations: 0 / 378.1 MB, free: 43.05 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002173/0.5372, allocations: 1.042 MB / 379.2 MB, free: 42.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.193e-05/0.5373, allocations: 9.594 kB / 379.2 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.5377, allocations: 80.5 kB / 379.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.5383, allocations: 265.4 kB / 379.5 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.5383, allocations: 16.11 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.5384, allocations: 7.75 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.5403, allocations: 0.9123 MB / 380.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5404, allocations: 0 / 380.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.5405, allocations: 1.219 kB / 380.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.5405, allocations: 3.938 kB / 380.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.5422, allocations: 0.8535 MB / 381.3 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.5432, allocations: 394.4 kB / 381.7 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.5467, allocations: 2.167 MB / 383.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5468, allocations: 0 / 383.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/0.5487, allocations: 1.168 MB / 385 MB, free: 38.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 5.53e-06/0.5488, allocations: 0 / 385 MB, free: 38.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=246): time 0.01231/0.5612, allocations: 5.25 MB / 390.3 MB, free: 32.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004519/0.5617, allocations: 432.5 kB / 390.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.5621, allocations: 198.5 kB / 390.9 MB, free: 32.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004837/0.5626, allocations: 201.6 kB / 391.1 MB, free: 32.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5627, allocations: 174.6 kB / 391.3 MB, free: 31.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.5645, allocations: 0.9718 MB / 392.2 MB, free: 30.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.565, allocations: 83.94 kB / 392.3 MB, free: 30.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003817/0.5654, allocations: 479.4 kB / 392.8 MB, free: 30.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/0.5695, allocations: 1.097 MB / 393.9 MB, free: 29.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006206/0.5758, allocations: 2.813 MB / 396.7 MB, free: 25.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005752/0.5816, allocations: 1.648 MB / 398.3 MB, free: 23.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.5818, allocations: 16 kB / 398.4 MB, free: 23.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01504/0.5969, allocations: 3.993 MB / 402.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.5971, allocations: 66.69 kB / 402.4 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/0.5973, allocations: 56 kB / 402.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.5975, allocations: 96 kB / 402.6 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.602, allocations: 0.5573 MB / 403.1 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/0.6023, allocations: 123.5 kB / 403.2 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004138/0.6065, allocations: 316.9 kB / 403.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009951/0.6076, allocations: 196 kB / 403.7 MB, free: 18.45 MB / 298.7 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.002563/0.6102, allocations: 0.8488 MB / 404.6 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/0.6107, allocations: 122.9 kB / 404.7 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.6107, allocations: 17.88 kB / 404.7 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.6107, allocations: 0 / 404.7 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6108, allocations: 0 / 404.7 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6108, allocations: 0 / 404.7 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6118, allocations: 0.5524 MB / 405.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6119, allocations: 0 / 405.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-06/0.6119, allocations: 0 / 405.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6119, allocations: 4 kB / 405.3 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.6121, allocations: 43.94 kB / 405.3 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6121, allocations: 0 / 405.3 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6121, allocations: 0 / 405.3 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03906/0.6512, allocations: 22.35 MB / 427.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.6518, allocations: 183.6 kB / 427.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/0.6524, allocations: 71.89 kB / 427.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.6532, allocations: 43.89 kB / 428 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.6536, allocations: 27.98 kB / 428 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/0.6538, allocations: 44 kB / 428 MB, free: 10.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002868/0.6541, allocations: 128.3 kB / 428.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.239e-06/0.6541, allocations: 0 / 428.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.006133/0.6603, allocations: 0.5155 MB / 428.7 MB, free: 9.375 MB / 314.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: 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.00322/0.6636, allocations: 399.1 kB / 429.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01228/0.6759, allocations: 3.442 MB / 432.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.676, allocations: 0 / 432.5 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1014/0.7774, allocations: 59.47 MB / 492 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.7783, allocations: 36.19 kB / 492 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008797/0.7871, allocations: 2.44 MB / 494.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.7887, allocations: 1.016 MB / 495.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.7893, allocations: 75.44 kB / 495.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7894, allocations: 3.938 kB / 495.6 MB, free: 6.441 MB / 378.7 MB [CodegenCppCommonOld.tpl:1596:11-1596:11:writable] Error: Template error: ASUB_EASY_CASE 1:nfi.