Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001686, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001803/0.001803, allocations: 193.8 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.787/1.787, allocations: 205.1 MB / 223.4 MB, free: 12.38 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.001527/0.001527, allocations: 43.94 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1511, allocations: 46.63 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005872/0.157, allocations: 2.873 MB / 329 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1592, allocations: 0.7372 MB / 329.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1595, allocations: 7.938 kB / 329.8 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1598, allocations: 31.75 kB / 329.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1601, allocations: 87.33 kB / 329.9 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1605, allocations: 87.91 kB / 330 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.161, allocations: 386.4 kB / 330.3 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1613, allocations: 96.72 kB / 330.4 MB, free: 464 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.1617, allocations: 159.3 kB / 330.6 MB, free: 304 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.162, allocations: 155.4 kB / 330.7 MB, free: 148 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.905e-05/0.1621, allocations: 35.94 kB / 330.8 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.1622, allocations: 32 kB / 330.8 MB, free: 80 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.1623, allocations: 63.77 kB / 330.9 MB, free: 16 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.1625, allocations: 163.2 kB / 331 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.1632, allocations: 355 kB / 331.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.1632, allocations: 0 / 331.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1632, allocations: 0 / 331.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1632, allocations: 3.938 kB / 331.4 MB, free: 15.5 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.001866/0.1651, allocations: 0.6613 MB / 332 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.1652, allocations: 12.03 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1653, allocations: 36.56 kB / 332.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1659, allocations: 284.5 kB / 332.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.1659, allocations: 16.94 kB / 332.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.166, allocations: 24.36 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.1668, allocations: 265.1 kB / 332.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1668, allocations: 0 / 332.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1668, allocations: 16 kB / 332.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1669, allocations: 4 kB / 332.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.1677, allocations: 274 kB / 333 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1698, allocations: 0.9133 MB / 333.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.1707, allocations: 238.5 kB / 334.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.171, allocations: 112.7 kB / 334.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.1711, allocations: 0 / 334.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.1718, allocations: 189.7 kB / 334.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.1718, allocations: 0 / 334.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002378/0.1742, allocations: 0.6121 MB / 335 MB, free: 11.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.1744, allocations: 106.8 kB / 335.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.1748, allocations: 274.5 kB / 335.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.1749, allocations: 25.7 kB / 335.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1751, allocations: 183.8 kB / 335.6 MB, free: 11.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.1752, allocations: 51.3 kB / 335.6 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1753, allocations: 45.61 kB / 335.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003129/0.1756, allocations: 338.8 kB / 336 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.176, allocations: 105 kB / 336.1 MB, free: 10.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.1764, allocations: 168.1 kB / 336.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.1771, allocations: 259.5 kB / 336.5 MB, free: 10 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1771, allocations: 0 / 336.5 MB, free: 10 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001304/0.1784, allocations: 427.6 kB / 336.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/0.1785, allocations: 37.69 kB / 337 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1785, allocations: 0 / 337 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.1792, allocations: 112.8 kB / 337.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.1794, allocations: 43.95 kB / 337.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.1823, allocations: 1.9 MB / 339 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.1828, allocations: 47.75 kB / 339.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1829, allocations: 8 kB / 339.1 MB, free: 7.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004998/0.1834, allocations: 188.3 kB / 339.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003342/0.1837, allocations: 152.1 kB / 339.4 MB, free: 6.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005763/0.1843, allocations: 247.4 kB / 339.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.1843, allocations: 0 / 339.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008559/0.1852, allocations: 351.5 kB / 340 MB, free: 6.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.1853, allocations: 33.7 kB / 340 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1853, allocations: 4 kB / 340 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.1855, allocations: 45.02 kB / 340.1 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1857, allocations: 43.97 kB / 340.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.1879, allocations: 1.728 MB / 341.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.1884, allocations: 44 kB / 341.9 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.1884, allocations: 12.06 kB / 341.9 MB, free: 4.223 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.1887, allocations: 197.5 kB / 342.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.1888, allocations: 23.72 kB / 342.1 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.1889, allocations: 30.11 kB / 342.2 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1889, allocations: 4 kB / 342.2 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1889, allocations: 0 / 342.2 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1889, allocations: 3.938 kB / 342.2 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1894, allocations: 317.2 kB / 342.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1894, allocations: 4 kB / 342.5 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1897, allocations: 31.97 kB / 342.5 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.1901, allocations: 60.81 kB / 342.6 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.1901, allocations: 4 kB / 342.6 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.1922, allocations: 1.719 MB / 344.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1923, allocations: 4.062 kB / 344.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.1935, allocations: 434.1 kB / 344.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.1937, allocations: 104.8 kB / 344.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.1937, allocations: 8 kB / 344.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.194, allocations: 23.97 kB / 344.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1942, allocations: 32.02 kB / 344.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1942, allocations: 4 kB / 344.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.1945, allocations: 194 kB / 345.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1945, allocations: 4 kB / 345.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000724/0.1952, allocations: 131.7 kB / 345.2 MB, free: 0.6836 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.1955, allocations: 107.1 kB / 345.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1974, allocations: 0.7142 MB / 346 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.1975, allocations: 4.062 kB / 346 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.1981, allocations: 238.5 kB / 346.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1985, allocations: 52.47 kB / 346.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2, allocations: 0.6269 MB / 346.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.2005, allocations: 0.7599 MB / 347.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.2007, allocations: 26.28 kB / 347.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.2008, allocations: 23.44 kB / 347.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of SimCode: time 3.246e-06/0.2008, allocations: 0 / 347.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01349/0.2143, allocations: 4.411 MB / 352.2 MB, free: 9.602 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)