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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001091/0.001091, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.443/1.443, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001613/0.001613, allocations: 124.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.548e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09396/0.094, allocations: 44.51 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.3934, allocations: 74.31 MB / 423.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.3936, allocations: 79.78 kB / 423.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.4064, allocations: 5.122 MB / 429 MB, free: 9.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4064, allocations: 0 / 429 MB, free: 9.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.4064, allocations: 3.719 kB / 429 MB, free: 9.254 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006883/0.4071, allocations: 0.5353 MB / 429.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4072, allocations: 7.438 kB / 429.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.4073, allocations: 30.66 kB / 429.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.4075, allocations: 269.7 kB / 429.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4075, allocations: 12.03 kB / 429.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.4076, allocations: 26.72 kB / 429.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.4079, allocations: 186.3 kB / 430 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4079, allocations: 0 / 430 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4079, allocations: 10.59 kB / 430 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4079, allocations: 3.844 kB / 430 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.4081, allocations: 143 kB / 430.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4093, allocations: 0.8656 MB / 431 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.4098, allocations: 240.6 kB / 431.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.4099, allocations: 42.23 kB / 431.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.41, allocations: 0 / 431.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.4101, allocations: 122.3 kB / 431.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4102, allocations: 4 kB / 431.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005271/0.4107, allocations: 179.3 kB / 431.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4107, allocations: 106.5 kB / 431.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.4109, allocations: 238.2 kB / 432 MB, free: 7.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4109, allocations: 29.55 kB / 432 MB, free: 7.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.411, allocations: 178.8 kB / 432.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4111, allocations: 38.45 kB / 432.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.4111, allocations: 0 / 432.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.4112, allocations: 337.5 kB / 432.5 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.4113, allocations: 48.45 kB / 432.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.4114, allocations: 153.6 kB / 432.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.4115, allocations: 83.19 kB / 432.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4115, allocations: 3.875 kB / 432.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005507/0.4121, allocations: 325.9 kB / 433.1 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4121, allocations: 33.52 kB / 433.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4121, allocations: 0 / 433.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.4125, allocations: 81.77 kB / 433.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4127, allocations: 65.39 kB / 433.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/0.4137, allocations: 1.339 MB / 434.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.414, allocations: 53.58 kB / 434.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.414, allocations: 15 kB / 434.7 MB, free: 5.062 MB / 298.7 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 () * 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 1} Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.4141, allocations: 123.5 kB / 434.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4142, allocations: 23.28 kB / 434.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.4142, allocations: 20.45 kB / 434.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4142, allocations: 3.875 kB / 434.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4142, allocations: 0 / 434.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4143, allocations: 0 / 434.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.4149, allocations: 0.5376 MB / 435.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4149, allocations: 0 / 435.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.4151, allocations: 34.97 kB / 435.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.4154, allocations: 70.36 kB / 435.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4154, allocations: 11.83 kB / 435.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008091/0.4162, allocations: 1.329 MB / 436.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4162, allocations: 0 / 436.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.4167, allocations: 296.3 kB / 437.1 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4168, allocations: 99.73 kB / 437.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4168, allocations: 3.844 kB / 437.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.417, allocations: 34.53 kB / 437.3 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.4171, allocations: 18.94 kB / 437.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4171, allocations: 3.812 kB / 437.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4173, allocations: 184.9 kB / 437.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4173, allocations: 0 / 437.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.4176, allocations: 62.5 kB / 437.5 MB, free: 2.77 MB / 298.7 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) * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.4178, allocations: 118.3 kB / 437.7 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.4182, allocations: 292.9 kB / 437.9 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4182, allocations: 0 / 437.9 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.4184, allocations: 158.2 kB / 438.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4186, allocations: 33.58 kB / 438.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.4191, allocations: 238.8 kB / 438.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.4193, allocations: 0.7467 MB / 439.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.4194, allocations: 25.59 kB / 439.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.4195, allocations: 18.97 kB / 439.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4195, allocations: 0 / 439.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of Templates: time 0.005167/0.4247, allocations: 2.907 MB / 442.1 MB, free: 12 kB / 298.7 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)