Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 115.2 kB / 16.63 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.001596/0.001596, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.743/1.743, 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.002096/0.002096, allocations: 39.94 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1496, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004465/0.1541, allocations: 2.651 MB / 328.8 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1557, allocations: 0.6982 MB / 329.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1559, allocations: 7.938 kB / 329.5 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1561, allocations: 27.77 kB / 329.5 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1563, allocations: 71.45 kB / 329.6 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1566, allocations: 79.94 kB / 329.7 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.157, allocations: 330.7 kB / 330 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1573, allocations: 76.72 kB / 330.1 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1575, allocations: 127.5 kB / 330.2 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1576, allocations: 135.4 kB / 330.3 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.1577, allocations: 28 kB / 330.4 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.1577, allocations: 28 kB / 330.4 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.1578, allocations: 67.69 kB / 330.5 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1579, allocations: 135.3 kB / 330.6 MB, free: 324 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1583, allocations: 299.2 kB / 330.9 MB, free: 24 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1583, allocations: 0 / 330.9 MB, free: 24 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1584, allocations: 0 / 330.9 MB, free: 24 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1584, allocations: 0 / 330.9 MB, free: 24 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.00135/0.1597, allocations: 0.6182 MB / 331.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1598, allocations: 8.031 kB / 331.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.1598, allocations: 24.66 kB / 331.5 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.1602, allocations: 275.4 kB / 331.8 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1602, allocations: 16.75 kB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.1603, allocations: 16.38 kB / 331.8 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.1608, allocations: 248.5 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1609, allocations: 3.938 kB / 332.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1609, allocations: 8 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1609, allocations: 4 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.1616, allocations: 251.5 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.1631, allocations: 0.8247 MB / 333.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007986/0.1639, allocations: 230.5 kB / 333.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.1642, allocations: 92.78 kB / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1642, allocations: 0 / 333.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.1647, allocations: 165 kB / 333.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.1647, allocations: 0 / 333.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009138/0.1656, allocations: 289.2 kB / 333.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.1657, allocations: 81.11 kB / 334 MB, free: 12.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1659, allocations: 236.9 kB / 334.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.166, allocations: 33.7 kB / 334.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1661, allocations: 167.9 kB / 334.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.1662, allocations: 35.45 kB / 334.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.1662, allocations: 41.7 kB / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1664, allocations: 330.8 kB / 334.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.1667, allocations: 96.78 kB / 334.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.167, allocations: 150.7 kB / 335.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.1675, allocations: 246.6 kB / 335.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1676, allocations: 0 / 335.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008175/0.1684, allocations: 310.8 kB / 335.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.1684, allocations: 33.69 kB / 335.6 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1684, allocations: 4 kB / 335.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1685, allocations: 0 / 335.6 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.1687, allocations: 59.89 kB / 335.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1687, allocations: 4.188 kB / 335.7 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.169, allocations: 39.72 kB / 335.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.169, allocations: 12 kB / 335.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.1694, allocations: 172.1 kB / 335.9 MB, free: 10.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002685/0.1696, allocations: 142.7 kB / 336.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004778/0.1701, allocations: 226.7 kB / 336.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.1701, allocations: 3.938 kB / 336.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006064/0.1707, allocations: 282.8 kB / 336.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.1708, allocations: 41.69 kB / 336.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1708, allocations: 7.938 kB / 336.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/0.1708, allocations: 0 / 336.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.171, allocations: 43.97 kB / 336.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.171, allocations: 4 kB / 336.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1713, allocations: 36.06 kB / 336.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1713, allocations: 11.94 kB / 336.7 MB, free: 9.777 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001351/0.1714, allocations: 204.1 kB / 336.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1715, allocations: 19.81 kB / 336.9 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.1715, allocations: 17.84 kB / 336.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1715, allocations: 0 / 336.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1716, allocations: 8 kB / 337 MB, free: 9.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1716, allocations: 3.984 kB / 337 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1719, allocations: 285.4 kB / 337.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1719, allocations: 4 kB / 337.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1721, allocations: 43.89 kB / 337.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1721, allocations: 0 / 337.3 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.1721, allocations: 4 kB / 337.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1721, allocations: 4 kB / 337.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1721, allocations: 0 / 337.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.173, allocations: 345.1 kB / 337.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.1731, allocations: 100.8 kB / 337.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1732, allocations: 8.062 kB / 337.7 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1734, allocations: 23.97 kB / 337.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.1735, allocations: 23.97 kB / 337.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1735, allocations: 0 / 337.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.1738, allocations: 176.5 kB / 338 MB, free: 8.441 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.1738, allocations: 0 / 338 MB, free: 8.441 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.1742, allocations: 103.7 kB / 338.1 MB, free: 8.34 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000177/0.1744, allocations: 99.25 kB / 338.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1755, allocations: 440 kB / 338.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1755, allocations: 0 / 338.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.1758, allocations: 91.88 kB / 338.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1762, allocations: 44.27 kB / 338.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1775, allocations: 0.5561 MB / 339.3 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.1781, allocations: 0.7402 MB / 340 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1782, allocations: 29.92 kB / 340 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.1783, allocations: 19.44 kB / 340.1 MB, free: 6.25 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1783, allocations: 0 / 340.1 MB, free: 6.25 MB / 286.1 MB Notification: Performance of Templates: time 0.008432/0.1868, allocations: 2.875 MB / 342.9 MB, free: 3.383 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1)