Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Filter.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.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 104.4 kB / 16.92 MB, free: 5.793 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.001889/0.001889, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.814/1.814, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001356/0.001356, allocations: 52.09 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 46.63 MB / 326.6 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00461/0.1401, allocations: 1.994 MB / 328.6 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.1475, allocations: 3.723 MB / 332.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.1479, allocations: 15.81 kB / 332.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.1486, allocations: 179.1 kB / 332.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1487, allocations: 43.58 kB / 332.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.1543, allocations: 1.938 MB / 334.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008433/0.1551, allocations: 494.8 kB / 335 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.1553, allocations: 49.08 kB / 335 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.1557, allocations: 183.3 kB / 335.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.156, allocations: 167.2 kB / 335.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.156, allocations: 20 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.1593, allocations: 1.733 MB / 337.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.1596, allocations: 119.6 kB / 337.2 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.1598, allocations: 174.9 kB / 337.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.1623, allocations: 1.758 MB / 339.2 MB, free: 7.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1623, allocations: 0 / 339.2 MB, free: 7.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1623, allocations: 8 kB / 339.2 MB, free: 7.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1623, allocations: 0 / 339.2 MB, free: 7.871 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001813/0.1641, allocations: 0.8918 MB / 340.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1642, allocations: 16.03 kB / 340.1 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1643, allocations: 44.38 kB / 340.1 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.1648, allocations: 346.2 kB / 340.5 MB, free: 6.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1648, allocations: 24.58 kB / 340.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.1649, allocations: 28.36 kB / 340.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.1653, allocations: 315 kB / 340.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1654, allocations: 3.938 kB / 340.8 MB, free: 6.086 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1654, allocations: 4 kB / 340.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1654, allocations: 4 kB / 340.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1657, allocations: 151.8 kB / 341 MB, free: 5.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1669, allocations: 0.6756 MB / 341.7 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.1676, allocations: 314.4 kB / 342 MB, free: 4.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.1678, allocations: 109.2 kB / 342.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1678, allocations: 4 kB / 342.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1678, allocations: 38.5 kB / 342.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.913e-06/0.1678, allocations: 0 / 342.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007267/0.1686, allocations: 384.9 kB / 342.5 MB, free: 4.344 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.1688, allocations: 363.8 kB / 342.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/0.1692, allocations: 409.8 kB / 343.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.1692, allocations: 33.7 kB / 343.3 MB, free: 3.457 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1694, allocations: 192.8 kB / 343.5 MB, free: 3.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.1694, allocations: 82.8 kB / 343.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1696, allocations: 109.5 kB / 343.7 MB, free: 3.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1698, allocations: 358.7 kB / 344 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.1701, allocations: 208.4 kB / 344.2 MB, free: 2.508 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1705, allocations: 318.1 kB / 344.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.1711, allocations: 401.6 kB / 344.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1711, allocations: 0 / 344.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001078/0.1722, allocations: 0.6496 MB / 345.6 MB, free: 1.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1722, allocations: 8 kB / 345.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.1722, allocations: 7.938 kB / 345.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004543/0.1727, allocations: 130.5 kB / 345.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.173, allocations: 59.91 kB / 345.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.1772, allocations: 4.57 MB / 350.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.1775, allocations: 47.55 kB / 350.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.1776, allocations: 15.98 kB / 350.4 MB, free: 11.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.1779, allocations: 177.8 kB / 350.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.178, allocations: 35.53 kB / 350.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.1781, allocations: 39.75 kB / 350.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1781, allocations: 4 kB / 350.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1781, allocations: 3.938 kB / 350.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1781, allocations: 3.984 kB / 350.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.1786, allocations: 349.3 kB / 351 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1786, allocations: 3.938 kB / 351 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.1789, allocations: 39.97 kB / 351 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1789, allocations: 0 / 351 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.1789, allocations: 15.98 kB / 351.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1789, allocations: 7.938 kB / 351.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1789, allocations: 0 / 351.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.1796, allocations: 0.4987 MB / 351.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.1799, allocations: 120.5 kB / 351.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.1799, allocations: 15.94 kB / 351.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1801, allocations: 15.98 kB / 351.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1802, allocations: 15.98 kB / 351.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1802, allocations: 12.09 kB / 351.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002737/0.1805, allocations: 271.1 kB / 352 MB, free: 10.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1805, allocations: 4 kB / 352 MB, free: 10.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002392/0.1829, allocations: 0.6445 MB / 352.6 MB, free: 9.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001404/0.1843, allocations: 0.662 MB / 353.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.1861, allocations: 0.9767 MB / 354.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1861, allocations: 0 / 354.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1863, allocations: 128.7 kB / 354.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.1871, allocations: 117.2 kB / 354.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1887, allocations: 0.9075 MB / 355.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1892, allocations: 0.8379 MB / 356.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.1894, allocations: 66.92 kB / 356.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1895, allocations: 31.44 kB / 356.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1895, allocations: 0 / 356.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of Templates: time 0.02628/0.2158, allocations: 12.84 MB / 369.2 MB, free: 8.758 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe 2>&1)