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.001312/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001421/0.001421, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.944/1.944, allocations: 205.1 MB / 222 MB, free: 4.957 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.001231/0.001231, allocations: 51.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3671, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003942/0.3711, allocations: 2.758 MB / 327.4 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3723, allocations: 0.7115 MB / 328.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3725, allocations: 3.969 kB / 328.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3727, allocations: 28.48 kB / 328.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3728, allocations: 75.45 kB / 328.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.3731, allocations: 82.78 kB / 328.3 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.3736, allocations: 339.6 kB / 328.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.3739, allocations: 74.31 kB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3741, allocations: 113 kB / 328.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3743, allocations: 139.5 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.3743, allocations: 17.59 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.3744, allocations: 17.47 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3745, allocations: 58.38 kB / 329.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.3747, allocations: 133.8 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.3751, allocations: 309.1 kB / 329.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3751, allocations: 5.219 kB / 329.5 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3751, allocations: 0 / 329.5 MB, free: 14.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3751, allocations: 0 / 329.5 MB, free: 14.13 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.001321/0.3764, allocations: 0.6296 MB / 330.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3765, allocations: 9.719 kB / 330.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3766, allocations: 30.5 kB / 330.2 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.3769, allocations: 282.9 kB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.377, allocations: 18.03 kB / 330.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.377, allocations: 17.31 kB / 330.5 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.3777, allocations: 250.6 kB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3777, allocations: 0 / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.3777, allocations: 10.2 kB / 330.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3778, allocations: 4.75 kB / 330.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.3786, allocations: 254.4 kB / 331 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3802, allocations: 0.8224 MB / 331.8 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.3808, allocations: 266.5 kB / 332.1 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.3813, allocations: 87.61 kB / 332.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3813, allocations: 5.062 kB / 332.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005276/0.3818, allocations: 162 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3818, allocations: 3.938 kB / 332.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001793/0.3836, allocations: 0.5217 MB / 332.9 MB, free: 11.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3837, allocations: 109.7 kB / 333 MB, free: 11.46 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.384, allocations: 274.6 kB / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3841, allocations: 26.77 kB / 333.3 MB, free: 11.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3842, allocations: 184 kB / 333.4 MB, free: 11.07 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3843, allocations: 40.22 kB / 333.5 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.3844, allocations: 54.86 kB / 333.5 MB, free: 11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3845, allocations: 331.5 kB / 333.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.3848, allocations: 100.3 kB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3852, allocations: 188.8 kB / 334.1 MB, free: 10.36 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.3859, allocations: 288.6 kB / 334.4 MB, free: 10.04 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3859, allocations: 4 kB / 334.4 MB, free: 10.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001032/0.3869, allocations: 411.8 kB / 334.8 MB, free: 9.613 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.387, allocations: 33.7 kB / 334.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.387, allocations: 0 / 334.9 MB, free: 9.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.3875, allocations: 96.78 kB / 335 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3878, allocations: 55.83 kB / 335 MB, free: 9.422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.3897, allocations: 1.452 MB / 336.5 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.3901, allocations: 51.7 kB / 336.5 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3901, allocations: 8 kB / 336.5 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000364/0.3905, allocations: 180.1 kB / 336.7 MB, free: 7.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003278/0.3908, allocations: 173.2 kB / 336.9 MB, free: 7.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005298/0.3914, allocations: 264.6 kB / 337.1 MB, free: 7.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.077e-06/0.3914, allocations: 8 kB / 337.1 MB, free: 7.062 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007371/0.3921, allocations: 335.9 kB / 337.5 MB, free: 6.719 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.3922, allocations: 33.7 kB / 337.5 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3922, allocations: 4 kB / 337.5 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.877e-05/0.3923, allocations: 24.84 kB / 337.5 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.3925, allocations: 47.91 kB / 337.6 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3936, allocations: 1.377 MB / 339 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.394, allocations: 51.8 kB / 339 MB, free: 5.039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.394, allocations: 8.234 kB / 339 MB, free: 5.031 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.0002071/0.3942, allocations: 208.1 kB / 339.2 MB, free: 4.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.3943, allocations: 23.72 kB / 339.2 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.3944, allocations: 25.64 kB / 339.3 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3944, allocations: 4 kB / 339.3 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3944, allocations: 0 / 339.3 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3944, allocations: 0 / 339.3 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.3957, allocations: 0.6123 MB / 339.9 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3957, allocations: 3.984 kB / 339.9 MB, free: 4.098 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3959, allocations: 23.98 kB / 339.9 MB, free: 4.074 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.3961, allocations: 52.75 kB / 340 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3961, allocations: 0 / 340 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3977, allocations: 1.441 MB / 341.4 MB, free: 2.445 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/0.3978, allocations: 7.922 kB / 341.4 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.3986, allocations: 352 kB / 341.7 MB, free: 2.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3987, allocations: 108.7 kB / 341.9 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3987, allocations: 4 kB / 341.9 MB, free: 1.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.399, allocations: 27.97 kB / 341.9 MB, free: 1.918 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3991, allocations: 19.97 kB / 341.9 MB, free: 1.898 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3991, allocations: 8 kB / 341.9 MB, free: 1.891 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.3993, allocations: 186 kB / 342.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3993, allocations: 0 / 342.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.3999, allocations: 119.7 kB / 342.2 MB, free: 1.59 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.0001793/0.4001, allocations: 103.2 kB / 342.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.4015, allocations: 0.6574 MB / 343 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.4015, allocations: 0 / 343 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.402, allocations: 210.5 kB / 343.2 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4025, allocations: 44.47 kB / 343.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4036, allocations: 0.5104 MB / 343.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.404, allocations: 0.7443 MB / 344.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.4041, allocations: 30.28 kB / 344.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.4042, allocations: 19.44 kB / 344.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4042, allocations: 0 / 344.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of Templates: time 0.008385/0.4126, allocations: 3.551 MB / 348.1 MB, free: 11.61 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)