Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 102.6 kB / 16.62 MB, free: 6.809 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.001374/0.001374, allocations: 189.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.899/1.899, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00187/0.00187, allocations: 51.94 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1489, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00554/0.1545, allocations: 2.659 MB / 328.8 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1564, allocations: 0.6944 MB / 329.5 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.1569, allocations: 4 kB / 329.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1572, allocations: 27.77 kB / 329.5 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1577, allocations: 71.45 kB / 329.6 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1581, allocations: 75.94 kB / 329.7 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.1588, allocations: 330.6 kB / 330 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.1591, allocations: 76.73 kB / 330.1 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1595, allocations: 127.5 kB / 330.2 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.1599, allocations: 143.3 kB / 330.3 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.83e-05/0.16, allocations: 28 kB / 330.4 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.1601, allocations: 28 kB / 330.4 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.1602, allocations: 67.69 kB / 330.5 MB, free: 464 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.1604, allocations: 131.4 kB / 330.6 MB, free: 332 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.1609, allocations: 303.2 kB / 330.9 MB, free: 28 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1609, allocations: 3.938 kB / 330.9 MB, free: 24 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1609, allocations: 4 kB / 330.9 MB, free: 20 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.161, allocations: 0 / 330.9 MB, free: 20 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001523/0.1625, allocations: 0.6104 MB / 331.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1625, allocations: 12.03 kB / 331.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1627, allocations: 24.66 kB / 331.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.1631, allocations: 275.4 kB / 331.8 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1631, allocations: 12.75 kB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.1632, allocations: 24.36 kB / 331.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.1639, allocations: 240.6 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.164, allocations: 0 / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.164, allocations: 12 kB / 332.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.164, allocations: 4 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.1648, allocations: 247.5 kB / 332.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.1666, allocations: 0.8247 MB / 333.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.1675, allocations: 226.6 kB / 333.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1678, allocations: 96.78 kB / 333.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1678, allocations: 4 kB / 333.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/0.1684, allocations: 157 kB / 333.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.003e-06/0.1684, allocations: 0 / 333.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001827/0.1703, allocations: 0.5458 MB / 334.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1703, allocations: 85.09 kB / 334.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1707, allocations: 232.9 kB / 334.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.1707, allocations: 33.7 kB / 334.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1709, allocations: 167.9 kB / 334.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1709, allocations: 35.45 kB / 334.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.171, allocations: 41.7 kB / 334.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1712, allocations: 338.8 kB / 335.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1715, allocations: 96.72 kB / 335.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1719, allocations: 138.8 kB / 335.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.1725, allocations: 254.9 kB / 335.6 MB, free: 11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1725, allocations: 0 / 335.6 MB, free: 11 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001056/0.1736, allocations: 375.6 kB / 335.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.1736, allocations: 45.88 kB / 336 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1736, allocations: 0 / 336 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.1741, allocations: 92.64 kB / 336.1 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1744, allocations: 51.89 kB / 336.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.1766, allocations: 1.566 MB / 337.7 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.177, allocations: 43.86 kB / 337.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.177, allocations: 8 kB / 337.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003643/0.1774, allocations: 172.1 kB / 337.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002864/0.1777, allocations: 142.7 kB / 338 MB, free: 8.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004878/0.1782, allocations: 219.6 kB / 338.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.1782, allocations: 0 / 338.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007036/0.1789, allocations: 310.8 kB / 338.6 MB, free: 7.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.179, allocations: 37.69 kB / 338.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.179, allocations: 0 / 338.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.531e-05/0.1791, allocations: 24.84 kB / 338.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.1793, allocations: 44.06 kB / 338.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1805, allocations: 1.552 MB / 340.2 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.1808, allocations: 35.81 kB / 340.3 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1809, allocations: 8 kB / 340.3 MB, free: 5.918 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 (20): * Single equations (assignments): 18 * 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.000169/0.181, allocations: 188.2 kB / 340.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1811, allocations: 27.73 kB / 340.5 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1811, allocations: 26 kB / 340.5 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1812, allocations: 3.984 kB / 340.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1812, allocations: 0 / 340.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1812, allocations: 3.984 kB / 340.5 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1815, allocations: 293.3 kB / 340.8 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1815, allocations: 0 / 340.8 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.1817, allocations: 31.97 kB / 340.8 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.1819, allocations: 48.81 kB / 340.9 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.1819, allocations: 4 kB / 340.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.1835, allocations: 1.543 MB / 342.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1835, allocations: 0 / 342.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1846, allocations: 393.5 kB / 342.8 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.1847, allocations: 104.8 kB / 342.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1847, allocations: 0 / 342.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1849, allocations: 36.03 kB / 342.9 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.185, allocations: 20.11 kB / 343 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1851, allocations: 4 kB / 343 MB, free: 2.977 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1852, allocations: 172.5 kB / 343.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1853, allocations: 0 / 343.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005048/0.1858, allocations: 107.7 kB / 343.2 MB, free: 2.703 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.186, allocations: 111.2 kB / 343.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.1874, allocations: 0.6565 MB / 344 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1874, allocations: 0 / 344 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.1878, allocations: 218.5 kB / 344.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1882, allocations: 48.66 kB / 344.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1894, allocations: 0.5676 MB / 344.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.1898, allocations: 0.7402 MB / 345.6 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.19, allocations: 25.94 kB / 345.6 MB, free: 224 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.1901, allocations: 23.44 kB / 345.6 MB, free: 200 kB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1901, allocations: 0 / 345.6 MB, free: 200 kB / 286.1 MB Notification: Performance of Templates: time 0.008238/0.1983, allocations: 3.57 MB / 349.2 MB, free: 12.63 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)