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.001138/0.001138, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01285/0.01285, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.95/1.95, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004916/0.0004917, allocations: 10.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3514, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003254/0.3548, allocations: 2.385 MB / 329.4 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3561, allocations: 0.7145 MB / 330.1 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3562, allocations: 2.938 kB / 330.1 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.3563, allocations: 28.17 kB / 330.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3565, allocations: 75.23 kB / 330.2 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.3568, allocations: 79.02 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.3572, allocations: 330.5 kB / 330.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.3574, allocations: 71.03 kB / 330.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3576, allocations: 119.6 kB / 330.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3578, allocations: 131.2 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.3579, allocations: 14.34 kB / 331 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.3579, allocations: 18.88 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.358, allocations: 43.14 kB / 331 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.3582, allocations: 153.7 kB / 331.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.3586, allocations: 309.4 kB / 331.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3586, allocations: 1.031 kB / 331.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3586, allocations: 4 kB / 331.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3586, allocations: 0 / 331.5 MB, free: 13.98 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.001303/0.3599, allocations: 0.6017 MB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.36, allocations: 9.25 kB / 332.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.3601, allocations: 27.91 kB / 332.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3604, allocations: 275.2 kB / 332.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3605, allocations: 16.44 kB / 332.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3605, allocations: 22.22 kB / 332.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.3612, allocations: 259.5 kB / 332.7 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3612, allocations: 4 kB / 332.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.3613, allocations: 10.16 kB / 332.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3613, allocations: 5.375 kB / 332.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.3621, allocations: 289.4 kB / 333 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3637, allocations: 0.851 MB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.3644, allocations: 307.4 kB / 334.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3648, allocations: 107.3 kB / 334.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3648, allocations: 5.188 kB / 334.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/0.3653, allocations: 176.4 kB / 334.4 MB, free: 11.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 3.216e-06/0.3653, allocations: 3.984 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001895/0.3672, allocations: 0.6473 MB / 335.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3673, allocations: 106.8 kB / 335.2 MB, free: 10.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.3676, allocations: 270.6 kB / 335.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3676, allocations: 25.7 kB / 335.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3678, allocations: 191.6 kB / 335.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3678, allocations: 27.56 kB / 335.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3679, allocations: 37.64 kB / 335.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.368, allocations: 334.8 kB / 336 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3684, allocations: 111.9 kB / 336.2 MB, free: 9.938 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.3688, allocations: 200.8 kB / 336.4 MB, free: 9.695 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.3695, allocations: 320.6 kB / 336.7 MB, free: 9.336 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3695, allocations: 4 kB / 336.7 MB, free: 9.332 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001119/0.3706, allocations: 467.8 kB / 337.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.3708, allocations: 201 kB / 337.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3708, allocations: 0 / 337.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.3712, allocations: 128.8 kB / 337.4 MB, free: 8.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3715, allocations: 55.89 kB / 337.5 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3732, allocations: 1.499 MB / 339 MB, free: 6.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.3736, allocations: 59.86 kB / 339.1 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3737, allocations: 20 kB / 339.1 MB, free: 6.711 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.3737, allocations: 4 kB / 339.1 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007317/0.3744, allocations: 326.5 kB / 339.4 MB, free: 6.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3744, allocations: 4 kB / 339.4 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.885e-05/0.3745, allocations: 24.84 kB / 339.4 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3747, allocations: 59.91 kB / 339.5 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009566/0.3757, allocations: 1.377 MB / 340.9 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.376, allocations: 51.84 kB / 340.9 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.376, allocations: 15.92 kB / 340.9 MB, free: 4.711 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.0002203/0.3762, allocations: 221 kB / 341.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.3763, allocations: 19.72 kB / 341.2 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.3763, allocations: 25.7 kB / 341.2 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3763, allocations: 0 / 341.2 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3763, allocations: 7.938 kB / 341.2 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3763, allocations: 4 kB / 341.2 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3776, allocations: 0.6513 MB / 341.9 MB, free: 3.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3776, allocations: 0 / 341.9 MB, free: 3.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3777, allocations: 39.91 kB / 341.9 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.3779, allocations: 52.83 kB / 341.9 MB, free: 3.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3779, allocations: 3.984 kB / 341.9 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.3794, allocations: 1.487 MB / 343.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3794, allocations: 4.062 kB / 343.4 MB, free: 2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.3802, allocations: 399.9 kB / 343.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3803, allocations: 108.8 kB / 343.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3803, allocations: 3.938 kB / 343.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.3806, allocations: 39.97 kB / 344 MB, free: 1.422 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3807, allocations: 23.91 kB / 344 MB, free: 1.398 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3807, allocations: 4 kB / 344 MB, free: 1.395 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.3809, allocations: 190 kB / 344.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3809, allocations: 3.938 kB / 344.2 MB, free: 1.203 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.3815, allocations: 115.8 kB / 344.3 MB, free: 1.09 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.0001565/0.3817, allocations: 103.2 kB / 344.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.3831, allocations: 0.7001 MB / 345.1 MB, free: 236 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3831, allocations: 320 / 345.1 MB, free: 236 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.3836, allocations: 238.5 kB / 345.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.384, allocations: 40.55 kB / 345.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.385, allocations: 0.5371 MB / 345.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3853, allocations: 0.7482 MB / 346.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3855, allocations: 34.31 kB / 346.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3855, allocations: 23.38 kB / 346.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3855, allocations: 4 kB / 346.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Templates: time 0.00759/0.3931, allocations: 3.497 MB / 350.2 MB, free: 11.06 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)