Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001854/0.001855, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.838/1.838, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001494/0.001494, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3185, allocations: 46.63 MB / 325.3 MB, free: 1.898 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005846/0.3244, allocations: 2.709 MB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3267, allocations: 0.7093 MB / 328.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.327, allocations: 4.344 kB / 328.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.3272, allocations: 47.28 kB / 328.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.3275, allocations: 83.27 kB / 328.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.328, allocations: 91.69 kB / 329 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.3286, allocations: 351.7 kB / 329.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.3289, allocations: 81.89 kB / 329.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3292, allocations: 124.5 kB / 329.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.3295, allocations: 155.7 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.3296, allocations: 29.22 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.3297, allocations: 30.34 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3298, allocations: 62.27 kB / 329.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.33, allocations: 139.9 kB / 329.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.3306, allocations: 326.6 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3306, allocations: 4 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3306, allocations: 3.938 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3306, allocations: 0 / 330.2 MB, free: 14.14 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.001749/0.3324, allocations: 0.634 MB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3324, allocations: 8.812 kB / 330.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3326, allocations: 31.59 kB / 330.9 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.333, allocations: 279 kB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.3331, allocations: 17.33 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.3332, allocations: 22.06 kB / 331.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.3341, allocations: 250 kB / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3341, allocations: 0 / 331.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.3342, allocations: 14.02 kB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3342, allocations: 4.625 kB / 331.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3353, allocations: 257.7 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3375, allocations: 0.8229 MB / 332.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009191/0.3385, allocations: 270.4 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.3389, allocations: 84.92 kB / 332.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.3389, allocations: 13.12 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/0.3396, allocations: 157.1 kB / 333.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.3396, allocations: 0 / 333.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002636/0.3422, allocations: 0.5308 MB / 333.6 MB, free: 11.41 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.3423, allocations: 110.8 kB / 333.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.3428, allocations: 266.5 kB / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3429, allocations: 29.7 kB / 334 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.3431, allocations: 183.7 kB / 334.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3431, allocations: 35.55 kB / 334.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3433, allocations: 57.55 kB / 334.3 MB, free: 10.69 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3435, allocations: 330.8 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.3439, allocations: 92.78 kB / 334.7 MB, free: 10.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.3445, allocations: 188.7 kB / 334.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.3455, allocations: 280.7 kB / 335.1 MB, free: 9.715 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3455, allocations: 0 / 335.1 MB, free: 9.715 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00155/0.347, allocations: 411.8 kB / 335.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.3471, allocations: 37.7 kB / 335.6 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3471, allocations: 4 kB / 335.6 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.3478, allocations: 92.78 kB / 335.7 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.3481, allocations: 51.89 kB / 335.7 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.3505, allocations: 1.574 MB / 337.3 MB, free: 7.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.3511, allocations: 51.78 kB / 337.4 MB, free: 7.332 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.3511, allocations: 8 kB / 337.4 MB, free: 7.324 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004966/0.3516, allocations: 176.1 kB / 337.5 MB, free: 7.148 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004451/0.3521, allocations: 185.1 kB / 337.7 MB, free: 6.922 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007747/0.3529, allocations: 276.7 kB / 338 MB, free: 6.605 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.3529, allocations: 80 / 338 MB, free: 6.605 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001135/0.354, allocations: 331.6 kB / 338.3 MB, free: 6.266 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.3541, allocations: 33.7 kB / 338.3 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3541, allocations: 4 kB / 338.3 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.3542, allocations: 29.16 kB / 338.4 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3546, allocations: 55.95 kB / 338.4 MB, free: 6.137 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.3561, allocations: 1.544 MB / 340 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.3565, allocations: 43.81 kB / 340 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3565, allocations: 8 kB / 340 MB, free: 4.402 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.0001805/0.3567, allocations: 212.2 kB / 340.2 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3567, allocations: 19.72 kB / 340.3 MB, free: 4.168 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3568, allocations: 25.7 kB / 340.3 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3568, allocations: 0 / 340.3 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3568, allocations: 0 / 340.3 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3568, allocations: 0 / 340.3 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3584, allocations: 0.6121 MB / 340.9 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3584, allocations: 3.938 kB / 340.9 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3586, allocations: 23.97 kB / 340.9 MB, free: 3.449 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.3588, allocations: 48.83 kB / 341 MB, free: 3.398 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3589, allocations: 11.92 kB / 341 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.3609, allocations: 1.535 MB / 342.5 MB, free: 1.711 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3609, allocations: 0 / 342.5 MB, free: 1.711 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.362, allocations: 363.9 kB / 342.9 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3622, allocations: 100.8 kB / 343 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.3623, allocations: 0 / 343 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.3626, allocations: 39.95 kB / 343 MB, free: 1.18 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.3628, allocations: 19.92 kB / 343 MB, free: 1.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3628, allocations: 0 / 343 MB, free: 1.16 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.3631, allocations: 201.9 kB / 343.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3631, allocations: 0 / 343.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3642, allocations: 111.8 kB / 343.3 MB, free: 0.8555 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.000212/0.3644, allocations: 103.2 kB / 343.4 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3665, allocations: 0.6722 MB / 344.1 MB, free: 24 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3665, allocations: 0 / 344.1 MB, free: 24 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.3671, allocations: 203.3 kB / 344.3 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.3677, allocations: 44.53 kB / 344.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3691, allocations: 440.5 kB / 344.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.3696, allocations: 0.7521 MB / 345.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.3699, allocations: 30.22 kB / 345.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.214e-05/0.37, allocations: 23.44 kB / 345.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.37, allocations: 0 / 345.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Templates: time 0.01185/0.3819, allocations: 3.852 MB / 349.4 MB, free: 10.63 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)