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.0008864/0.0008865, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001011/0.001011, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004918, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3062, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002687/0.3089, allocations: 2.289 MB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.3102, allocations: 0.6851 MB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3103, allocations: 2.875 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3105, allocations: 31.7 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3106, allocations: 80.62 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3109, allocations: 67.06 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3113, allocations: 311.6 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.3114, allocations: 68.73 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3116, allocations: 111.3 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3118, allocations: 128.1 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.3118, allocations: 14.66 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3119, allocations: 19.44 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.312, allocations: 45.55 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.312, allocations: 77.05 kB / 330.4 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3123, allocations: 238 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3123, allocations: 0 / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3123, allocations: 0 / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3123, allocations: 0 / 330.6 MB, free: 14.22 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.00121/0.3136, allocations: 0.6077 MB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3136, allocations: 9.688 kB / 331.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.3137, allocations: 30.66 kB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3141, allocations: 268.9 kB / 331.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.3142, allocations: 16.94 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.3142, allocations: 21.67 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.3148, allocations: 258.2 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3148, allocations: 0 / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3149, allocations: 6.281 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3149, allocations: 8.938 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.3157, allocations: 291.7 kB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3172, allocations: 0.84 MB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.3179, allocations: 311.2 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3182, allocations: 105.8 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3182, allocations: 1.25 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004832/0.3187, allocations: 184.5 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3187, allocations: 0 / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001797/0.3205, allocations: 0.6433 MB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.3206, allocations: 102.8 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.3209, allocations: 274.5 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.321, allocations: 25.7 kB / 334.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3211, allocations: 195.6 kB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3212, allocations: 27.56 kB / 334.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.3212, allocations: 8 kB / 334.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3214, allocations: 334.8 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3217, allocations: 107.9 kB / 335.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.322, allocations: 196.8 kB / 335.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3224, allocations: 153.6 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3224, allocations: 0 / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001133/0.3235, allocations: 467.8 kB / 336.1 MB, free: 9.547 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.3237, allocations: 197 kB / 336.2 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3238, allocations: 7.953 kB / 336.3 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.3241, allocations: 68.84 kB / 336.3 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3243, allocations: 51.91 kB / 336.4 MB, free: 9.176 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.3264, allocations: 1.499 MB / 337.9 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3268, allocations: 63.72 kB / 337.9 MB, free: 7.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3268, allocations: 15.98 kB / 338 MB, free: 7.457 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.3268, allocations: 0 / 338 MB, free: 7.457 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006895/0.3275, allocations: 322.5 kB / 338.3 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3275, allocations: 4 kB / 338.3 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/0.3276, allocations: 24.84 kB / 338.3 MB, free: 7.102 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3278, allocations: 55.89 kB / 338.3 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.3289, allocations: 1.385 MB / 339.7 MB, free: 5.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.3292, allocations: 47.91 kB / 339.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3292, allocations: 16 kB / 339.8 MB, free: 5.465 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002429/0.3295, allocations: 216.8 kB / 340 MB, free: 5.242 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3295, allocations: 23.77 kB / 340 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.3296, allocations: 21.7 kB / 340.1 MB, free: 5.203 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3296, allocations: 4 kB / 340.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3296, allocations: 4 kB / 340.1 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3296, allocations: 0 / 340.1 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3307, allocations: 0.659 MB / 340.7 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3307, allocations: 4 kB / 340.7 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.3309, allocations: 31.97 kB / 340.8 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.331, allocations: 56.77 kB / 340.8 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.331, allocations: 0 / 340.8 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.3326, allocations: 1.488 MB / 342.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3326, allocations: 4.062 kB / 342.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.3334, allocations: 407.8 kB / 342.7 MB, free: 2.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.3337, allocations: 104.7 kB / 342.8 MB, free: 2.219 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.3337, allocations: 8 kB / 342.8 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.334, allocations: 39.92 kB / 342.8 MB, free: 2.172 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.334, allocations: 19.97 kB / 342.9 MB, free: 2.152 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3341, allocations: 4 kB / 342.9 MB, free: 2.148 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3343, allocations: 194 kB / 343.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3343, allocations: 0 / 343.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.3349, allocations: 107.8 kB / 343.2 MB, free: 1.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.3351, allocations: 107.2 kB / 343.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.3365, allocations: 0.7085 MB / 344 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3365, allocations: 256 / 344 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.3369, allocations: 226.5 kB / 344.2 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3373, allocations: 40.77 kB / 344.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3384, allocations: 0.5176 MB / 344.8 MB, free: 172 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.3389, allocations: 0.7444 MB / 345.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3391, allocations: 30.22 kB / 345.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.3392, allocations: 23.44 kB / 345.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3392, allocations: 0 / 345.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of Templates: time 0.007763/0.347, allocations: 3.402 MB / 349 MB, free: 11.95 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)