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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001317/0.001317, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.693/1.693, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0004677/0.0004677, allocations: 12 kB / 280.2 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.337, allocations: 47.59 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003248/0.3403, allocations: 2.29 MB / 330 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3417, allocations: 0.6848 MB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3419, allocations: 4 kB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.342, allocations: 26.64 kB / 330.7 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3422, allocations: 80.88 kB / 330.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3425, allocations: 73.75 kB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3429, allocations: 313 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3431, allocations: 68.39 kB / 331.3 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.3433, allocations: 107.8 kB / 331.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3435, allocations: 130.9 kB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.3435, allocations: 14.94 kB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.3436, allocations: 19.66 kB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.3437, allocations: 50.19 kB / 331.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.3437, allocations: 72.64 kB / 331.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.344, allocations: 241.4 kB / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3441, allocations: 0 / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3441, allocations: 0 / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3441, allocations: 1.312 kB / 331.9 MB, free: 14.22 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.00127/0.3454, allocations: 0.5997 MB / 332.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3454, allocations: 12.58 kB / 332.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.3455, allocations: 26.88 kB / 332.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.3459, allocations: 270.5 kB / 332.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3459, allocations: 11.94 kB / 332.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.3459, allocations: 22.22 kB / 332.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.3466, allocations: 261.1 kB / 333.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3467, allocations: 0 / 333.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3467, allocations: 10.81 kB / 333.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3467, allocations: 4.219 kB / 333.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.3475, allocations: 292.5 kB / 333.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3491, allocations: 0.844 MB / 334.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.3498, allocations: 314.8 kB / 334.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.3501, allocations: 106.2 kB / 334.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3501, allocations: 1.031 kB / 334.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.3506, allocations: 175.4 kB / 334.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3506, allocations: 0 / 334.8 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.001836/0.3525, allocations: 0.6444 MB / 335.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.3526, allocations: 102.8 kB / 335.6 MB, free: 11.44 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3529, allocations: 274.5 kB / 335.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3529, allocations: 25.7 kB / 335.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3531, allocations: 183.7 kB / 336 MB, free: 10.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3531, allocations: 35.55 kB / 336.1 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.3531, allocations: 8 kB / 336.1 MB, free: 10.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3533, allocations: 334.8 kB / 336.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3536, allocations: 103.9 kB / 336.5 MB, free: 10.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.354, allocations: 204.7 kB / 336.7 MB, free: 10.22 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.3543, allocations: 153.5 kB / 336.9 MB, free: 10.06 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3544, allocations: 0 / 336.9 MB, free: 10.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001019/0.3554, allocations: 463.8 kB / 337.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.3556, allocations: 201 kB / 337.5 MB, free: 9.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3556, allocations: 7.953 kB / 337.5 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.3559, allocations: 64.84 kB / 337.6 MB, free: 9.273 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3561, allocations: 55.91 kB / 337.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.3578, allocations: 1.499 MB / 339.1 MB, free: 7.578 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.3581, allocations: 59.72 kB / 339.2 MB, free: 7.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3581, allocations: 15.98 kB / 339.2 MB, free: 7.504 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.3582, allocations: 4 kB / 339.2 MB, free: 7.5 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006605/0.3588, allocations: 326.6 kB / 339.5 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3588, allocations: 0 / 339.5 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.795e-05/0.3589, allocations: 24.84 kB / 339.5 MB, free: 7.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3591, allocations: 59.89 kB / 339.6 MB, free: 7.086 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.3602, allocations: 1.385 MB / 341 MB, free: 5.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.3605, allocations: 47.91 kB / 341 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3605, allocations: 12 kB / 341 MB, free: 5.508 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.3608, allocations: 224.8 kB / 341.3 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.3608, allocations: 23.77 kB / 341.3 MB, free: 5.254 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.3608, allocations: 21.7 kB / 341.3 MB, free: 5.238 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3609, allocations: 4 kB / 341.3 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.3609, allocations: 0 / 341.3 MB, free: 5.234 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3609, allocations: 4 kB / 341.3 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.362, allocations: 0.6551 MB / 342 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.362, allocations: 0 / 342 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.3622, allocations: 27.98 kB / 342 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.3623, allocations: 60.81 kB / 342.1 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3623, allocations: 0 / 342.1 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.3637, allocations: 1.487 MB / 343.5 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3638, allocations: 0 / 343.5 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/0.3645, allocations: 416.3 kB / 344 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.3646, allocations: 104.8 kB / 344.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3647, allocations: 8 kB / 344.1 MB, free: 2.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3649, allocations: 39.92 kB / 344.1 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.365, allocations: 19.97 kB / 344.1 MB, free: 2.191 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.365, allocations: 4 kB / 344.1 MB, free: 2.188 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3652, allocations: 190 kB / 344.3 MB, free: 2 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3652, allocations: 0 / 344.3 MB, free: 2 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.3658, allocations: 111.8 kB / 344.4 MB, free: 1.891 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.3659, allocations: 111.1 kB / 344.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.3672, allocations: 0.6997 MB / 345.2 MB, free: 1.023 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.3672, allocations: 4.688 kB / 345.2 MB, free: 1.02 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.3676, allocations: 226.5 kB / 345.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3681, allocations: 40.55 kB / 345.5 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.3692, allocations: 0.5176 MB / 346 MB, free: 212 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3695, allocations: 0.7444 MB / 346.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.3697, allocations: 34.33 kB / 346.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.3697, allocations: 19.44 kB / 346.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3698, allocations: 0 / 346.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Templates: time 0.007566/0.3773, allocations: 3.403 MB / 350.2 MB, free: 11.98 MB / 286.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)