Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009807/0.000981, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001094/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004543/0.0004544, allocations: 10.66 kB / 278.9 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2807, allocations: 47.59 MB / 326.5 MB, free: 1.586 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002345/0.2831, allocations: 1.275 MB / 327.7 MB, free: 0.5781 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2844, allocations: 0.6494 MB / 328.4 MB, free: 68 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.2845, allocations: 2.531 kB / 328.4 MB, free: 68 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.2848, allocations: 28.7 kB / 328.4 MB, free: 52 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.2849, allocations: 26.62 kB / 328.4 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2863, allocations: 0.4895 MB / 328.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2865, allocations: 95.98 kB / 329 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2867, allocations: 23.77 kB / 329.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.2869, allocations: 48.81 kB / 329.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.2871, allocations: 79.16 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.2871, allocations: 4.688 kB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.2875, allocations: 134.5 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.2876, allocations: 25.22 kB / 329.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.2876, allocations: 41.61 kB / 329.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.288, allocations: 157.5 kB / 329.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.288, allocations: 0 / 329.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.288, allocations: 4 kB / 329.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.288, allocations: 1.438 kB / 329.5 MB, free: 15.28 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.001832/0.2899, allocations: 0.5313 MB / 330.1 MB, free: 14.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.2899, allocations: 9 kB / 330.1 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.2918, allocations: 171.1 kB / 330.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.292, allocations: 193.5 kB / 330.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2921, allocations: 8.281 kB / 330.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2921, allocations: 10.81 kB / 330.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.2927, allocations: 182.9 kB / 330.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2927, allocations: 0 / 330.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.2927, allocations: 4.969 kB / 330.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.2928, allocations: 10.23 kB / 330.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.2934, allocations: 175.8 kB / 330.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2947, allocations: 0.5547 MB / 331.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.2953, allocations: 192.1 kB / 331.6 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.2956, allocations: 100.6 kB / 331.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2957, allocations: 8.906 kB / 331.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2957, allocations: 35.75 kB / 331.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2957, allocations: 0.9062 kB / 331.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001018/0.2967, allocations: 290.3 kB / 332 MB, free: 13.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2968, allocations: 53.41 kB / 332 MB, free: 13.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.2971, allocations: 183.8 kB / 332.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2971, allocations: 25.7 kB / 332.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2973, allocations: 117.9 kB / 332.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.2973, allocations: 50.39 kB / 332.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.2974, allocations: 4 kB / 332.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.2976, allocations: 327.2 kB / 332.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.2979, allocations: 79.16 kB / 332.8 MB, free: 12.68 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.2982, allocations: 104.7 kB / 332.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.2986, allocations: 89.45 kB / 333 MB, free: 12.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2986, allocations: 1.188 kB / 333 MB, free: 12.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006904/0.2993, allocations: 243.2 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2993, allocations: 4.906 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.2993, allocations: 1.219 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2994, allocations: 10.16 kB / 333.2 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2997, allocations: 34.94 kB / 333.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.2997, allocations: 2.094 kB / 333.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2999, allocations: 28.98 kB / 333.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.2999, allocations: 9.609 kB / 333.3 MB, free: 12.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.3001, allocations: 131.5 kB / 333.5 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.3002, allocations: 13.64 kB / 333.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000851/0.301, allocations: 282.9 kB / 333.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.301, allocations: 2.062 kB / 333.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3011, allocations: 1 kB / 333.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3011, allocations: 0 / 333.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.3014, allocations: 283.3 kB / 334 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3015, allocations: 0 / 334 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.3017, allocations: 43.91 kB / 334.1 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3017, allocations: 8 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3017, allocations: 11.92 kB / 334.1 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3017, allocations: 3.953 kB / 334.1 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3017, allocations: 0 / 334.1 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.3023, allocations: 347.2 kB / 334.4 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3023, allocations: 88.92 kB / 334.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3024, allocations: 8 kB / 334.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3025, allocations: 11.98 kB / 334.5 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3026, allocations: 19.92 kB / 334.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3026, allocations: 4 kB / 334.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3027, allocations: 143.9 kB / 334.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 0 / 334.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3031, allocations: 35.94 kB / 334.7 MB, free: 11.06 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 (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.0001487/0.3032, allocations: 107.2 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.3037, allocations: 191.9 kB / 335 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3037, allocations: 0 / 335 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.3039, allocations: 111.9 kB / 335.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3042, allocations: 19.94 kB / 335.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.3049, allocations: 364.5 kB / 335.5 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3053, allocations: 0.7283 MB / 336.2 MB, free: 9.492 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.3054, allocations: 33.41 kB / 336.3 MB, free: 9.457 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.3055, allocations: 31.36 kB / 336.3 MB, free: 9.43 MB / 270.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3055, allocations: 0 / 336.3 MB, free: 9.43 MB / 270.1 MB Notification: Performance of Templates: time 0.005178/0.3107, allocations: 1.851 MB / 338.2 MB, free: 7.574 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)