Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 97.83 kB / 16.5 MB, free: 6.648 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.001974/0.001974, allocations: 194 kB / 17.42 MB, free: 6.066 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.751/1.751, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001682/0.001683, allocations: 48.41 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1731, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005083/0.1782, allocations: 2.861 MB / 328.8 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1801, allocations: 0.7567 MB / 329.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1803, allocations: 4 kB / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1806, allocations: 27.77 kB / 329.6 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1808, allocations: 95.3 kB / 329.7 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1812, allocations: 83.92 kB / 329.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.1815, allocations: 366.4 kB / 330.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.1818, allocations: 81.3 kB / 330.2 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1821, allocations: 143.3 kB / 330.4 MB, free: 456 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1823, allocations: 155.3 kB / 330.5 MB, free: 300 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.1824, allocations: 20 kB / 330.5 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.1824, allocations: 20 kB / 330.6 MB, free: 260 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.1825, allocations: 59.69 kB / 330.6 MB, free: 200 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.1827, allocations: 147.2 kB / 330.8 MB, free: 52 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.1832, allocations: 343 kB / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.1832, allocations: 0 / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1832, allocations: 0 / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1833, allocations: 0 / 331.1 MB, free: 15.71 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001699/0.185, allocations: 0.6769 MB / 331.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.185, allocations: 8.031 kB / 331.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1852, allocations: 32.56 kB / 331.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.1857, allocations: 284.6 kB / 332.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1857, allocations: 16.94 kB / 332.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.1858, allocations: 20.38 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.1865, allocations: 269.1 kB / 332.4 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1866, allocations: 8 kB / 332.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.1866, allocations: 15.94 kB / 332.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1866, allocations: 4 kB / 332.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1875, allocations: 266 kB / 332.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1894, allocations: 0.8908 MB / 333.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/0.1904, allocations: 359.7 kB / 333.9 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.1908, allocations: 128.7 kB / 334 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.1908, allocations: 0 / 334 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.1915, allocations: 193.8 kB / 334.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 7.013e-06/0.1915, allocations: 0 / 334.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001861/0.1934, allocations: 0.5799 MB / 334.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1935, allocations: 106.8 kB / 334.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.1938, allocations: 262.6 kB / 335.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.1939, allocations: 37.7 kB / 335.2 MB, free: 11.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1941, allocations: 179.9 kB / 335.4 MB, free: 11.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/0.1942, allocations: 59.19 kB / 335.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1944, allocations: 53.84 kB / 335.5 MB, free: 11.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1946, allocations: 338.7 kB / 335.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.195, allocations: 109.5 kB / 335.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.1954, allocations: 164.1 kB / 336.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.1961, allocations: 279.5 kB / 336.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1962, allocations: 0 / 336.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001349/0.1975, allocations: 423.6 kB / 336.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.1976, allocations: 29.7 kB / 336.8 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.1977, allocations: 4 kB / 336.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.1983, allocations: 92.78 kB / 336.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1986, allocations: 59.89 kB / 337 MB, free: 9.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.2007, allocations: 1.444 MB / 338.4 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2011, allocations: 43.72 kB / 338.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.2012, allocations: 12 kB / 338.5 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003967/0.2016, allocations: 192.3 kB / 338.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003363/0.2019, allocations: 160.6 kB / 338.8 MB, free: 7.445 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000563/0.2025, allocations: 251.4 kB / 339.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/0.2025, allocations: 0 / 339.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008472/0.2034, allocations: 347.6 kB / 339.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.2034, allocations: 33.7 kB / 339.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2035, allocations: 7.922 kB / 339.4 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.926e-05/0.2036, allocations: 25.03 kB / 339.5 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.2038, allocations: 63.89 kB / 339.5 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2051, allocations: 1.381 MB / 340.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2055, allocations: 47.89 kB / 340.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2055, allocations: 15.94 kB / 341 MB, free: 5.098 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.2058, allocations: 196.1 kB / 341.2 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.2059, allocations: 23.72 kB / 341.2 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.2059, allocations: 34.27 kB / 341.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2059, allocations: 0 / 341.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.206, allocations: 3.938 kB / 341.2 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.206, allocations: 7.938 kB / 341.2 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2075, allocations: 0.7066 MB / 341.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2075, allocations: 0 / 341.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.2078, allocations: 47.89 kB / 342 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.208, allocations: 52.94 kB / 342 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.208, allocations: 4 kB / 342 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.2098, allocations: 1.429 MB / 343.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2098, allocations: 0 / 343.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.211, allocations: 0.5115 MB / 344 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2112, allocations: 100.9 kB / 344.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.2112, allocations: 0 / 344.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.2115, allocations: 43.89 kB / 344.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.2117, allocations: 27.97 kB / 344.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2117, allocations: 4 kB / 344.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.212, allocations: 198 kB / 344.3 MB, free: 1.484 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.212, allocations: 0 / 344.3 MB, free: 1.484 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007447/0.2128, allocations: 127.7 kB / 344.5 MB, free: 1.359 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.213, allocations: 99.25 kB / 344.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.215, allocations: 0.6956 MB / 345.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.215, allocations: 4.125 kB / 345.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.2155, allocations: 230.6 kB / 345.5 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.2161, allocations: 52.66 kB / 345.5 MB, free: 220 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.2179, allocations: 0.6538 MB / 346.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2184, allocations: 0.7637 MB / 347 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.2186, allocations: 34.27 kB / 347 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.2187, allocations: 23.44 kB / 347 MB, free: 14.68 MB / 302.1 MB Notification: Performance of SimCode: time 6.382e-06/0.2187, allocations: 0 / 347 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01136/0.2301, allocations: 3.908 MB / 350.9 MB, free: 10.77 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)