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.001282/0.001282, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00224/0.00224, allocations: 195.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001202/0.001202, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.383, allocations: 46.62 MB / 324.9 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00816/0.3912, allocations: 2.755 MB / 327.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3939, allocations: 0.7057 MB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.3941, allocations: 7.812 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3944, allocations: 35.8 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.3947, allocations: 68.22 kB / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3951, allocations: 86.34 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007651/0.3959, allocations: 349 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.3963, allocations: 89.45 kB / 328.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.3967, allocations: 124.8 kB / 329.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.397, allocations: 156 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.3972, allocations: 29.78 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3973, allocations: 28.97 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3974, allocations: 54.42 kB / 329.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.3977, allocations: 149.2 kB / 329.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007429/0.3985, allocations: 321.5 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3985, allocations: 4 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3985, allocations: 0 / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3986, allocations: 0 / 329.8 MB, free: 14.2 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.001934/0.4005, allocations: 0.6337 MB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.4006, allocations: 8.531 kB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4007, allocations: 32.53 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.4012, allocations: 274.2 kB / 330.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.4013, allocations: 16.81 kB / 330.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.4013, allocations: 21.94 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.4022, allocations: 250.9 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4023, allocations: 0 / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.4023, allocations: 14.22 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.4024, allocations: 9.578 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4035, allocations: 254 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.4057, allocations: 0.8178 MB / 332.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.4066, allocations: 267.4 kB / 332.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.4071, allocations: 91.31 kB / 332.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.4071, allocations: 10.27 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007826/0.4079, allocations: 161.4 kB / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/0.4079, allocations: 0 / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002524/0.4105, allocations: 0.5286 MB / 333.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.4106, allocations: 106.8 kB / 333.3 MB, free: 11.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.411, allocations: 266.5 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.4111, allocations: 29.7 kB / 333.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.4113, allocations: 183.7 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.4114, allocations: 39.56 kB / 333.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4115, allocations: 53.55 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.4118, allocations: 334.8 kB / 334.1 MB, free: 10.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.4122, allocations: 100.7 kB / 334.2 MB, free: 10.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.4127, allocations: 188.8 kB / 334.4 MB, free: 10.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.4136, allocations: 284.6 kB / 334.7 MB, free: 9.852 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4136, allocations: 4 kB / 334.7 MB, free: 9.848 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001375/0.415, allocations: 407.8 kB / 335.1 MB, free: 9.434 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.4151, allocations: 37.7 kB / 335.1 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4151, allocations: 4 kB / 335.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.4156, allocations: 92.78 kB / 335.2 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.416, allocations: 51.89 kB / 335.3 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.4186, allocations: 1.566 MB / 336.8 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.4191, allocations: 55.77 kB / 336.9 MB, free: 7.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.4192, allocations: 8 kB / 336.9 MB, free: 7.465 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005461/0.4198, allocations: 176.1 kB / 337.1 MB, free: 7.289 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004495/0.4202, allocations: 181.1 kB / 337.3 MB, free: 7.066 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007701/0.421, allocations: 264.6 kB / 337.5 MB, free: 6.762 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.421, allocations: 0 / 337.5 MB, free: 6.762 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001058/0.4221, allocations: 339.8 kB / 337.8 MB, free: 6.414 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.4222, allocations: 33.7 kB / 337.9 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4222, allocations: 4 kB / 337.9 MB, free: 6.371 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.4223, allocations: 24.84 kB / 337.9 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.4226, allocations: 52.16 kB / 338 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.4242, allocations: 1.544 MB / 339.5 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.4248, allocations: 43.81 kB / 339.5 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4248, allocations: 12 kB / 339.6 MB, free: 4.555 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.000316/0.4252, allocations: 208.1 kB / 339.8 MB, free: 4.344 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.4252, allocations: 23.72 kB / 339.8 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.4253, allocations: 21.8 kB / 339.8 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4253, allocations: 3.984 kB / 339.8 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4254, allocations: 4 kB / 339.8 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4254, allocations: 0 / 339.8 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.427, allocations: 0.616 MB / 340.4 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.427, allocations: 0 / 340.4 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.4272, allocations: 27.91 kB / 340.5 MB, free: 3.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.4275, allocations: 48.83 kB / 340.5 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.4275, allocations: 3.938 kB / 340.5 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.4291, allocations: 1.543 MB / 342.1 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4291, allocations: 0 / 342.1 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4302, allocations: 352 kB / 342.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4303, allocations: 100.8 kB / 342.5 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.4304, allocations: 4 kB / 342.5 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.4308, allocations: 31.97 kB / 342.5 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.431, allocations: 31.92 kB / 342.6 MB, free: 1.309 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.431, allocations: 11.92 kB / 342.6 MB, free: 1.297 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.4313, allocations: 190 kB / 342.8 MB, free: 1.109 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4314, allocations: 0 / 342.8 MB, free: 1.109 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0009198/0.4323, allocations: 115.8 kB / 342.9 MB, free: 0.9961 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.0001857/0.4325, allocations: 99.25 kB / 343 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.4342, allocations: 0.6761 MB / 343.6 MB, free: 168 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4342, allocations: 0 / 343.6 MB, free: 168 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.4348, allocations: 203.3 kB / 343.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.4354, allocations: 40.55 kB / 343.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4368, allocations: 0.5229 MB / 344.4 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.4372, allocations: 0.7444 MB / 345.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.4374, allocations: 34.34 kB / 345.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.4375, allocations: 23.44 kB / 345.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4375, allocations: 0 / 345.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Templates: time 0.01118/0.4487, allocations: 3.755 MB / 349 MB, free: 10.79 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)