Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001373/0.001373, allocations: 114.8 kB / 17.06 MB, free: 5.996 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.00142/0.00142, allocations: 198.8 kB / 18 MB, free: 5.074 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.597/1.597, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001389/0.001389, allocations: 63.91 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 46.61 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004875/0.1225, allocations: 2.695 MB / 377.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1242, allocations: 0.7212 MB / 377.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1244, allocations: 7.938 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.1246, allocations: 39.58 kB / 378 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1248, allocations: 91.25 kB / 378.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1251, allocations: 91.83 kB / 378.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.1255, allocations: 350.5 kB / 378.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1258, allocations: 84.7 kB / 378.6 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1259, allocations: 143.4 kB / 378.7 MB, free: 308 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1261, allocations: 147.3 kB / 378.9 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.1262, allocations: 28 kB / 378.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.1262, allocations: 28 kB / 378.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.1263, allocations: 59.83 kB / 379 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2227/0.349, allocations: 143.1 kB / 379.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.3497, allocations: 323.8 kB / 379.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.3497, allocations: 0 / 379.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3497, allocations: 0 / 379.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3497, allocations: 1.875 kB / 379.4 MB, free: 10.13 MB / 318.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.001647/0.3514, allocations: 0.6334 MB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.3515, allocations: 12.25 kB / 380.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3516, allocations: 31.69 kB / 380.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.3522, allocations: 278.2 kB / 380.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.3522, allocations: 19.09 kB / 380.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.3523, allocations: 18 kB / 380.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.353, allocations: 247.7 kB / 380.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.353, allocations: 3.938 kB / 380.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.353, allocations: 11.84 kB / 380.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.353, allocations: 6.688 kB / 380.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.3539, allocations: 250.9 kB / 380.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3555, allocations: 0.8116 MB / 381.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.3563, allocations: 271.8 kB / 382 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.3566, allocations: 87.94 kB / 382.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3567, allocations: 1.594 kB / 382.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005349/0.3572, allocations: 171.3 kB / 382.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.3572, allocations: 0 / 382.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002232/0.3595, allocations: 0.5264 MB / 382.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3595, allocations: 106.9 kB / 382.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.3599, allocations: 275.1 kB / 383.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3599, allocations: 27.27 kB / 383.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3601, allocations: 181.7 kB / 383.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3601, allocations: 40.06 kB / 383.4 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.3602, allocations: 47.05 kB / 383.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.3603, allocations: 345.8 kB / 383.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3606, allocations: 90.02 kB / 383.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.361, allocations: 194.2 kB / 384.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.3616, allocations: 282.2 kB / 384.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3617, allocations: 2.062 kB / 384.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00113/0.3628, allocations: 413.3 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.3628, allocations: 37.02 kB / 384.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3629, allocations: 9.266 kB / 384.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/0.3634, allocations: 93.66 kB / 384.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3637, allocations: 50.52 kB / 384.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3652, allocations: 1.566 MB / 386.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.3656, allocations: 48.59 kB / 386.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.3657, allocations: 13 kB / 386.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003484/0.366, allocations: 176.4 kB / 386.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003089/0.3663, allocations: 176.3 kB / 386.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005463/0.3669, allocations: 259.3 kB / 387.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.3669, allocations: 1.031 kB / 387.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007864/0.3677, allocations: 339.8 kB / 387.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3677, allocations: 37.12 kB / 387.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3677, allocations: 4.438 kB / 387.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-05/0.3678, allocations: 25.2 kB / 387.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3681, allocations: 51.58 kB / 387.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007551/0.3688, allocations: 1.547 MB / 389.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.3692, allocations: 52.12 kB / 389.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3692, allocations: 9.688 kB / 389.2 MB, free: 4.047 MB / 318.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.0001314/0.3693, allocations: 203.7 kB / 389.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3694, allocations: 23.48 kB / 389.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.3695, allocations: 23.67 kB / 389.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3695, allocations: 0.875 kB / 389.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3695, allocations: 6.781 kB / 389.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3695, allocations: 0.7969 kB / 389.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.3707, allocations: 0.6053 MB / 390.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3707, allocations: 0 / 390.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3709, allocations: 28.83 kB / 390.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3711, allocations: 46.16 kB / 390.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3711, allocations: 5.891 kB / 390.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.3724, allocations: 1.543 MB / 391.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3724, allocations: 5.016 kB / 391.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.3733, allocations: 360.1 kB / 392 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.3734, allocations: 105.7 kB / 392.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3734, allocations: 1.344 kB / 392.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3737, allocations: 34.84 kB / 392.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.3738, allocations: 20.09 kB / 392.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3738, allocations: 4.078 kB / 392.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.374, allocations: 190.2 kB / 392.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 0 / 392.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.3747, allocations: 116.6 kB / 392.5 MB, free: 1.523 MB / 318.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.0001231/0.3748, allocations: 109.5 kB / 392.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.3761, allocations: 0.663 MB / 393.3 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3761, allocations: 0 / 393.3 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.3765, allocations: 210.5 kB / 393.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3769, allocations: 50.25 kB / 393.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.378, allocations: 440.1 kB / 394 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3783, allocations: 0.7409 MB / 394.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3784, allocations: 30.75 kB / 394.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.3785, allocations: 21.88 kB / 394.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3785, allocations: 1.281 kB / 394.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Templates: time 0.008923/0.3874, allocations: 3.888 MB / 398.6 MB, free: 15.48 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)