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.001598/0.001598, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 196.5 kB / 16.53 MB, free: 6.672 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001219/0.001219, allocations: 55.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2878, allocations: 46.64 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003912/0.2917, allocations: 2.693 MB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2932, allocations: 0.7219 MB / 328.7 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2933, allocations: 3.594 kB / 328.7 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.2935, allocations: 39.36 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.2938, allocations: 88.03 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.2941, allocations: 94.53 kB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.2946, allocations: 348.7 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.2949, allocations: 77.88 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2951, allocations: 136.6 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2953, allocations: 147.3 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.2954, allocations: 30 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.2955, allocations: 29 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.2955, allocations: 63.2 kB / 329.8 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2957, allocations: 148.2 kB / 329.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.2961, allocations: 325.3 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2961, allocations: 1.094 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.2962, allocations: 3.984 kB / 330.2 MB, free: 14.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.2962, allocations: 0 / 330.2 MB, free: 14.1 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.001373/0.2975, allocations: 0.6291 MB / 330.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2976, allocations: 9.812 kB / 330.9 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.2977, allocations: 35.81 kB / 330.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.2981, allocations: 281.7 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.2981, allocations: 13.5 kB / 331.2 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2982, allocations: 22.38 kB / 331.2 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.2989, allocations: 259 kB / 331.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2989, allocations: 0 / 331.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.2989, allocations: 10.31 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2989, allocations: 3.438 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.2998, allocations: 261.9 kB / 331.7 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3013, allocations: 0.8197 MB / 332.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.302, allocations: 270.1 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3024, allocations: 88.31 kB / 332.9 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3024, allocations: 5 kB / 332.9 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.303, allocations: 157.7 kB / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.303, allocations: 0 / 333.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001824/0.3048, allocations: 0.5307 MB / 333.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3049, allocations: 106.8 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3052, allocations: 270.5 kB / 334 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3052, allocations: 25.7 kB / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3054, allocations: 187.7 kB / 334.2 MB, free: 10.75 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3054, allocations: 31.55 kB / 334.2 MB, free: 10.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.3055, allocations: 53.55 kB / 334.3 MB, free: 10.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3056, allocations: 338.8 kB / 334.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.306, allocations: 100.7 kB / 334.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.3064, allocations: 184.8 kB / 334.9 MB, free: 9.992 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.307, allocations: 284.6 kB / 335.2 MB, free: 9.668 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.307, allocations: 0 / 335.2 MB, free: 9.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001104/0.3081, allocations: 411.8 kB / 335.6 MB, free: 9.25 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.3082, allocations: 33.7 kB / 335.6 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3082, allocations: 4 kB / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.3087, allocations: 92.78 kB / 335.7 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3089, allocations: 51.91 kB / 335.7 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.3107, allocations: 1.566 MB / 337.3 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.3111, allocations: 55.77 kB / 337.4 MB, free: 7.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3111, allocations: 8 kB / 337.4 MB, free: 7.285 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003355/0.3114, allocations: 176.1 kB / 337.5 MB, free: 7.109 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000303/0.3118, allocations: 181.2 kB / 337.7 MB, free: 6.887 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005159/0.3123, allocations: 276.7 kB / 338 MB, free: 6.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.3123, allocations: 0 / 338 MB, free: 6.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007081/0.313, allocations: 331.5 kB / 338.3 MB, free: 6.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3131, allocations: 37.7 kB / 338.3 MB, free: 6.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3131, allocations: 11.94 kB / 338.4 MB, free: 6.176 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.431e-05/0.3131, allocations: 21.22 kB / 338.4 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3133, allocations: 55.91 kB / 338.4 MB, free: 6.098 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009277/0.3143, allocations: 1.536 MB / 340 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3146, allocations: 51.83 kB / 340 MB, free: 4.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.3146, allocations: 12 kB / 340 MB, free: 4.359 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.0001448/0.3148, allocations: 204.2 kB / 340.2 MB, free: 4.152 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3148, allocations: 23.72 kB / 340.3 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.3149, allocations: 29.7 kB / 340.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3149, allocations: 0 / 340.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3149, allocations: 0 / 340.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3149, allocations: 0 / 340.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.316, allocations: 0.6043 MB / 340.9 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3161, allocations: 3.984 kB / 340.9 MB, free: 3.438 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3162, allocations: 23.98 kB / 340.9 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.3164, allocations: 48.81 kB / 341 MB, free: 3.363 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3164, allocations: 7.938 kB / 341 MB, free: 3.355 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3178, allocations: 1.543 MB / 342.5 MB, free: 1.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3178, allocations: 0 / 342.5 MB, free: 1.672 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.3186, allocations: 360 kB / 342.9 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.3187, allocations: 100.8 kB / 343 MB, free: 1.184 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3187, allocations: 4 kB / 343 MB, free: 1.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.319, allocations: 31.97 kB / 343 MB, free: 1.148 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.319, allocations: 19.91 kB / 343 MB, free: 1.129 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3191, allocations: 8 kB / 343 MB, free: 1.121 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3192, allocations: 193.9 kB / 343.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3192, allocations: 0 / 343.2 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000562/0.3198, allocations: 115.7 kB / 343.3 MB, free: 0.8203 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.0001292/0.3199, allocations: 111.2 kB / 343.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3212, allocations: 0.6606 MB / 344.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3212, allocations: 0 / 344.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.3216, allocations: 215.2 kB / 344.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.322, allocations: 48.55 kB / 344.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.3228, allocations: 441.5 kB / 344.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3231, allocations: 0.7521 MB / 345.5 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3232, allocations: 26.28 kB / 345.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3233, allocations: 19.44 kB / 345.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3233, allocations: 0 / 345.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Templates: time 0.006686/0.33, allocations: 3.847 MB / 349.4 MB, free: 10.6 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)