Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001439, 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.001173/0.001173, allocations: 194.7 kB / 16.14 MB, free: 6.664 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.797/1.797, allocations: 205.1 MB / 222 MB, free: 4.969 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.001858/0.001858, allocations: 56.27 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4554, allocations: 46.62 MB / 324.7 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.007602/0.4631, allocations: 2.747 MB / 327.4 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.4664, allocations: 0.7167 MB / 328.2 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007627/0.4673, allocations: 7.469 kB / 328.2 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.4677, allocations: 35.66 kB / 328.2 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007503/0.4685, allocations: 68.12 kB / 328.3 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.4692, allocations: 85.84 kB / 328.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.4703, allocations: 330.3 kB / 328.7 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.4709, allocations: 67.22 kB / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.4715, allocations: 120.6 kB / 328.8 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.4721, allocations: 148.2 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.4722, allocations: 17.56 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.4724, allocations: 18.09 kB / 329 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.4725, allocations: 50.98 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.4729, allocations: 124 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.4736, allocations: 314.7 kB / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4736, allocations: 0 / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4736, allocations: 0 / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4736, allocations: 0 / 329.5 MB, free: 14.17 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.002516/0.4762, allocations: 0.6379 MB / 330.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.844e-05/0.4763, allocations: 13 kB / 330.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.4766, allocations: 31.38 kB / 330.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.4773, allocations: 270.7 kB / 330.5 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.4774, allocations: 18.25 kB / 330.5 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.4775, allocations: 17.59 kB / 330.5 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4787, allocations: 250.4 kB / 330.7 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4788, allocations: 4 kB / 330.7 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.4788, allocations: 6.125 kB / 330.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.4789, allocations: 4.844 kB / 330.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4803, allocations: 261.6 kB / 331 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.4833, allocations: 0.8228 MB / 331.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4843, allocations: 270 kB / 332.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.4848, allocations: 92.34 kB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.4848, allocations: 5.219 kB / 332.2 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/0.4857, allocations: 157.6 kB / 332.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/0.4858, allocations: 0 / 332.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002747/0.4885, allocations: 0.5341 MB / 332.9 MB, free: 11.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4887, allocations: 104.6 kB / 333 MB, free: 11.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.4892, allocations: 270.8 kB / 333.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.4893, allocations: 28.36 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.4895, allocations: 186.2 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.4896, allocations: 33.14 kB / 333.5 MB, free: 11.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4898, allocations: 54.95 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.49, allocations: 339.4 kB / 333.9 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.4904, allocations: 99.28 kB / 334 MB, free: 10.61 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.4909, allocations: 184.8 kB / 334.1 MB, free: 10.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.4918, allocations: 284.6 kB / 334.4 MB, free: 10.06 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4918, allocations: 0 / 334.4 MB, free: 10.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001542/0.4933, allocations: 415.8 kB / 334.8 MB, free: 9.637 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.4934, allocations: 33.7 kB / 334.9 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.4935, allocations: 0 / 334.9 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.4941, allocations: 96.78 kB / 335 MB, free: 9.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.4945, allocations: 51.91 kB / 335 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.4971, allocations: 1.448 MB / 336.5 MB, free: 7.859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.4977, allocations: 55.77 kB / 336.5 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.4978, allocations: 15.98 kB / 336.5 MB, free: 7.789 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005172/0.4983, allocations: 176.1 kB / 336.7 MB, free: 7.613 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000423/0.4987, allocations: 177.1 kB / 336.9 MB, free: 7.395 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007173/0.4995, allocations: 264.8 kB / 337.1 MB, free: 7.09 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.336e-06/0.4995, allocations: 4 kB / 337.1 MB, free: 7.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.00111/0.5006, allocations: 335.5 kB / 337.5 MB, free: 6.742 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.5007, allocations: 41.69 kB / 337.5 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5007, allocations: 0 / 337.5 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.5009, allocations: 25.23 kB / 337.5 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5012, allocations: 55.89 kB / 337.6 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.5029, allocations: 1.373 MB / 339 MB, free: 5.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.5035, allocations: 43.81 kB / 339 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5036, allocations: 8 kB / 339 MB, free: 5.055 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * 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: 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.0002772/0.5038, allocations: 200.7 kB / 339.2 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.5039, allocations: 31.8 kB / 339.2 MB, free: 4.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.504, allocations: 21.66 kB / 339.3 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.504, allocations: 4 kB / 339.3 MB, free: 4.801 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.504, allocations: 3.984 kB / 339.3 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.504, allocations: 0 / 339.3 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5055, allocations: 0.6123 MB / 339.9 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5055, allocations: 0 / 339.9 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.5056, allocations: 28 kB / 339.9 MB, free: 4.098 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.5059, allocations: 56.8 kB / 340 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.5059, allocations: 0 / 340 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.508, allocations: 1.436 MB / 341.4 MB, free: 2.469 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.5081, allocations: 7.922 kB / 341.4 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5092, allocations: 340.1 kB / 341.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5095, allocations: 120.6 kB / 341.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.5096, allocations: 0 / 341.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.5099, allocations: 31.95 kB / 341.9 MB, free: 1.941 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5101, allocations: 19.92 kB / 341.9 MB, free: 1.922 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.5101, allocations: 4 kB / 341.9 MB, free: 1.918 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.5104, allocations: 193.9 kB / 342.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5104, allocations: 0 / 342.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001001/0.5114, allocations: 123.8 kB / 342.2 MB, free: 1.605 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.0002277/0.5117, allocations: 95.39 kB / 342.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.5137, allocations: 0.6535 MB / 343 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5138, allocations: 4 kB / 343 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.5144, allocations: 214.5 kB / 343.2 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.5151, allocations: 40.53 kB / 343.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.5169, allocations: 0.5106 MB / 343.7 MB, free: 4 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.5176, allocations: 0.7444 MB / 344.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.5179, allocations: 26.28 kB / 344.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.518, allocations: 27.38 kB / 344.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.584e-06/0.5181, allocations: 0 / 344.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of Templates: time 0.01207/0.5301, allocations: 3.547 MB / 348.1 MB, free: 11.63 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)