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.0009425/0.0009426, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.353/1.353, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 123.9 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.791e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08855, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4031, allocations: 73.64 MB / 416.2 MB, free: 22.18 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4034, allocations: 74.52 kB / 416.3 MB, free: 22.14 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01286/0.4162, allocations: 5.083 MB / 421.4 MB, free: 17.89 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4163, allocations: 0 / 421.4 MB, free: 17.89 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4163, allocations: 4 kB / 421.4 MB, free: 17.89 MB / 315.1 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.0007509/0.417, allocations: 0.5345 MB / 421.9 MB, free: 17.32 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4171, allocations: 12.02 kB / 421.9 MB, free: 17.31 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.128e-05/0.4172, allocations: 33.91 kB / 422 MB, free: 17.28 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.4175, allocations: 257.8 kB / 422.2 MB, free: 17 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4175, allocations: 7.266 kB / 422.2 MB, free: 17 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4176, allocations: 12 kB / 422.2 MB, free: 16.99 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002439/0.4178, allocations: 139.4 kB / 422.4 MB, free: 16.91 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.4181, allocations: 159.6 kB / 422.5 MB, free: 16.79 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4181, allocations: 7.375 kB / 422.5 MB, free: 16.78 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.4181, allocations: 4 kB / 422.5 MB, free: 16.78 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4181, allocations: 4 kB / 422.5 MB, free: 16.77 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4195, allocations: 0.7979 MB / 423.3 MB, free: 16.05 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.4201, allocations: 241.8 kB / 423.6 MB, free: 15.82 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.4202, allocations: 49.53 kB / 423.6 MB, free: 15.79 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4202, allocations: 0 / 423.6 MB, free: 15.79 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.4204, allocations: 110.5 kB / 423.7 MB, free: 15.67 MB / 315.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.4204, allocations: 0 / 423.7 MB, free: 15.67 MB / 315.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005232/0.4209, allocations: 183 kB / 423.9 MB, free: 15.51 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.421, allocations: 102.8 kB / 424 MB, free: 15.38 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4212, allocations: 214 kB / 424.2 MB, free: 15.2 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4212, allocations: 29.2 kB / 424.2 MB, free: 15.17 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.4213, allocations: 191 kB / 424.4 MB, free: 15.01 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4213, allocations: 31.22 kB / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.4213, allocations: 0 / 424.5 MB, free: 14.98 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.4214, allocations: 336.7 kB / 424.8 MB, free: 14.65 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.4215, allocations: 40.06 kB / 424.8 MB, free: 14.63 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4216, allocations: 147.7 kB / 425 MB, free: 14.47 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.4217, allocations: 57.2 kB / 425 MB, free: 14.43 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4217, allocations: 3.953 kB / 425 MB, free: 14.43 MB / 315.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000545/0.4223, allocations: 263.5 kB / 425.3 MB, free: 14.2 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4223, allocations: 40.45 kB / 425.3 MB, free: 14.15 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4223, allocations: 0 / 425.3 MB, free: 14.15 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.4227, allocations: 80.17 kB / 425.4 MB, free: 14.07 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4229, allocations: 51.91 kB / 425.5 MB, free: 14.02 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008957/0.4238, allocations: 1.288 MB / 426.8 MB, free: 12.67 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.4241, allocations: 43.91 kB / 426.8 MB, free: 12.62 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.4242, allocations: 8 kB / 426.8 MB, free: 12.62 MB / 315.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 () * 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.528e-05/0.4243, allocations: 132.2 kB / 426.9 MB, free: 12.48 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.4243, allocations: 19.72 kB / 427 MB, free: 12.46 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.4243, allocations: 24.53 kB / 427 MB, free: 12.45 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4243, allocations: 0 / 427 MB, free: 12.45 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4244, allocations: 4.203 kB / 427 MB, free: 12.45 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4244, allocations: 0 / 427 MB, free: 12.45 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.425, allocations: 0.4924 MB / 427.5 MB, free: 11.98 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.425, allocations: 1.625 kB / 427.5 MB, free: 11.98 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4251, allocations: 27.98 kB / 427.5 MB, free: 11.95 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.4254, allocations: 77.23 kB / 427.6 MB, free: 11.88 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4255, allocations: 11.36 kB / 427.6 MB, free: 11.87 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007765/0.4263, allocations: 1.27 MB / 428.9 MB, free: 10.52 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4263, allocations: 3.984 kB / 428.9 MB, free: 10.52 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.4267, allocations: 279 kB / 429.1 MB, free: 10.25 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.4268, allocations: 92.92 kB / 429.2 MB, free: 10.14 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.4268, allocations: 0 / 429.2 MB, free: 10.14 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.427, allocations: 35.72 kB / 429.3 MB, free: 10.11 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.4271, allocations: 23.55 kB / 429.3 MB, free: 10.09 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4271, allocations: 0 / 429.3 MB, free: 10.09 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4272, allocations: 169.6 kB / 429.4 MB, free: 9.957 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4272, allocations: 4 kB / 429.5 MB, free: 9.953 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.4276, allocations: 55.84 kB / 429.5 MB, free: 9.898 MB / 315.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) * 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.0001239/0.4277, allocations: 102.3 kB / 429.6 MB, free: 9.793 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.4281, allocations: 281.9 kB / 429.9 MB, free: 9.535 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4281, allocations: 0 / 429.9 MB, free: 9.535 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4282, allocations: 152.2 kB / 430 MB, free: 9.395 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.4285, allocations: 35.59 kB / 430.1 MB, free: 9.371 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.429, allocations: 240.8 kB / 430.3 MB, free: 9.137 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.4291, allocations: 0.7438 MB / 431 MB, free: 8.367 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.4292, allocations: 22.06 kB / 431.1 MB, free: 8.348 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.4293, allocations: 19.44 kB / 431.1 MB, free: 8.328 MB / 315.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4293, allocations: 4 kB / 431.1 MB, free: 8.324 MB / 315.1 MB Notification: Performance of Templates: time 0.005448/0.4348, allocations: 2.569 MB / 433.7 MB, free: 5.824 MB / 315.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)