Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004707/0.0004708, allocations: 12 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.002641/0.3589, allocations: 2.29 MB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3603, allocations: 0.6888 MB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3605, allocations: 4.344 kB / 329.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3606, allocations: 28.05 kB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3608, allocations: 79.75 kB / 329.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3611, allocations: 62.42 kB / 329.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.3614, allocations: 325 kB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.3617, allocations: 60.91 kB / 330 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3618, allocations: 111.5 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.362, allocations: 132.1 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.3621, allocations: 14.47 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.3622, allocations: 15.38 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.3622, allocations: 54.8 kB / 330.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3624, allocations: 68.95 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3627, allocations: 236.9 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.3627, allocations: 4 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3627, allocations: 1.406 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.443e-06/0.3627, allocations: 4 kB / 330.6 MB, free: 14.21 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.001518/0.3642, allocations: 0.6007 MB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.3643, allocations: 8.531 kB / 331.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.3644, allocations: 39.59 kB / 331.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.3648, allocations: 266.1 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3649, allocations: 16.94 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.3649, allocations: 25.91 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.3656, allocations: 253.5 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3657, allocations: 4 kB / 331.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3657, allocations: 10.16 kB / 331.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3657, allocations: 4.531 kB / 331.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.3666, allocations: 284.7 kB / 332.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.3684, allocations: 0.8955 MB / 333 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.3691, allocations: 264.9 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3694, allocations: 115.7 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3694, allocations: 5.266 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.3699, allocations: 196.7 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.3699, allocations: 1.062 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002003/0.3719, allocations: 0.7202 MB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.372, allocations: 110.8 kB / 334.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.3723, allocations: 266.5 kB / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3724, allocations: 25.7 kB / 334.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.3725, allocations: 179.8 kB / 334.9 MB, free: 10.83 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3726, allocations: 39.45 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.3726, allocations: 4 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3728, allocations: 338.8 kB / 335.3 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.3731, allocations: 103.9 kB / 335.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.3734, allocations: 189.3 kB / 335.6 MB, free: 10.13 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.3738, allocations: 141.7 kB / 335.7 MB, free: 9.984 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3738, allocations: 0 / 335.7 MB, free: 9.984 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001101/0.3749, allocations: 486.5 kB / 336.2 MB, free: 9.496 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.375, allocations: 177.6 kB / 336.3 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.375, allocations: 0 / 336.3 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.3754, allocations: 76.81 kB / 336.4 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3756, allocations: 55.89 kB / 336.5 MB, free: 9.152 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.378, allocations: 1.819 MB / 338.3 MB, free: 7.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3783, allocations: 47.88 kB / 338.3 MB, free: 7.148 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3783, allocations: 15.98 kB / 338.4 MB, free: 7.133 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.3783, allocations: 4 kB / 338.4 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007109/0.379, allocations: 326.1 kB / 338.7 MB, free: 6.801 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3791, allocations: 4.25 kB / 338.7 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.182e-05/0.3792, allocations: 40.84 kB / 338.7 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3794, allocations: 55.84 kB / 338.8 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.3806, allocations: 1.538 MB / 340.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3809, allocations: 47.88 kB / 340.4 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3809, allocations: 8 kB / 340.4 MB, free: 4.977 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.3811, allocations: 220.8 kB / 340.6 MB, free: 4.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.3812, allocations: 31.66 kB / 340.6 MB, free: 4.719 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.3812, allocations: 21.84 kB / 340.6 MB, free: 4.699 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3812, allocations: 7.922 kB / 340.6 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.3812, allocations: 0 / 340.6 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3812, allocations: 4 kB / 340.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.3815, allocations: 293.4 kB / 340.9 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3815, allocations: 0 / 340.9 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3817, allocations: 31.92 kB / 341 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.3819, allocations: 76.75 kB / 341 MB, free: 4.242 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3819, allocations: 4 kB / 341 MB, free: 4.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.384, allocations: 1.737 MB / 342.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.384, allocations: 0 / 342.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.3849, allocations: 369.5 kB / 343.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.385, allocations: 108.7 kB / 343.2 MB, free: 1.859 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.385, allocations: 3.953 kB / 343.2 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3852, allocations: 43.95 kB / 343.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.3854, allocations: 23.97 kB / 343.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3854, allocations: 0 / 343.3 MB, free: 1.789 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3856, allocations: 190 kB / 343.5 MB, free: 1.602 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3856, allocations: 0 / 343.5 MB, free: 1.602 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006051/0.3862, allocations: 119.8 kB / 343.6 MB, free: 1.484 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.3864, allocations: 111.2 kB / 343.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.388, allocations: 0.7952 MB / 344.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.388, allocations: 0 / 344.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.3884, allocations: 247 kB / 344.8 MB, free: 276 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3888, allocations: 40.53 kB / 344.8 MB, free: 236 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3909, allocations: 0.8975 MB / 345.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3913, allocations: 0.7483 MB / 346.4 MB, free: 14.53 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3915, allocations: 34.2 kB / 346.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.3916, allocations: 15.44 kB / 346.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3916, allocations: 0 / 346.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Templates: time 0.00846/0.4, allocations: 3.732 MB / 350.2 MB, free: 10.75 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)