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.001462/0.001462, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.001784/0.001784, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.886/1.886, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005707/0.0005712, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1337, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003835/0.1377, allocations: 2.495 MB / 330.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1397, allocations: 0.745 MB / 331.6 MB, free: 500 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.14, allocations: 8 kB / 331.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1402, allocations: 39.69 kB / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1404, allocations: 79.38 kB / 331.7 MB, free: 372 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1408, allocations: 87.84 kB / 331.8 MB, free: 284 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000519/0.1413, allocations: 366.4 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.1416, allocations: 85.28 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1419, allocations: 127.4 kB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1421, allocations: 147.3 kB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.1422, allocations: 16 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.115e-05/0.1423, allocations: 16 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.1424, allocations: 55.7 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.1426, allocations: 164.9 kB / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1431, allocations: 334.9 kB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1431, allocations: 4 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.1431, allocations: 0 / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1431, allocations: 0 / 333.1 MB, free: 14.98 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.001483/0.1446, allocations: 0.6303 MB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.1447, allocations: 11.97 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.1448, allocations: 32.56 kB / 333.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.1452, allocations: 296.4 kB / 334 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.1453, allocations: 20.92 kB / 334 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.1454, allocations: 20.38 kB / 334.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.1461, allocations: 281.1 kB / 334.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1461, allocations: 0 / 334.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.1462, allocations: 12 kB / 334.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1462, allocations: 4 kB / 334.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009067/0.1471, allocations: 306 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1488, allocations: 0.9142 MB / 335.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.1497, allocations: 395.7 kB / 336 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.1501, allocations: 148.8 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1502, allocations: 0 / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.1508, allocations: 213.7 kB / 336.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.1508, allocations: 0 / 336.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002157/0.1529, allocations: 0.6969 MB / 337 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.153, allocations: 110.8 kB / 337.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1534, allocations: 266.5 kB / 337.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.1534, allocations: 29.7 kB / 337.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1536, allocations: 176 kB / 337.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.1537, allocations: 67.09 kB / 337.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1538, allocations: 25.72 kB / 337.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.154, allocations: 334.8 kB / 338 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.1544, allocations: 124.1 kB / 338.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.1547, allocations: 180.1 kB / 338.3 MB, free: 9.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.1554, allocations: 311.5 kB / 338.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1554, allocations: 0 / 338.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001157/0.1566, allocations: 483.4 kB / 339.1 MB, free: 8.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.1567, allocations: 163.9 kB / 339.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1568, allocations: 7.984 kB / 339.2 MB, free: 8.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.1573, allocations: 116.8 kB / 339.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1576, allocations: 71.89 kB / 339.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.1594, allocations: 1.499 MB / 340.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.1598, allocations: 55.8 kB / 341 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1598, allocations: 20 kB / 341 MB, free: 6.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.1599, allocations: 4 kB / 341 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007784/0.1607, allocations: 326.2 kB / 341.3 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1607, allocations: 0 / 341.3 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.078e-05/0.1608, allocations: 24.84 kB / 341.3 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.161, allocations: 71.92 kB / 341.4 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1621, allocations: 1.389 MB / 342.8 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.1625, allocations: 47.72 kB / 342.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.1625, allocations: 12 kB / 342.9 MB, free: 4.488 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.0002285/0.1627, allocations: 217.2 kB / 343.1 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.1628, allocations: 31.64 kB / 343.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.1628, allocations: 26.19 kB / 343.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1628, allocations: 0 / 343.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1629, allocations: 0 / 343.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1629, allocations: 3.984 kB / 343.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.1642, allocations: 0.7652 MB / 343.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1643, allocations: 0 / 343.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.1645, allocations: 43.97 kB / 343.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.1647, allocations: 68.72 kB / 344 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1648, allocations: 0 / 344 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.1664, allocations: 1.491 MB / 345.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1664, allocations: 0 / 345.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1677, allocations: 0.57 MB / 346.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.1678, allocations: 108.8 kB / 346.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.1678, allocations: 4 kB / 346.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.1681, allocations: 40.03 kB / 346.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1683, allocations: 27.91 kB / 346.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1683, allocations: 7.984 kB / 346.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.1685, allocations: 193.9 kB / 346.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.62e-07/0.1685, allocations: 4 kB / 346.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000612/0.1691, allocations: 123.8 kB / 346.6 MB, free: 0.5391 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.0002132/0.1693, allocations: 111.2 kB / 346.7 MB, free: 432 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1709, allocations: 0.7385 MB / 347.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1709, allocations: 4.25 kB / 347.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.1714, allocations: 242.6 kB / 347.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1719, allocations: 60.52 kB / 347.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1732, allocations: 0.6947 MB / 348.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1736, allocations: 0.7599 MB / 349.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1737, allocations: 30.27 kB / 349.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.1738, allocations: 23.44 kB / 349.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1738, allocations: 0 / 349.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008889/0.1827, allocations: 3.865 MB / 353.1 MB, free: 9.891 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)