Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001628/0.001628, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.314/1.314, allocations: 170.6 MB / 183.8 MB, free: 11.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001698/0.001698, allocations: 95.52 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.38e-05, allocations: 7.984 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07551/0.07555, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3697, allocations: 79.94 MB / 387.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3699, allocations: 66.59 kB / 387.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1421/0.512, allocations: 35.52 MB / 423.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5121, allocations: 4 kB / 423.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.5121, allocations: 15.94 kB / 423.2 MB, free: 13.15 MB / 314.7 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.00192/0.5141, allocations: 0.8104 MB / 424 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5141, allocations: 8.031 kB / 424 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5142, allocations: 43.53 kB / 424 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/0.515, allocations: 456.2 kB / 424.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5151, allocations: 14.97 kB / 424.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.5151, allocations: 23.75 kB / 424.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.5156, allocations: 330.8 kB / 424.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5156, allocations: 0 / 424.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.5156, allocations: 11.06 kB / 424.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5156, allocations: 4 kB / 424.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.5159, allocations: 129.1 kB / 425 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.5171, allocations: 0.6837 MB / 425.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.5177, allocations: 313.8 kB / 426 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.5178, allocations: 98.02 kB / 426.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.5179, allocations: 8.125 kB / 426.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5179, allocations: 38.19 kB / 426.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.5179, allocations: 0 / 426.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005313/0.5184, allocations: 280.7 kB / 426.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.5186, allocations: 363.8 kB / 426.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.519, allocations: 352.6 kB / 427.1 MB, free: 9.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.5191, allocations: 37.2 kB / 427.1 MB, free: 9.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5192, allocations: 206.7 kB / 427.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.5193, allocations: 82.06 kB / 427.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.87e-05/0.5193, allocations: 7.062 kB / 427.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5195, allocations: 353.2 kB / 427.8 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.5198, allocations: 184 kB / 427.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.5202, allocations: 302.3 kB / 428.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.5205, allocations: 231.7 kB / 428.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5206, allocations: 0 / 428.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009962/0.5216, allocations: 0.6277 MB / 429.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5216, allocations: 4 kB / 429.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.5216, allocations: 11.98 kB / 429.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.522, allocations: 123.5 kB / 429.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.5223, allocations: 67.83 kB / 429.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.5262, allocations: 4.227 MB / 433.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.5265, allocations: 47.39 kB / 433.6 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.5266, allocations: 23.28 kB / 433.6 MB, free: 3.137 MB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.5267, allocations: 128.3 kB / 433.7 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.5268, allocations: 35.53 kB / 433.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.5269, allocations: 50.92 kB / 433.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5269, allocations: 0 / 433.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5269, allocations: 3.984 kB / 433.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.527, allocations: 0 / 433.8 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.5273, allocations: 347.1 kB / 434.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5273, allocations: 7.938 kB / 434.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.5276, allocations: 43.97 kB / 434.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5276, allocations: 0 / 434.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.5277, allocations: 11.94 kB / 434.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.5277, allocations: 3.953 kB / 434.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5277, allocations: 0 / 434.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.5283, allocations: 0.489 MB / 434.7 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5284, allocations: 112.7 kB / 434.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.5284, allocations: 15.3 kB / 434.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.5286, allocations: 19.33 kB / 434.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.5287, allocations: 19.59 kB / 434.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.5287, allocations: 4 kB / 434.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.529, allocations: 269.8 kB / 435.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.529, allocations: 0 / 435.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002417/0.5314, allocations: 0.696 MB / 435.8 MB, free: 1.074 MB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/0.5332, allocations: 0.7104 MB / 436.5 MB, free: 376 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.5346, allocations: 0.9254 MB / 437.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5346, allocations: 0 / 437.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.5348, allocations: 115.2 kB / 437.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.5353, allocations: 94.39 kB / 437.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5366, allocations: 0.7439 MB / 438.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.537, allocations: 0.8535 MB / 439.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.5373, allocations: 70.92 kB / 439.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.5373, allocations: 27.44 kB / 439.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5374, allocations: 0 / 439.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Templates: time 0.02882/0.5662, allocations: 14.76 MB / 454.1 MB, free: 14.79 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe 2>&1)