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.001305/0.001305, allocations: 103.3 kB / 16.62 MB, free: 6.805 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.001387/0.001388, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.742/1.742, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.0014/0.0014, allocations: 59.91 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004915/0.1326, allocations: 2.861 MB / 329 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1343, allocations: 0.7488 MB / 329.8 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1346, allocations: 4 kB / 329.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1348, allocations: 31.77 kB / 329.8 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.135, allocations: 87.31 kB / 329.9 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1353, allocations: 87.91 kB / 330 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1358, allocations: 390.4 kB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.136, allocations: 100.7 kB / 330.4 MB, free: 464 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1363, allocations: 155.3 kB / 330.6 MB, free: 308 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1365, allocations: 159.3 kB / 330.8 MB, free: 148 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.1366, allocations: 32 kB / 330.8 MB, free: 116 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.1366, allocations: 32 kB / 330.8 MB, free: 84 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1367, allocations: 67.77 kB / 330.9 MB, free: 16 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1369, allocations: 163.2 kB / 331 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.1373, allocations: 362.9 kB / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1373, allocations: 0 / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1373, allocations: 4 kB / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1373, allocations: 0 / 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.001411/0.1387, allocations: 0.6652 MB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1388, allocations: 8.031 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.1389, allocations: 40.56 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.1394, allocations: 276.6 kB / 332.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1394, allocations: 20.94 kB / 332.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.1395, allocations: 20.38 kB / 332.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.1401, allocations: 273.1 kB / 332.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1401, allocations: 0 / 332.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.1402, allocations: 12 kB / 332.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1402, allocations: 4 kB / 332.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007231/0.1409, allocations: 274 kB / 333 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1425, allocations: 0.8869 MB / 333.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.1433, allocations: 351.8 kB / 334.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1437, allocations: 128.7 kB / 334.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1437, allocations: 3.984 kB / 334.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.1444, allocations: 193.7 kB / 334.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.1444, allocations: 0 / 334.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002054/0.1464, allocations: 0.5761 MB / 335.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.1466, allocations: 114.8 kB / 335.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.147, allocations: 262.6 kB / 335.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.147, allocations: 33.7 kB / 335.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1472, allocations: 179.9 kB / 335.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.1473, allocations: 51.2 kB / 335.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1474, allocations: 53.84 kB / 335.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.1476, allocations: 338.8 kB / 336.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.148, allocations: 109.5 kB / 336.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.1484, allocations: 172 kB / 336.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.1491, allocations: 271.5 kB / 336.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1491, allocations: 4 kB / 336.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001138/0.1503, allocations: 419.6 kB / 337.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.1503, allocations: 37.64 kB / 337.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1503, allocations: 0 / 337.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.1508, allocations: 96.81 kB / 337.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1511, allocations: 59.89 kB / 337.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1529, allocations: 1.562 MB / 338.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.1533, allocations: 55.75 kB / 338.9 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.1533, allocations: 8 kB / 338.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000445/0.1538, allocations: 192.3 kB / 339.1 MB, free: 7.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000338/0.1541, allocations: 160.1 kB / 339.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005541/0.1547, allocations: 251.4 kB / 339.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.1547, allocations: 0 / 339.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008157/0.1555, allocations: 343.6 kB / 339.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.1556, allocations: 37.69 kB / 339.8 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1556, allocations: 0 / 339.8 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.1557, allocations: 28.84 kB / 339.9 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.156, allocations: 55.91 kB / 339.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1572, allocations: 1.556 MB / 341.5 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1575, allocations: 39.81 kB / 341.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1575, allocations: 12 kB / 341.5 MB, free: 4.609 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.0001958/0.1577, allocations: 196.2 kB / 341.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1578, allocations: 31.72 kB / 341.7 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.1579, allocations: 30.11 kB / 341.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1579, allocations: 4 kB / 341.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1579, allocations: 0 / 341.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1579, allocations: 0 / 341.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1592, allocations: 0.7104 MB / 342.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1592, allocations: 0 / 342.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1594, allocations: 51.89 kB / 342.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.1596, allocations: 48.84 kB / 342.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1596, allocations: 4 kB / 342.6 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.1612, allocations: 1.551 MB / 344.1 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1613, allocations: 4.031 kB / 344.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1624, allocations: 0.5038 MB / 344.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.1625, allocations: 100.9 kB / 344.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.1625, allocations: 8 kB / 344.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.1628, allocations: 31.91 kB / 344.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.1629, allocations: 19.97 kB / 344.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1629, allocations: 8 kB / 344.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1631, allocations: 197.9 kB / 345 MB, free: 0.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 0 / 345 MB, free: 0.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.1637, allocations: 135.7 kB / 345.1 MB, free: 0.7422 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.0001528/0.1639, allocations: 99.19 kB / 345.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.1653, allocations: 0.7106 MB / 346 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.1653, allocations: 4 kB / 346 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.1657, allocations: 239.2 kB / 346.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1662, allocations: 44.53 kB / 346.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1674, allocations: 0.6509 MB / 346.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1677, allocations: 0.756 MB / 347.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.1679, allocations: 38.2 kB / 347.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.1679, allocations: 19.44 kB / 347.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.168, allocations: 0 / 347.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.008096/0.1761, allocations: 4.15 MB / 351.8 MB, free: 9.906 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)