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.001523/0.001524, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001408/0.001408, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.729/1.729, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.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.001172/0.001172, allocations: 47.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 46.62 MB / 325.9 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002919/0.1202, allocations: 1.642 MB / 327.6 MB, free: 3.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1215, allocations: 0.6792 MB / 328.3 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.1215, allocations: 7.938 kB / 328.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1218, allocations: 43.84 kB / 328.3 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.122, allocations: 23.91 kB / 328.3 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1231, allocations: 0.584 MB / 328.9 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1233, allocations: 107.7 kB / 329 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1234, allocations: 21.08 kB / 329 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1236, allocations: 59.77 kB / 329.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1237, allocations: 79.66 kB / 329.2 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1238, allocations: 12 kB / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.124, allocations: 139.8 kB / 329.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.1241, allocations: 27.91 kB / 329.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.1242, allocations: 59.59 kB / 329.4 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1245, allocations: 219.7 kB / 329.6 MB, free: 1.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1245, allocations: 0 / 329.6 MB, free: 1.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1245, allocations: 0 / 329.6 MB, free: 1.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1245, allocations: 0 / 329.6 MB, free: 1.18 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.001529/0.126, allocations: 0.5613 MB / 330.2 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1261, allocations: 12.03 kB / 330.2 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.1275, allocations: 176.5 kB / 330.4 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1277, allocations: 196 kB / 330.6 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1278, allocations: 8.375 kB / 330.6 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1278, allocations: 8.375 kB / 330.6 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.1282, allocations: 189.7 kB / 330.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1283, allocations: 7.922 kB / 330.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1283, allocations: 8 kB / 330.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.1283, allocations: 8 kB / 330.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.1288, allocations: 175.8 kB / 331 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.1297, allocations: 0.5391 MB / 331.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.1301, allocations: 174.5 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.1303, allocations: 100.8 kB / 331.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1304, allocations: 0 / 331.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1304, allocations: 30.56 kB / 331.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.1304, allocations: 4 kB / 331.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.000739/0.1312, allocations: 289.4 kB / 332.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1312, allocations: 51.41 kB / 332.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1314, allocations: 179.3 kB / 332.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1314, allocations: 29.7 kB / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.1315, allocations: 111.9 kB / 332.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.1316, allocations: 51.28 kB / 332.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.1317, allocations: 45.59 kB / 332.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1318, allocations: 326.8 kB / 332.9 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.132, allocations: 71.94 kB / 332.9 MB, free: 13.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1322, allocations: 99.38 kB / 333 MB, free: 13.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.1326, allocations: 195.4 kB / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1327, allocations: 0 / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004962/0.1332, allocations: 225.5 kB / 333.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1332, allocations: 12.09 kB / 333.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1332, allocations: 3.938 kB / 333.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1332, allocations: 0 / 333.5 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.1335, allocations: 35.97 kB / 333.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1335, allocations: 0 / 333.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1336, allocations: 23.83 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1337, allocations: 7.938 kB / 333.5 MB, free: 13.03 MB / 286.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.0001164/0.1338, allocations: 133.8 kB / 333.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1338, allocations: 19.81 kB / 333.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.1344, allocations: 274.9 kB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1345, allocations: 0 / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1345, allocations: 4 kB / 333.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1345, allocations: 0 / 333.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1348, allocations: 277.4 kB / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1348, allocations: 0 / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.135, allocations: 47.91 kB / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.135, allocations: 4 kB / 334.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1351, allocations: 7.938 kB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1351, allocations: 0 / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1351, allocations: 7.984 kB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.1356, allocations: 331.1 kB / 334.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.1357, allocations: 96.86 kB / 334.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1358, allocations: 15.88 kB / 334.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1359, allocations: 11.98 kB / 334.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.136, allocations: 7.984 kB / 334.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.136, allocations: 11.98 kB / 334.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1361, allocations: 136.9 kB / 334.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1361, allocations: 4 kB / 334.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1364, allocations: 24 kB / 334.9 MB, free: 11.55 MB / 286.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.0001491/0.1366, allocations: 99.25 kB / 335 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.1371, allocations: 187.8 kB / 335.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1371, allocations: 0 / 335.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1373, allocations: 112 kB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1377, allocations: 23.11 kB / 335.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.1383, allocations: 385.4 kB / 335.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1386, allocations: 0.7244 MB / 336.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1387, allocations: 29.42 kB / 336.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.1388, allocations: 27.42 kB / 336.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1388, allocations: 0 / 336.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of Templates: time 0.005134/0.144, allocations: 1.938 MB / 338.4 MB, free: 7.977 MB / 286.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)