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.001062/0.001062, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.00759/0.00759, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.858/1.858, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.000769/0.000769, allocations: 16 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3869, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001773/0.3887, allocations: 1.3 MB / 328.3 MB, free: 376 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.39, allocations: 0.6725 MB / 329 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.39, allocations: 2.75 kB / 329 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.3903, allocations: 46.08 kB / 329 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3905, allocations: 31.17 kB / 329.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3917, allocations: 0.5663 MB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3919, allocations: 103.2 kB / 329.7 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.392, allocations: 31.5 kB / 329.8 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.3922, allocations: 53.48 kB / 329.8 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3924, allocations: 79.45 kB / 329.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3924, allocations: 4.031 kB / 329.9 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.3927, allocations: 131.3 kB / 330 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.3928, allocations: 33.58 kB / 330.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.3929, allocations: 79.7 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3932, allocations: 211.2 kB / 330.3 MB, free: 14.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3932, allocations: 1.156 kB / 330.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3932, allocations: 0 / 330.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3933, allocations: 4 kB / 330.4 MB, free: 14.91 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.001659/0.3949, allocations: 0.5373 MB / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.395, allocations: 9.062 kB / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.3965, allocations: 172.5 kB / 331.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3967, allocations: 193.8 kB / 331.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3968, allocations: 12.84 kB / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3968, allocations: 10.89 kB / 331.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.3973, allocations: 196.8 kB / 331.5 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3973, allocations: 0 / 331.5 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3973, allocations: 5.125 kB / 331.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.3974, allocations: 5.656 kB / 331.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.3979, allocations: 176.5 kB / 331.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.399, allocations: 0.5435 MB / 332.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.3994, allocations: 180.9 kB / 332.4 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3997, allocations: 100.8 kB / 332.5 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.3997, allocations: 9.219 kB / 332.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3998, allocations: 40.38 kB / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3998, allocations: 0 / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008376/0.4006, allocations: 296.1 kB / 332.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4007, allocations: 53.59 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.4009, allocations: 188.1 kB / 333 MB, free: 12.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.4009, allocations: 29.7 kB / 333.1 MB, free: 12.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.401, allocations: 110.1 kB / 333.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.4011, allocations: 57.69 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.4012, allocations: 21.83 kB / 333.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4013, allocations: 326.4 kB / 333.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.4016, allocations: 76.61 kB / 333.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.4019, allocations: 112.8 kB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.4023, allocations: 191.4 kB / 334 MB, free: 12.1 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4023, allocations: 5.031 kB / 334 MB, free: 12.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005806/0.4029, allocations: 240.5 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.403, allocations: 5.562 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.403, allocations: 5.031 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.403, allocations: 1.312 kB / 334.2 MB, free: 11.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4033, allocations: 46.2 kB / 334.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4033, allocations: 3.938 kB / 334.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4034, allocations: 23.83 kB / 334.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4035, allocations: 11.98 kB / 334.3 MB, free: 11.88 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.0001333/0.4036, allocations: 125.8 kB / 334.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4036, allocations: 15.81 kB / 334.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.4043, allocations: 282.8 kB / 334.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4043, allocations: 7.984 kB / 334.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4043, allocations: 0 / 334.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4043, allocations: 0 / 334.7 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.4047, allocations: 281.4 kB / 335 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4047, allocations: 4 kB / 335 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.4049, allocations: 43.95 kB / 335 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4049, allocations: 0 / 335 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.405, allocations: 15.88 kB / 335 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.405, allocations: 0 / 335 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.405, allocations: 3.984 kB / 335.1 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.4056, allocations: 347.1 kB / 335.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4057, allocations: 96.84 kB / 335.5 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.4057, allocations: 11.94 kB / 335.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4059, allocations: 11.98 kB / 335.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.406, allocations: 15.98 kB / 335.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.406, allocations: 7.984 kB / 335.5 MB, free: 10.53 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.4061, allocations: 132 kB / 335.7 MB, free: 10.4 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4061, allocations: 0 / 335.7 MB, free: 10.4 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4064, allocations: 31.98 kB / 335.7 MB, free: 10.37 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.0001635/0.4066, allocations: 107.1 kB / 335.8 MB, free: 10.26 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.4071, allocations: 204.1 kB / 336 MB, free: 10.06 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4071, allocations: 0 / 336 MB, free: 10.06 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.4073, allocations: 116 kB / 336.1 MB, free: 9.945 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4077, allocations: 16 kB / 336.1 MB, free: 9.93 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.4085, allocations: 384.3 kB / 336.5 MB, free: 9.527 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.409, allocations: 0.7244 MB / 337.2 MB, free: 8.777 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.4091, allocations: 29.42 kB / 337.3 MB, free: 8.746 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.4092, allocations: 23.42 kB / 337.3 MB, free: 8.727 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4092, allocations: 0 / 337.3 MB, free: 8.727 MB / 270.1 MB Notification: Performance of Templates: time 0.005678/0.4149, allocations: 1.906 MB / 339.2 MB, free: 6.816 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)