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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 84.78 kB / 16.31 MB, free: 6.449 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.001236/0.001237, allocations: 180.4 kB / 17.21 MB, free: 6.32 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.744/1.744, allocations: 205.4 MB / 223.4 MB, free: 5.812 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.0004683/0.0004684, allocations: 16 kB / 280.1 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2883, allocations: 47.59 MB / 327.7 MB, free: 1.602 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002109/0.2905, allocations: 1.274 MB / 329 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2918, allocations: 0.6374 MB / 329.6 MB, free: 96 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.2919, allocations: 2.438 kB / 329.6 MB, free: 96 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.2922, allocations: 37.47 kB / 329.7 MB, free: 72 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2924, allocations: 25.2 kB / 329.7 MB, free: 52 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2935, allocations: 497.6 kB / 330.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2937, allocations: 100.5 kB / 330.3 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2938, allocations: 26.45 kB / 330.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.294, allocations: 53.95 kB / 330.4 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2942, allocations: 63.53 kB / 330.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2942, allocations: 8.266 kB / 330.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.2945, allocations: 130.1 kB / 330.6 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.2946, allocations: 33.69 kB / 330.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.2946, allocations: 37.77 kB / 330.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.2948, allocations: 149.4 kB / 330.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2949, allocations: 0 / 330.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2949, allocations: 0 / 330.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2949, allocations: 5.188 kB / 330.8 MB, free: 15.31 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.001472/0.2964, allocations: 0.5322 MB / 331.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.2964, allocations: 9.125 kB / 331.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.2977, allocations: 170.2 kB / 331.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.2979, allocations: 194.2 kB / 331.7 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.298, allocations: 12.03 kB / 331.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.298, allocations: 5.625 kB / 331.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.2985, allocations: 192 kB / 331.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2985, allocations: 3.984 kB / 331.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2986, allocations: 5.469 kB / 331.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.2986, allocations: 5.312 kB / 331.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2991, allocations: 183.7 kB / 332.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3001, allocations: 0.555 MB / 332.6 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.3006, allocations: 180.4 kB / 332.8 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3008, allocations: 107.4 kB / 332.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3008, allocations: 5.828 kB / 332.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3009, allocations: 36.84 kB / 333 MB, free: 13.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3009, allocations: 0 / 333 MB, free: 13.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007472/0.3016, allocations: 298.7 kB / 333.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3017, allocations: 52.59 kB / 333.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.3019, allocations: 179 kB / 333.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3019, allocations: 30.86 kB / 333.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.302, allocations: 109.6 kB / 333.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.3021, allocations: 53.73 kB / 333.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.3021, allocations: 0.9688 kB / 333.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3022, allocations: 326.2 kB / 334 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3024, allocations: 80.09 kB / 334.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.3026, allocations: 104.1 kB / 334.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3029, allocations: 94.05 kB / 334.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3029, allocations: 0 / 334.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005032/0.3034, allocations: 243.6 kB / 334.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3034, allocations: 6.125 kB / 334.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3034, allocations: 1 kB / 334.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3035, allocations: 2.438 kB / 334.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3037, allocations: 38.59 kB / 334.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3037, allocations: 9.078 kB / 334.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3039, allocations: 26.42 kB / 334.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3039, allocations: 16.36 kB / 334.6 MB, free: 12.41 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.0001179/0.304, allocations: 123.9 kB / 334.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3041, allocations: 18.53 kB / 334.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.3047, allocations: 285.9 kB / 335 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3047, allocations: 2.094 kB / 335 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3048, allocations: 1.031 kB / 335 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3048, allocations: 0 / 335 MB, free: 12.1 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3051, allocations: 286.3 kB / 335.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3051, allocations: 0 / 335.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3053, allocations: 39.97 kB / 335.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3054, allocations: 0 / 335.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3054, allocations: 11.98 kB / 335.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.3054, allocations: 7.953 kB / 335.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3054, allocations: 0 / 335.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.306, allocations: 343.1 kB / 335.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.3061, allocations: 88.92 kB / 335.8 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3061, allocations: 4 kB / 335.8 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3063, allocations: 15.98 kB / 335.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.3064, allocations: 19.92 kB / 335.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3064, allocations: 7.938 kB / 335.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3065, allocations: 135.9 kB / 335.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3065, allocations: 0 / 335.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3068, allocations: 31.94 kB / 336 MB, free: 11.08 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.0001586/0.307, allocations: 111.2 kB / 336.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.3075, allocations: 196.2 kB / 336.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3075, allocations: 0 / 336.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.3077, allocations: 111.9 kB / 336.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3081, allocations: 20.19 kB / 336.4 MB, free: 10.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.3087, allocations: 368.4 kB / 336.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.3092, allocations: 0.7283 MB / 337.5 MB, free: 9.5 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.3093, allocations: 33.41 kB / 337.5 MB, free: 9.465 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.3094, allocations: 23.42 kB / 337.6 MB, free: 9.445 MB / 270.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3094, allocations: 0 / 337.6 MB, free: 9.445 MB / 270.1 MB Notification: Performance of Templates: time 0.005919/0.3153, allocations: 1.859 MB / 339.4 MB, free: 7.582 MB / 270.1 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)