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.0009478/0.000948, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00712/0.007121, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.0007645/0.0007648, allocations: 15.98 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3808, allocations: 47.57 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004004/0.3849, allocations: 2.4 MB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.387, allocations: 0.7099 MB / 330.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.3873, allocations: 3.031 kB / 330.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.3875, allocations: 32.42 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.3878, allocations: 75.64 kB / 330.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3882, allocations: 79.22 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.3888, allocations: 327.1 kB / 330.7 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.3891, allocations: 74.86 kB / 330.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3893, allocations: 115.2 kB / 330.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.3896, allocations: 132.6 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.3897, allocations: 13.91 kB / 331 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.3897, allocations: 19.94 kB / 331 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.3898, allocations: 50.38 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3901, allocations: 157.6 kB / 331.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.3906, allocations: 301.8 kB / 331.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3906, allocations: 1.156 kB / 331.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3906, allocations: 4 kB / 331.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3906, allocations: 0 / 331.5 MB, free: 13.97 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.001743/0.3924, allocations: 0.6111 MB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/0.3925, allocations: 9.312 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3926, allocations: 31.66 kB / 332.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.3932, allocations: 275 kB / 332.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.3932, allocations: 21.53 kB / 332.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.3933, allocations: 17.88 kB / 332.5 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3944, allocations: 267.6 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3944, allocations: 0 / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.3944, allocations: 6.031 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3945, allocations: 4.969 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3957, allocations: 290.7 kB / 333 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.3981, allocations: 0.891 MB / 333.9 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.3994, allocations: 265 kB / 334.2 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.3999, allocations: 112.7 kB / 334.3 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3999, allocations: 1.281 kB / 334.3 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007425/0.4007, allocations: 194.9 kB / 334.5 MB, free: 11.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.4007, allocations: 0 / 334.5 MB, free: 11.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.003112/0.4038, allocations: 0.7218 MB / 335.2 MB, free: 11.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4039, allocations: 110.8 kB / 335.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.4044, allocations: 258.6 kB / 335.6 MB, free: 10.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.4045, allocations: 33.7 kB / 335.6 MB, free: 10.58 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4046, allocations: 175.8 kB / 335.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.4047, allocations: 47.36 kB / 335.8 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.4048, allocations: 33.7 kB / 335.8 MB, free: 10.32 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.405, allocations: 330.8 kB / 336.2 MB, free: 9.984 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.4054, allocations: 107.9 kB / 336.3 MB, free: 9.879 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.406, allocations: 193.2 kB / 336.5 MB, free: 9.656 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.407, allocations: 304.2 kB / 336.7 MB, free: 9.328 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.407, allocations: 0 / 336.7 MB, free: 9.328 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001782/0.4088, allocations: 487.5 kB / 337.2 MB, free: 8.836 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.4091, allocations: 177.6 kB / 337.4 MB, free: 8.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.4091, allocations: 4 kB / 337.4 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.4099, allocations: 136.7 kB / 337.5 MB, free: 8.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4102, allocations: 47.91 kB / 337.6 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.4137, allocations: 1.807 MB / 339.4 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.4143, allocations: 67.73 kB / 339.5 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.4144, allocations: 8 kB / 339.5 MB, free: 6.418 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4144, allocations: 4 kB / 339.5 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.4156, allocations: 340.4 kB / 339.8 MB, free: 6.074 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4156, allocations: 4 kB / 339.8 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.4158, allocations: 40.83 kB / 339.8 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.416, allocations: 43.91 kB / 339.9 MB, free: 5.984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.418, allocations: 1.546 MB / 341.4 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.4185, allocations: 47.88 kB / 341.5 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.4186, allocations: 8 kB / 341.5 MB, free: 4.254 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 (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 (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003823/0.419, allocations: 213 kB / 341.7 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.4191, allocations: 27.72 kB / 341.7 MB, free: 4.008 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.4192, allocations: 29.75 kB / 341.7 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4192, allocations: 4 kB / 341.8 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4192, allocations: 4 kB / 341.8 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4192, allocations: 0 / 341.8 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.4198, allocations: 293.4 kB / 342 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4198, allocations: 0 / 342 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.42, allocations: 27.97 kB / 342.1 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.4204, allocations: 72.81 kB / 342.1 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4204, allocations: 7.922 kB / 342.2 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.4237, allocations: 1.74 MB / 343.9 MB, free: 1.652 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4237, allocations: 8 kB / 343.9 MB, free: 1.645 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.4251, allocations: 373.5 kB / 344.3 MB, free: 1.258 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.4253, allocations: 100.9 kB / 344.4 MB, free: 1.141 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.4254, allocations: 3.984 kB / 344.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.4257, allocations: 47.91 kB / 344.4 MB, free: 1.09 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4259, allocations: 19.97 kB / 344.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.4259, allocations: 4 kB / 344.4 MB, free: 1.066 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003701/0.4263, allocations: 190 kB / 344.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4263, allocations: 0 / 344.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0009952/0.4273, allocations: 127.7 kB / 344.7 MB, free: 0.7539 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002176/0.4275, allocations: 99.25 kB / 344.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.4303, allocations: 0.7893 MB / 345.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4303, allocations: 0 / 345.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.431, allocations: 258.9 kB / 345.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.4317, allocations: 52.41 kB / 345.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.4351, allocations: 0.9161 MB / 346.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.4358, allocations: 0.7483 MB / 347.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.4361, allocations: 30.27 kB / 347.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.4361, allocations: 19.44 kB / 347.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4362, allocations: 0 / 347.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Templates: time 0.01204/0.4482, allocations: 3.846 MB / 351.5 MB, free: 9.883 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)