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.001128/0.001128, allocations: 105.5 kB / 16.62 MB, free: 6.805 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.001105/0.001106, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.66/1.66, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001332/0.001332, allocations: 47.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 46.63 MB / 326.1 MB, free: 4.816 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003074/0.1292, allocations: 1.653 MB / 327.8 MB, free: 3.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1304, allocations: 0.6793 MB / 328.5 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.1305, allocations: 0 / 328.5 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1308, allocations: 43.84 kB / 328.5 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.131, allocations: 19.92 kB / 328.5 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1321, allocations: 0.5799 MB / 329.1 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1323, allocations: 103.7 kB / 329.2 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1324, allocations: 29.08 kB / 329.2 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1326, allocations: 63.7 kB / 329.3 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1327, allocations: 79.67 kB / 329.4 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1328, allocations: 12 kB / 329.4 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.133, allocations: 143.8 kB / 329.5 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.133, allocations: 39.89 kB / 329.6 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.1331, allocations: 51.67 kB / 329.6 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1334, allocations: 227.6 kB / 329.8 MB, free: 1.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1334, allocations: 0 / 329.8 MB, free: 1.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1334, allocations: 4 kB / 329.8 MB, free: 1.074 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1334, allocations: 0 / 329.8 MB, free: 1.074 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.001555/0.135, allocations: 0.5535 MB / 330.4 MB, free: 484 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.135, allocations: 8.031 kB / 330.4 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.1364, allocations: 176.5 kB / 330.6 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1366, allocations: 196 kB / 330.8 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1367, allocations: 8.375 kB / 330.8 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1367, allocations: 12.36 kB / 330.8 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1372, allocations: 185.9 kB / 331 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1372, allocations: 8 kB / 331 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1372, allocations: 4 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.1373, allocations: 7.938 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.1377, allocations: 167.9 kB / 331.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1389, allocations: 0.543 MB / 331.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.1394, allocations: 178.5 kB / 331.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1396, allocations: 100.7 kB / 332 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1396, allocations: 4 kB / 332 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1397, allocations: 38.5 kB / 332 MB, free: 14.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.1397, allocations: 0 / 332 MB, free: 14.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007141/0.1404, allocations: 285.5 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1405, allocations: 59.41 kB / 332.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1406, allocations: 183.3 kB / 332.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1407, allocations: 25.7 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1408, allocations: 107.9 kB / 332.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1408, allocations: 55.3 kB / 332.7 MB, free: 14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.1409, allocations: 41.59 kB / 332.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1411, allocations: 326.8 kB / 333.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1413, allocations: 67.95 kB / 333.1 MB, free: 13.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1415, allocations: 99.38 kB / 333.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.1419, allocations: 191.4 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1419, allocations: 4 kB / 333.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005602/0.1425, allocations: 225.4 kB / 333.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1425, allocations: 7.984 kB / 333.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1425, allocations: 7.938 kB / 333.7 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1425, allocations: 0 / 333.7 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.1428, allocations: 31.97 kB / 333.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1428, allocations: 4 kB / 333.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.143, allocations: 23.83 kB / 333.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.143, allocations: 4 kB / 333.7 MB, free: 12.94 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.0001237/0.1431, allocations: 137.8 kB / 333.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.1432, allocations: 15.81 kB / 333.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.1438, allocations: 274.9 kB / 334.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1438, allocations: 0 / 334.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1438, allocations: 0 / 334.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1439, allocations: 0 / 334.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.1442, allocations: 277.4 kB / 334.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1442, allocations: 4 kB / 334.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1444, allocations: 47.89 kB / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1444, allocations: 3.938 kB / 334.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1445, allocations: 7.938 kB / 334.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1445, allocations: 0 / 334.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1445, allocations: 0 / 334.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.145, allocations: 343.2 kB / 334.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.1451, allocations: 100.8 kB / 334.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.1451, allocations: 3.938 kB / 334.9 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1453, allocations: 11.98 kB / 334.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.1453, allocations: 11.98 kB / 334.9 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1454, allocations: 11.98 kB / 334.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1455, allocations: 136.9 kB / 335.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1455, allocations: 3.938 kB / 335.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1458, allocations: 28 kB / 335.1 MB, free: 11.45 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.0001464/0.1459, allocations: 107.2 kB / 335.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005198/0.1465, allocations: 199.8 kB / 335.4 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1465, allocations: 192 / 335.4 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1467, allocations: 111.8 kB / 335.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.147, allocations: 23.42 kB / 335.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.1477, allocations: 384.5 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.148, allocations: 0.724 MB / 336.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1481, allocations: 29.42 kB / 336.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.1482, allocations: 27.42 kB / 336.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1482, allocations: 0 / 336.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Templates: time 0.005356/0.1536, allocations: 2.027 MB / 338.7 MB, free: 7.773 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)