Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [: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.001667/0.001667, allocations: 194 kB / 8.136 MB, free: 2.184 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.184/1.184, allocations: 194.2 MB / 202.8 MB, free: 8.637 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.001802/0.001802, allocations: 118.1 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.385e-06, allocations: 3.938 kB / 297.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07575/0.07578, allocations: 44.48 MB / 342 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.2768, allocations: 71.93 MB / 414 MB, free: 23.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.277, allocations: 65.59 kB / 414 MB, free: 23.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01065/0.2877, allocations: 3.356 MB / 417.4 MB, free: 20.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2878, allocations: 4 kB / 417.4 MB, free: 20.49 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002056/0.2898, allocations: 0.6384 MB / 418 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2899, allocations: 8.031 kB / 418 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.29, allocations: 19.8 kB / 418 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2901, allocations: 184.4 kB / 418.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2902, allocations: 4 kB / 418.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.2902, allocations: 8 kB / 418.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003357/0.2905, allocations: 170.5 kB / 418.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.2908, allocations: 154.1 kB / 418.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2908, allocations: 3.75 kB / 418.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.2908, allocations: 0 / 418.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2908, allocations: 0 / 418.6 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.2917, allocations: 0.5126 MB / 419.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.292, allocations: 151.1 kB / 419.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.2921, allocations: 86.28 kB / 419.3 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.2921, allocations: 3.984 kB / 419.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.2921, allocations: 40.75 kB / 419.4 MB, free: 18.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.2922, allocations: 0 / 419.4 MB, free: 18.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003585/0.2925, allocations: 181.7 kB / 419.5 MB, free: 18.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2926, allocations: 59.39 kB / 419.6 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2927, allocations: 138.8 kB / 419.7 MB, free: 18.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2927, allocations: 25.7 kB / 419.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.2927, allocations: 105.3 kB / 419.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2928, allocations: 57.56 kB / 419.9 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.2928, allocations: 0 / 419.9 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.2929, allocations: 326.6 kB / 420.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.293, allocations: 54.48 kB / 420.3 MB, free: 17.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2931, allocations: 87.5 kB / 420.4 MB, free: 17.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2932, allocations: 71.89 kB / 420.4 MB, free: 17.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2932, allocations: 0 / 420.4 MB, free: 17.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002897/0.2935, allocations: 204.1 kB / 420.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2935, allocations: 4 kB / 420.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2935, allocations: 0 / 420.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2935, allocations: 4 kB / 420.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2938, allocations: 38.72 kB / 420.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2938, allocations: 0 / 420.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.294, allocations: 19.98 kB / 420.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.294, allocations: 7.984 kB / 420.7 MB, free: 17.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.774e-05/0.2941, allocations: 116.6 kB / 420.8 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2941, allocations: 11.81 kB / 420.8 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00043/0.2946, allocations: 230.4 kB / 421.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.2946, allocations: 4 kB / 421.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2946, allocations: 0 / 421.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2946, allocations: 5.906 kB / 421.1 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2948, allocations: 241.3 kB / 421.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2948, allocations: 0 / 421.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2951, allocations: 46.53 kB / 421.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2951, allocations: 0 / 421.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2951, allocations: 11 kB / 421.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2951, allocations: 3.984 kB / 421.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2951, allocations: 0 / 421.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003015/0.2955, allocations: 304 kB / 421.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.2955, allocations: 92.86 kB / 421.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.2955, allocations: 3.938 kB / 421.8 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2957, allocations: 15.98 kB / 421.8 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.2958, allocations: 7.984 kB / 421.8 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2958, allocations: 15.11 kB / 421.8 MB, free: 16.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.469e-05/0.2959, allocations: 111.1 kB / 421.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.2962, allocations: 27.91 kB / 421.9 MB, free: 16.3 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001377/0.2963, allocations: 119.1 kB / 422 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.2966, allocations: 156.1 kB / 422.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2966, allocations: 0 / 422.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.2967, allocations: 93.53 kB / 422.3 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2969, allocations: 8.312 kB / 422.3 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.2975, allocations: 233.8 kB / 422.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.2977, allocations: 0.7622 MB / 423.3 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2977, allocations: 0 / 423.3 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.004413/0.3021, allocations: 1.93 MB / 425.2 MB, free: 13.11 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)