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.001029/0.001029, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001545/0.001545, allocations: 177 kB / 17.56 MB, free: 6.18 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.924/1.924, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.000501/0.000501, allocations: 12.2 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002115/0.1167, allocations: 1.307 MB / 329.6 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1181, allocations: 0.6677 MB / 330.3 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.1181, allocations: 4 kB / 330.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1184, allocations: 43.84 kB / 330.3 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1186, allocations: 31.8 kB / 330.4 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1197, allocations: 0.5723 MB / 330.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1199, allocations: 95.73 kB / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.12, allocations: 37.06 kB / 331.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1201, allocations: 55.7 kB / 331.1 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.1203, allocations: 71.67 kB / 331.2 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1203, allocations: 4 kB / 331.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1205, allocations: 139.8 kB / 331.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1206, allocations: 31.91 kB / 331.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.1207, allocations: 77.3 kB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.121, allocations: 215.7 kB / 331.6 MB, free: 416 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.121, allocations: 0 / 331.6 MB, free: 416 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.121, allocations: 4 kB / 331.6 MB, free: 412 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1211, allocations: 0 / 331.6 MB, free: 412 kB / 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.001516/0.1226, allocations: 0.5419 MB / 332.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1226, allocations: 8.031 kB / 332.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.124, allocations: 168.5 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1242, allocations: 200 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1242, allocations: 16.36 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1243, allocations: 8.375 kB / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1247, allocations: 189.9 kB / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1248, allocations: 0 / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1248, allocations: 4 kB / 332.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.1248, allocations: 8 kB / 332.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.1253, allocations: 187.8 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1263, allocations: 0.5469 MB / 333.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.1267, allocations: 178.5 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.127, allocations: 104.8 kB / 333.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.127, allocations: 4 kB / 333.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1271, allocations: 30.56 kB / 333.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1271, allocations: 4 kB / 333.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007537/0.1278, allocations: 308.7 kB / 334.1 MB, free: 13.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1279, allocations: 55.41 kB / 334.2 MB, free: 13.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1281, allocations: 183.3 kB / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1281, allocations: 25.7 kB / 334.4 MB, free: 13.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.1282, allocations: 104 kB / 334.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1282, allocations: 63.12 kB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1283, allocations: 21.7 kB / 334.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1284, allocations: 330.8 kB / 334.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1286, allocations: 75.94 kB / 335 MB, free: 12.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1288, allocations: 103.4 kB / 335.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.1293, allocations: 199.3 kB / 335.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1293, allocations: 3.984 kB / 335.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005285/0.1298, allocations: 241.6 kB / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1298, allocations: 11.94 kB / 335.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1299, allocations: 3.938 kB / 335.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1299, allocations: 0 / 335.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1301, allocations: 40.06 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1301, allocations: 4 kB / 335.6 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1303, allocations: 23.83 kB / 335.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1303, allocations: 4 kB / 335.6 MB, free: 12.21 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.0001334/0.1305, allocations: 137.8 kB / 335.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.1305, allocations: 7.906 kB / 335.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.1311, allocations: 286.8 kB / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1312, allocations: 0 / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1312, allocations: 0 / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1312, allocations: 0 / 336 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.1315, allocations: 285.4 kB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1315, allocations: 0 / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1317, allocations: 47.91 kB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1317, allocations: 0 / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1318, allocations: 7.938 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1318, allocations: 0 / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1318, allocations: 0 / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.1323, allocations: 347.2 kB / 336.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1324, allocations: 92.86 kB / 336.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1325, allocations: 11.94 kB / 336.8 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1326, allocations: 15.98 kB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.1327, allocations: 23.91 kB / 336.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1327, allocations: 7.984 kB / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1328, allocations: 140.9 kB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1329, allocations: 0 / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1331, allocations: 28 kB / 337 MB, free: 10.71 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.0001407/0.1333, allocations: 99.25 kB / 337.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.1338, allocations: 191.8 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1338, allocations: 0 / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.1341, allocations: 120 kB / 337.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1344, allocations: 23.92 kB / 337.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.1351, allocations: 381 kB / 337.8 MB, free: 9.875 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1354, allocations: 0.7282 MB / 338.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.1355, allocations: 33.41 kB / 338.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.1356, allocations: 27.42 kB / 338.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1356, allocations: 3.938 kB / 338.6 MB, free: 9.059 MB / 286.1 MB Notification: Performance of Templates: time 0.004904/0.1405, allocations: 1.894 MB / 340.5 MB, free: 7.16 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)