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.001282/0.001282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001355/0.001355, allocations: 191.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.0014/0.0014, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4053, allocations: 46.64 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004456/0.4098, allocations: 2.744 MB / 327.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4113, allocations: 0.7137 MB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.4115, allocations: 2.594 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.4117, allocations: 31.58 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.4119, allocations: 80.09 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.4123, allocations: 82.58 kB / 328.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.4128, allocations: 353.6 kB / 328.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.413, allocations: 80.39 kB / 328.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.4133, allocations: 133.5 kB / 329.1 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.4135, allocations: 148.6 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.4136, allocations: 28.25 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.4136, allocations: 29.28 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.4137, allocations: 66.36 kB / 329.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.4139, allocations: 141.5 kB / 329.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.4144, allocations: 325.9 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4144, allocations: 0 / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4144, allocations: 0 / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4144, allocations: 0 / 329.8 MB, free: 14.19 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.00149/0.4159, allocations: 0.6297 MB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.416, allocations: 13.16 kB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.655e-05/0.4161, allocations: 32.28 kB / 330.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.4165, allocations: 278.1 kB / 330.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.4166, allocations: 14.06 kB / 330.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.4166, allocations: 21.66 kB / 330.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.4174, allocations: 246.1 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4174, allocations: 4 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.4174, allocations: 14 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.4175, allocations: 5.688 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.4183, allocations: 250.1 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.4201, allocations: 0.8217 MB / 332.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.4208, allocations: 270.8 kB / 332.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.4211, allocations: 87.86 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.4212, allocations: 5.141 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007169/0.4219, allocations: 165.7 kB / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 3.517e-06/0.4219, allocations: 0 / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002185/0.4241, allocations: 0.5345 MB / 333.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.4243, allocations: 106.8 kB / 333.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.4247, allocations: 266.5 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4248, allocations: 29.7 kB / 333.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4249, allocations: 187.7 kB / 333.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.425, allocations: 31.55 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4251, allocations: 57.55 kB / 333.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.4253, allocations: 338.8 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.4258, allocations: 96.78 kB / 334.2 MB, free: 10.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.4261, allocations: 176.8 kB / 334.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.4268, allocations: 292.6 kB / 334.7 MB, free: 9.863 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.4268, allocations: 7.938 kB / 334.7 MB, free: 9.855 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0011/0.4279, allocations: 407.8 kB / 335.1 MB, free: 9.441 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.428, allocations: 37.69 kB / 335.1 MB, free: 9.398 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.428, allocations: 4 kB / 335.1 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.4285, allocations: 92.78 kB / 335.2 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.4288, allocations: 55.91 kB / 335.3 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.4308, allocations: 1.562 MB / 336.9 MB, free: 7.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.4312, allocations: 47.72 kB / 336.9 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.4312, allocations: 8 kB / 336.9 MB, free: 7.48 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004075/0.4316, allocations: 184.1 kB / 337.1 MB, free: 7.297 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003922/0.432, allocations: 177.1 kB / 337.3 MB, free: 7.078 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005883/0.4326, allocations: 268.7 kB / 337.5 MB, free: 6.77 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.4326, allocations: 0 / 337.5 MB, free: 6.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009199/0.4336, allocations: 335.9 kB / 337.9 MB, free: 6.426 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.4336, allocations: 33.7 kB / 337.9 MB, free: 6.387 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4337, allocations: 4 kB / 337.9 MB, free: 6.383 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.4338, allocations: 24.84 kB / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.434, allocations: 55.89 kB / 338 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4358, allocations: 1.54 MB / 339.5 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4362, allocations: 47.91 kB / 339.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.4362, allocations: 12 kB / 339.6 MB, free: 4.562 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 (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.0002979/0.4365, allocations: 204.1 kB / 339.8 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.4366, allocations: 19.72 kB / 339.8 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.4367, allocations: 25.72 kB / 339.8 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4367, allocations: 7.984 kB / 339.8 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4367, allocations: 0 / 339.8 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4367, allocations: 0 / 339.8 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.438, allocations: 0.6082 MB / 340.4 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.438, allocations: 4 kB / 340.4 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4382, allocations: 35.91 kB / 340.5 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.4384, allocations: 40.81 kB / 340.5 MB, free: 3.559 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4384, allocations: 11.94 kB / 340.5 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.4402, allocations: 1.551 MB / 342.1 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4402, allocations: 0 / 342.1 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.441, allocations: 351.9 kB / 342.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.441, allocations: 92.86 kB / 342.5 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.4411, allocations: 8 kB / 342.5 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4413, allocations: 27.95 kB / 342.5 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4415, allocations: 27.8 kB / 342.6 MB, free: 1.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4415, allocations: 4 kB / 342.6 MB, free: 1.316 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.4417, allocations: 198 kB / 342.8 MB, free: 1.121 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4417, allocations: 0 / 342.8 MB, free: 1.121 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.4424, allocations: 115.7 kB / 342.9 MB, free: 1.008 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 (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.0001983/0.4426, allocations: 95.25 kB / 343 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.4441, allocations: 0.6689 MB / 343.6 MB, free: 192 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4442, allocations: 12.06 kB / 343.6 MB, free: 180 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.4446, allocations: 202.6 kB / 343.8 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.4451, allocations: 44.53 kB / 343.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4463, allocations: 0.5201 MB / 344.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.4468, allocations: 0.7404 MB / 345.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.4469, allocations: 34.28 kB / 345.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.447, allocations: 19.44 kB / 345.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.447, allocations: 0 / 345.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of Templates: time 0.008659/0.4557, allocations: 3.758 MB / 349 MB, free: 10.8 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)