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.001122/0.001122, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0012/0.001199, allocations: 168.7 kB / 15.95 MB, free: 204 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.742/1.742, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004626/0.0004627, allocations: 11.94 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3533, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002209/0.3555, allocations: 1.278 MB / 327.7 MB, free: 396 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.357, allocations: 0.6398 MB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3571, allocations: 3.531 kB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3574, allocations: 30.91 kB / 328.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.3577, allocations: 26.45 kB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.359, allocations: 0.5013 MB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3593, allocations: 91.52 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3595, allocations: 25.67 kB / 329.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3597, allocations: 54.42 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.36, allocations: 70.97 kB / 329.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.36, allocations: 4.25 kB / 329.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.3604, allocations: 130.8 kB / 329.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.3605, allocations: 29.06 kB / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.3606, allocations: 41.98 kB / 329.4 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3609, allocations: 149.9 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.361, allocations: 0 / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.361, allocations: 4 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.361, allocations: 0 / 329.5 MB, free: 15.1 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.001956/0.363, allocations: 0.5366 MB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.363, allocations: 8.719 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3644, allocations: 168.2 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3647, allocations: 188.6 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.3648, allocations: 16.16 kB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3648, allocations: 10.09 kB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.3654, allocations: 190.9 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3654, allocations: 1.094 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3654, allocations: 1.219 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.3655, allocations: 8.781 kB / 330.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.366, allocations: 176.6 kB / 330.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3672, allocations: 0.5543 MB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.3677, allocations: 192.5 kB / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.368, allocations: 99.64 kB / 331.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.368, allocations: 6.438 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3681, allocations: 35.47 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.3681, allocations: 0 / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008586/0.3689, allocations: 290.7 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.369, allocations: 53.72 kB / 332 MB, free: 13.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3692, allocations: 187.1 kB / 332.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3693, allocations: 26.73 kB / 332.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3694, allocations: 113.9 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.3694, allocations: 53.53 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.3695, allocations: 4 kB / 332.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3696, allocations: 330.5 kB / 332.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.3699, allocations: 79.94 kB / 332.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.3701, allocations: 104.6 kB / 332.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.3704, allocations: 90.3 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3704, allocations: 0 / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005928/0.371, allocations: 244.2 kB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.371, allocations: 5.812 kB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.371, allocations: 0 / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3711, allocations: 6.844 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.3713, allocations: 39.25 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3714, allocations: 1.281 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3716, allocations: 33.58 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3716, allocations: 8.203 kB / 333.3 MB, free: 12.2 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.0001584/0.3718, allocations: 131.3 kB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.3718, allocations: 15.92 kB / 333.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3725, allocations: 276.8 kB / 333.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3726, allocations: 3.312 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3726, allocations: 0 / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3726, allocations: 3.984 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.373, allocations: 280.6 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.373, allocations: 0 / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3732, allocations: 43.88 kB / 334.1 MB, free: 11.58 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3733, allocations: 7.984 kB / 334.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.3733, allocations: 11.98 kB / 334.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3733, allocations: 3.953 kB / 334.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3733, allocations: 0 / 334.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.3739, allocations: 343.2 kB / 334.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.374, allocations: 88.92 kB / 334.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.374, allocations: 4 kB / 334.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3742, allocations: 15.98 kB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.3743, allocations: 19.92 kB / 334.6 MB, free: 11.06 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3743, allocations: 4 kB / 334.6 MB, free: 11.06 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3744, allocations: 135.9 kB / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.3744, allocations: 0 / 334.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3747, allocations: 39.88 kB / 334.7 MB, free: 10.89 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.0001628/0.3749, allocations: 103.2 kB / 334.8 MB, free: 10.78 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.3754, allocations: 195.9 kB / 335 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3755, allocations: 3.938 kB / 335 MB, free: 10.58 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.3757, allocations: 111.9 kB / 335.1 MB, free: 10.47 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.376, allocations: 23.23 kB / 335.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.3768, allocations: 368.4 kB / 335.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.3774, allocations: 0.7283 MB / 336.2 MB, free: 9.312 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.3775, allocations: 33.41 kB / 336.3 MB, free: 9.277 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.3776, allocations: 19.42 kB / 336.3 MB, free: 9.262 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3776, allocations: 0 / 336.3 MB, free: 9.262 MB / 270.1 MB Notification: Performance of Templates: time 0.006155/0.3837, allocations: 1.867 MB / 338.2 MB, free: 7.391 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)