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.001214/0.001215, allocations: 86.8 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.001765/0.001765, 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.893/1.893, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0007156/0.000716, allocations: 14.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.288, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002623/0.2907, allocations: 2.287 MB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2918, allocations: 0.6794 MB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.292, allocations: 8.312 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2921, allocations: 32.11 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2923, allocations: 71.69 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.2926, allocations: 78.47 kB / 329.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.2929, allocations: 316.1 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.2932, allocations: 65.42 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2933, allocations: 106.3 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.2935, allocations: 127.8 kB / 330.2 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.2936, allocations: 15.16 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.2936, allocations: 19.38 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.2937, allocations: 50.08 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.2938, allocations: 68.48 kB / 330.4 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.294, allocations: 237.6 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.294, allocations: 4 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.294, allocations: 4 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.294, allocations: 1.156 kB / 330.6 MB, free: 14.21 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.001082/0.2951, allocations: 0.6035 MB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2952, allocations: 9.281 kB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.2953, allocations: 30.66 kB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2956, allocations: 265.5 kB / 331.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2956, allocations: 21.12 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.2957, allocations: 21.27 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.2963, allocations: 254 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2963, allocations: 4 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2964, allocations: 5.969 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2964, allocations: 5.406 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.2972, allocations: 287.6 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2988, allocations: 0.8551 MB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.2995, allocations: 311.1 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.2998, allocations: 98.08 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2998, allocations: 1.469 kB / 333.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.3003, allocations: 187.7 kB / 333.6 MB, free: 12.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.3003, allocations: 0 / 333.6 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001739/0.302, allocations: 0.6441 MB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.3021, allocations: 102.8 kB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.3024, allocations: 270.5 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3024, allocations: 33.69 kB / 334.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3026, allocations: 179.7 kB / 334.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.3026, allocations: 31.56 kB / 334.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.3026, allocations: 8 kB / 334.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3028, allocations: 338.8 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.3031, allocations: 103.9 kB / 335.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.3034, allocations: 200.8 kB / 335.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.3037, allocations: 145.6 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3037, allocations: 3.938 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001003/0.3047, allocations: 475.8 kB / 336.1 MB, free: 9.547 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.3049, allocations: 197 kB / 336.3 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3049, allocations: 7.953 kB / 336.3 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.3052, allocations: 60.84 kB / 336.3 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3054, allocations: 59.91 kB / 336.4 MB, free: 9.176 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.307, allocations: 1.495 MB / 337.9 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.3073, allocations: 63.72 kB / 337.9 MB, free: 7.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3073, allocations: 11.98 kB / 337.9 MB, free: 7.465 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.3073, allocations: 4 kB / 337.9 MB, free: 7.461 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006437/0.308, allocations: 318.5 kB / 338.3 MB, free: 7.141 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.308, allocations: 8.016 kB / 338.3 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.354e-05/0.308, allocations: 24.86 kB / 338.3 MB, free: 7.105 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3082, allocations: 55.89 kB / 338.3 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009621/0.3092, allocations: 1.393 MB / 339.7 MB, free: 5.523 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3095, allocations: 43.91 kB / 339.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.3095, allocations: 12 kB / 339.8 MB, free: 5.469 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.0001693/0.3097, allocations: 216.8 kB / 340 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.3097, allocations: 23.77 kB / 340 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.3097, allocations: 29.64 kB / 340.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3098, allocations: 4 kB / 340.1 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.3098, allocations: 0 / 340.1 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3098, allocations: 0 / 340.1 MB, free: 5.195 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3108, allocations: 0.6591 MB / 340.7 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3108, allocations: 3.938 kB / 340.7 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.311, allocations: 31.97 kB / 340.8 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.3111, allocations: 52.83 kB / 340.8 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3111, allocations: 4 kB / 340.8 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.3126, allocations: 1.487 MB / 342.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3126, allocations: 0 / 342.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.3134, allocations: 407.9 kB / 342.7 MB, free: 2.344 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3135, allocations: 100.8 kB / 342.8 MB, free: 2.227 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.3135, allocations: 11.94 kB / 342.8 MB, free: 2.215 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3138, allocations: 39.92 kB / 342.8 MB, free: 2.176 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.3139, allocations: 19.97 kB / 342.9 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3139, allocations: 8 kB / 342.9 MB, free: 2.148 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.314, allocations: 190 kB / 343.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 343.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.3146, allocations: 107.8 kB / 343.2 MB, free: 1.855 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.0001434/0.3147, allocations: 107.2 kB / 343.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3159, allocations: 0.7075 MB / 344 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.316, allocations: 0 / 344 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.3163, allocations: 227.8 kB / 344.2 MB, free: 0.75 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3167, allocations: 48.61 kB / 344.2 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3178, allocations: 0.5178 MB / 344.8 MB, free: 168 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3182, allocations: 0.7444 MB / 345.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3183, allocations: 30.22 kB / 345.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.3184, allocations: 19.44 kB / 345.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3184, allocations: 0 / 345.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of Templates: time 0.007212/0.3256, allocations: 3.407 MB / 349 MB, free: 11.94 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)