Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001971/0.00197, allocations: 191.5 kB / 16.13 MB, free: 6.66 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.807/1.807, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.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.002315/0.002315, allocations: 51.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4103, allocations: 46.63 MB / 324.7 MB, free: 2.156 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005723/0.4161, allocations: 2.861 MB / 327.6 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.418, allocations: 0.7533 MB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4182, allocations: 3.625 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.4184, allocations: 36.19 kB / 328.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.4187, allocations: 80.75 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.4191, allocations: 92.72 kB / 328.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.4196, allocations: 360.8 kB / 328.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.4199, allocations: 85.97 kB / 329 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.4202, allocations: 143.6 kB / 329.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.4205, allocations: 152.7 kB / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.4206, allocations: 20.09 kB / 329.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.4207, allocations: 19.91 kB / 329.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4209, allocations: 63.59 kB / 329.3 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.4211, allocations: 142.1 kB / 329.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.4217, allocations: 345.5 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4217, allocations: 3.938 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4217, allocations: 0 / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.4217, allocations: 0 / 329.8 MB, free: 14.25 MB / 270.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.002007/0.4238, allocations: 0.6647 MB / 330.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.681e-05/0.4238, allocations: 9.562 kB / 330.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.424, allocations: 32.91 kB / 330.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.4244, allocations: 283.6 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.4245, allocations: 19.84 kB / 330.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.4245, allocations: 21.73 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.4253, allocations: 276.6 kB / 331.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4253, allocations: 0 / 331.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.4254, allocations: 6.719 kB / 331.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4254, allocations: 5 kB / 331.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.4263, allocations: 270.7 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4281, allocations: 0.8946 MB / 332.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.4291, allocations: 346 kB / 332.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.4296, allocations: 140 kB / 332.8 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.4297, allocations: 2.125 kB / 332.8 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.4302, allocations: 193.2 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.4303, allocations: 0 / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002025/0.4323, allocations: 0.5799 MB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4324, allocations: 102.8 kB / 333.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.4328, allocations: 278.5 kB / 333.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4328, allocations: 25.7 kB / 333.9 MB, free: 10.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.433, allocations: 183.9 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.4331, allocations: 59.19 kB / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.4332, allocations: 49.84 kB / 334.2 MB, free: 10.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4333, allocations: 342.8 kB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.4337, allocations: 105.5 kB / 334.7 MB, free: 10.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.4341, allocations: 168.1 kB / 334.8 MB, free: 9.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.4347, allocations: 267.5 kB / 335.1 MB, free: 9.551 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4348, allocations: 0 / 335.1 MB, free: 9.551 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001186/0.4359, allocations: 424.1 kB / 335.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.436, allocations: 37.7 kB / 335.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.436, allocations: 0 / 335.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/0.4366, allocations: 92.73 kB / 335.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.4369, allocations: 67.89 kB / 335.7 MB, free: 8.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.4389, allocations: 1.44 MB / 337.1 MB, free: 7.344 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.4393, allocations: 51.73 kB / 337.2 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.4394, allocations: 16.06 kB / 337.2 MB, free: 7.277 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004374/0.4398, allocations: 184.3 kB / 337.4 MB, free: 7.094 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003243/0.4402, allocations: 153 kB / 337.5 MB, free: 6.918 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000582/0.4408, allocations: 259.4 kB / 337.8 MB, free: 6.637 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.4408, allocations: 4 kB / 337.8 MB, free: 6.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007926/0.4416, allocations: 347.7 kB / 338.1 MB, free: 6.277 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.4416, allocations: 29.7 kB / 338.1 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4417, allocations: 7.938 kB / 338.2 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-05/0.4418, allocations: 24.84 kB / 338.2 MB, free: 6.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.442, allocations: 55.89 kB / 338.2 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.4432, allocations: 1.385 MB / 339.6 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.4436, allocations: 39.81 kB / 339.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4436, allocations: 12.09 kB / 339.7 MB, free: 4.578 MB / 270.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.0002363/0.4439, allocations: 200.1 kB / 339.9 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.4439, allocations: 27.7 kB / 339.9 MB, free: 4.348 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.444, allocations: 22.19 kB / 339.9 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.444, allocations: 4 kB / 339.9 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.444, allocations: 3.938 kB / 339.9 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4441, allocations: 7.922 kB / 339.9 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4457, allocations: 0.7143 MB / 340.6 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4457, allocations: 4.031 kB / 340.6 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.446, allocations: 43.91 kB / 340.7 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.4462, allocations: 44.81 kB / 340.7 MB, free: 3.445 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4463, allocations: 4 kB / 340.7 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.4479, allocations: 1.448 MB / 342.2 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.448, allocations: 0 / 342.2 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4492, allocations: 0.499 MB / 342.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4493, allocations: 108.8 kB / 342.8 MB, free: 1.215 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.4494, allocations: 8.062 kB / 342.8 MB, free: 1.207 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.4497, allocations: 31.91 kB / 342.8 MB, free: 1.176 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4498, allocations: 19.97 kB / 342.8 MB, free: 1.156 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.4498, allocations: 11.98 kB / 342.9 MB, free: 1.145 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.4501, allocations: 190 kB / 343 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4501, allocations: 0 / 343 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006898/0.4508, allocations: 131.7 kB / 343.2 MB, free: 0.832 MB / 270.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.0001869/0.451, allocations: 103.6 kB / 343.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.4527, allocations: 0.7029 MB / 344 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4527, allocations: 0 / 344 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.4533, allocations: 227.2 kB / 344.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.4538, allocations: 56.47 kB / 344.3 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4553, allocations: 0.6572 MB / 344.9 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.4557, allocations: 0.7599 MB / 345.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.4559, allocations: 34.22 kB / 345.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.456, allocations: 19.44 kB / 345.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.456, allocations: 3.938 kB / 345.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of Templates: time 0.009965/0.466, allocations: 3.895 MB / 349.6 MB, free: 10.25 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)