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.001358/0.001358, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.547/1.547, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001278/0.001278, allocations: 59.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003411/0.3229, allocations: 1.595 MB / 326.9 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3243, allocations: 0.6843 MB / 327.6 MB, free: 44 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.3243, allocations: 2.25 kB / 327.6 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.3247, allocations: 43.7 kB / 327.6 MB, free: 20 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.325, allocations: 42.8 kB / 327.7 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3264, allocations: 0.5904 MB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.3266, allocations: 111.2 kB / 328.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3268, allocations: 35.2 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.327, allocations: 58.8 kB / 328.5 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3272, allocations: 78.81 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3273, allocations: 9.562 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3275, allocations: 135.7 kB / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.3276, allocations: 33.59 kB / 328.7 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.3277, allocations: 58.56 kB / 328.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.3282, allocations: 222.5 kB / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3282, allocations: 0 / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3282, allocations: 0 / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3282, allocations: 1.281 kB / 329 MB, free: 15.08 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.002116/0.3303, allocations: 0.5506 MB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.3304, allocations: 9.938 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.332, allocations: 171.7 kB / 329.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.3323, allocations: 194.4 kB / 329.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.3324, allocations: 8.5 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.3324, allocations: 15.31 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.333, allocations: 185.4 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3331, allocations: 0 / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.3331, allocations: 5.281 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.3331, allocations: 5.344 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.3337, allocations: 166.4 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.3351, allocations: 0.5402 MB / 330.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.3356, allocations: 165.8 kB / 331 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3359, allocations: 93.17 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.3359, allocations: 5.281 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.336, allocations: 35.56 kB / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.807e-06/0.336, allocations: 0 / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009173/0.3369, allocations: 259.7 kB / 331.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.337, allocations: 57.47 kB / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3373, allocations: 193.6 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3373, allocations: 26.92 kB / 331.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3375, allocations: 114 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3375, allocations: 40.98 kB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.3376, allocations: 32.2 kB / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3378, allocations: 326.4 kB / 332.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.3381, allocations: 69.59 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.3384, allocations: 91.73 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3389, allocations: 165.8 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3389, allocations: 1.094 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005581/0.3394, allocations: 214.9 kB / 332.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.3395, allocations: 8.906 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3395, allocations: 1.156 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3395, allocations: 0.9688 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3398, allocations: 41.3 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3398, allocations: 1.656 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.34, allocations: 18.12 kB / 332.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.34, allocations: 8.484 kB / 332.7 MB, free: 12.16 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001564/0.3402, allocations: 134.9 kB / 332.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.3402, allocations: 18.67 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.3409, allocations: 251.7 kB / 333.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3409, allocations: 4 kB / 333.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3409, allocations: 0 / 333.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3409, allocations: 0 / 333.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.3413, allocations: 277.4 kB / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3413, allocations: 0 / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3415, allocations: 43.89 kB / 333.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3415, allocations: 7.875 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3415, allocations: 8 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3416, allocations: 0 / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3416, allocations: 0 / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.3421, allocations: 325.6 kB / 333.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.3422, allocations: 96.8 kB / 333.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3422, allocations: 7.984 kB / 333.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3424, allocations: 12 kB / 333.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.3425, allocations: 15.91 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3425, allocations: 4 kB / 333.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.3426, allocations: 148.2 kB / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3427, allocations: 0 / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.343, allocations: 24 kB / 334.1 MB, free: 10.77 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002707/0.3433, allocations: 107.2 kB / 334.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.3438, allocations: 183.8 kB / 334.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3438, allocations: 128 / 334.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.3441, allocations: 103.9 kB / 334.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3445, allocations: 19.84 kB / 334.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/0.3453, allocations: 327.8 kB / 334.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.346, allocations: 0.7241 MB / 335.5 MB, free: 9.262 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.3462, allocations: 29.42 kB / 335.6 MB, free: 9.23 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3463, allocations: 31.41 kB / 335.6 MB, free: 9.203 MB / 270.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3463, allocations: 4 kB / 335.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of Templates: time 0.006069/0.3523, allocations: 1.957 MB / 337.6 MB, free: 7.238 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)