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.001329/0.001328, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001565/0.001566, allocations: 189.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001459/0.001459, allocations: 51.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3251, allocations: 46.62 MB / 324.8 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.005285/0.3305, allocations: 1.654 MB / 326.5 MB, free: 0.6602 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3324, allocations: 0.6679 MB / 327.2 MB, free: 140 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3325, allocations: 3.5 kB / 327.2 MB, free: 140 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.333, allocations: 41.53 kB / 327.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.3333, allocations: 31.42 kB / 327.2 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.3356, allocations: 0.5791 MB / 327.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.336, allocations: 101.9 kB / 327.9 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.3362, allocations: 31.33 kB / 327.9 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.3364, allocations: 63.73 kB / 328 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.3367, allocations: 79.11 kB / 328.1 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.3368, allocations: 8.625 kB / 328.1 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.3372, allocations: 140.8 kB / 328.2 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3374, allocations: 37.89 kB / 328.3 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3375, allocations: 55.72 kB / 328.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.3381, allocations: 223.6 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3381, allocations: 1.125 kB / 328.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3381, allocations: 4 kB / 328.5 MB, free: 15.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3381, allocations: 0 / 328.5 MB, free: 15.2 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.002868/0.341, allocations: 0.5591 MB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3411, allocations: 12.75 kB / 329.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/0.3439, allocations: 172.6 kB / 329.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3442, allocations: 191.1 kB / 329.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.3443, allocations: 7.625 kB / 329.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.3443, allocations: 10.12 kB / 329.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.3451, allocations: 187.8 kB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3451, allocations: 1 kB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3452, allocations: 5.312 kB / 329.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.3453, allocations: 8.922 kB / 329.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/0.3461, allocations: 171.7 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.3479, allocations: 0.5422 MB / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.3487, allocations: 175.5 kB / 330.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.3491, allocations: 100 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.3491, allocations: 6.531 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3492, allocations: 35.91 kB / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 3.006e-06/0.3492, allocations: 0 / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.001276/0.3505, allocations: 290 kB / 331 MB, free: 13.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3506, allocations: 52.84 kB / 331 MB, free: 13.28 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.3509, allocations: 191.3 kB / 331.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.351, allocations: 30.89 kB / 331.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3511, allocations: 109.6 kB / 331.4 MB, free: 12.99 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.3513, allocations: 49.3 kB / 331.4 MB, free: 12.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3515, allocations: 33.42 kB / 331.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3517, allocations: 334.3 kB / 331.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3521, allocations: 68.08 kB / 331.8 MB, free: 12.55 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3525, allocations: 107.7 kB / 331.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.3534, allocations: 186.7 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3534, allocations: 0 / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001104/0.3545, allocations: 227.5 kB / 332.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3546, allocations: 4.562 kB / 332.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.3546, allocations: 5.188 kB / 332.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.3547, allocations: 2.625 kB / 332.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.3552, allocations: 41.02 kB / 332.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.3552, allocations: 2.25 kB / 332.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3556, allocations: 21.69 kB / 332.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.3556, allocations: 9.859 kB / 332.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.3559, allocations: 134.5 kB / 332.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3561, allocations: 19.03 kB / 332.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3573, allocations: 265.2 kB / 332.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.3574, allocations: 4 kB / 332.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.3574, allocations: 4 kB / 332.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3574, allocations: 3.984 kB / 332.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.3581, allocations: 285.3 kB / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3582, allocations: 0 / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.3586, allocations: 43.91 kB / 333.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.3586, allocations: 0 / 333.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.3587, allocations: 11.92 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3587, allocations: 3.938 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3587, allocations: 0 / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3598, allocations: 331.2 kB / 333.5 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.3599, allocations: 100.8 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.3599, allocations: 7.938 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.3602, allocations: 8 kB / 333.6 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.3603, allocations: 15.97 kB / 333.6 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3604, allocations: 8 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.3606, allocations: 139.9 kB / 333.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3606, allocations: 0 / 333.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.3611, allocations: 28 kB / 333.8 MB, free: 10.79 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.0002677/0.3614, allocations: 107.2 kB / 333.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009817/0.3624, allocations: 199.8 kB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3624, allocations: 3.938 kB / 334.1 MB, free: 10.47 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.3629, allocations: 107.8 kB / 334.2 MB, free: 10.37 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.3636, allocations: 18.66 kB / 334.2 MB, free: 10.35 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3648, allocations: 377.2 kB / 334.6 MB, free: 9.953 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.3654, allocations: 0.7395 MB / 335.3 MB, free: 9.188 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.3657, allocations: 33.41 kB / 335.4 MB, free: 9.152 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3659, allocations: 23.42 kB / 335.4 MB, free: 9.133 MB / 270.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3659, allocations: 0 / 335.4 MB, free: 9.133 MB / 270.1 MB Notification: Performance of Templates: time 0.009534/0.3754, allocations: 2.035 MB / 337.4 MB, free: 7.094 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)