Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002077/0.002077, allocations: 199.1 kB / 16.14 MB, free: 6.66 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.652/1.652, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.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.001187/0.001187, allocations: 47.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2648, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002562/0.2674, allocations: 1.643 MB / 326.3 MB, free: 0.6562 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2685, allocations: 0.6794 MB / 327 MB, free: 128 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.2686, allocations: 0 / 327 MB, free: 128 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2688, allocations: 38.14 kB / 327 MB, free: 108 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.269, allocations: 32.84 kB / 327.1 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2702, allocations: 0.5927 MB / 327.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.2704, allocations: 94.48 kB / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2705, allocations: 27.62 kB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2706, allocations: 54.97 kB / 327.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2708, allocations: 82.25 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.2708, allocations: 7.844 kB / 327.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.271, allocations: 139.5 kB / 328.1 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.2711, allocations: 30.19 kB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.2712, allocations: 55 kB / 328.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.2715, allocations: 222.6 kB / 328.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2715, allocations: 1.188 kB / 328.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2716, allocations: 0 / 328.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2716, allocations: 0 / 328.4 MB, free: 15.21 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001539/0.2731, allocations: 0.5623 MB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2732, allocations: 9.969 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2746, allocations: 175.2 kB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2748, allocations: 195.4 kB / 329.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2748, allocations: 11.61 kB / 329.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2748, allocations: 7.312 kB / 329.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.2753, allocations: 183.2 kB / 329.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2753, allocations: 1.469 kB / 329.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2753, allocations: 4 kB / 329.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.2754, allocations: 13.17 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2758, allocations: 164.3 kB / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2768, allocations: 0.5412 MB / 330.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.2773, allocations: 180.9 kB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.2775, allocations: 99.89 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.2776, allocations: 9.938 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2776, allocations: 39.62 kB / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.2776, allocations: 0 / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007809/0.2784, allocations: 277.9 kB / 330.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2785, allocations: 64.55 kB / 330.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.2787, allocations: 184.1 kB / 331 MB, free: 13.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.2787, allocations: 30.73 kB / 331.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.2788, allocations: 110.4 kB / 331.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.2788, allocations: 48.58 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.2789, allocations: 37.73 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.279, allocations: 322.8 kB / 331.6 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2793, allocations: 79.38 kB / 331.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2795, allocations: 104.3 kB / 331.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.2799, allocations: 189.4 kB / 331.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2799, allocations: 1.5 kB / 331.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005261/0.2805, allocations: 227 kB / 332.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.2805, allocations: 5.156 kB / 332.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2805, allocations: 9.906 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2805, allocations: 0.75 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2808, allocations: 37.12 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2808, allocations: 5.047 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.281, allocations: 18.94 kB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.281, allocations: 8.734 kB / 332.2 MB, free: 12.19 MB / 270.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.2811, allocations: 128.2 kB / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.2812, allocations: 13.62 kB / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.2818, allocations: 278.4 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2819, allocations: 2.219 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2819, allocations: 0 / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2819, allocations: 5.234 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.2822, allocations: 283.1 kB / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2822, allocations: 0 / 332.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2824, allocations: 43.91 kB / 333 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2825, allocations: 0 / 333 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.2825, allocations: 11.92 kB / 333 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2825, allocations: 7.938 kB / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2825, allocations: 0 / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.283, allocations: 327.2 kB / 333.3 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.2831, allocations: 92.86 kB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2831, allocations: 23.92 kB / 333.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2833, allocations: 8 kB / 333.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.2834, allocations: 15.97 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2834, allocations: 4 kB / 333.5 MB, free: 11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2835, allocations: 135.9 kB / 333.6 MB, free: 10.87 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2835, allocations: 0 / 333.6 MB, free: 10.87 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.2838, allocations: 28 kB / 333.6 MB, free: 10.84 MB / 270.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.284, allocations: 111.2 kB / 333.7 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.2845, allocations: 179.8 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2845, allocations: 0 / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.2847, allocations: 111.8 kB / 334 MB, free: 10.44 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2851, allocations: 20.19 kB / 334 MB, free: 10.42 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.2857, allocations: 381.5 kB / 334.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.286, allocations: 0.7205 MB / 335.1 MB, free: 9.273 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.2861, allocations: 33.41 kB / 335.2 MB, free: 9.238 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.2862, allocations: 27.42 kB / 335.2 MB, free: 9.215 MB / 270.1 MB Notification: Performance of SimCode: time 1.683e-06/0.2862, allocations: 0 / 335.2 MB, free: 9.215 MB / 270.1 MB Notification: Performance of Templates: time 0.005045/0.2913, allocations: 1.945 MB / 337.1 MB, free: 7.27 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)