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.00159/0.00159, 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.00192/0.00192, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.911/1.911, allocations: 205.1 MB / 222 MB, free: 4.773 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.001997/0.001997, allocations: 56.39 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 46.63 MB / 324.7 MB, free: 2.035 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006844/0.3815, allocations: 2.749 MB / 327.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3839, allocations: 0.7195 MB / 328.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.3844, allocations: 3.562 kB / 328.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3847, allocations: 31.8 kB / 328.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.3851, allocations: 76.34 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.3857, allocations: 82.72 kB / 328.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.3864, allocations: 331.5 kB / 328.7 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3867, allocations: 74.95 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.3871, allocations: 121.3 kB / 328.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.3874, allocations: 131.8 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.649e-05/0.3875, allocations: 18.31 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3877, allocations: 18.31 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3878, allocations: 57.92 kB / 329.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.3881, allocations: 137.6 kB / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.3886, allocations: 314 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3887, allocations: 0 / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3887, allocations: 0 / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.3887, allocations: 4 kB / 329.5 MB, free: 14.34 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.001993/0.3907, allocations: 0.638 MB / 330.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3908, allocations: 9 kB / 330.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3909, allocations: 27.28 kB / 330.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.3914, allocations: 279.6 kB / 330.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3914, allocations: 13.66 kB / 330.5 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.3915, allocations: 21.56 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007484/0.3922, allocations: 254.5 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3923, allocations: 0 / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3923, allocations: 10.09 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3923, allocations: 5.719 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.3932, allocations: 258.8 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.3952, allocations: 0.8656 MB / 331.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.396, allocations: 222.3 kB / 332.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.3963, allocations: 101.4 kB / 332.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3964, allocations: 2.25 kB / 332.2 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.3969, allocations: 181.7 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.3969, allocations: 1.312 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0022/0.3992, allocations: 0.5804 MB / 333 MB, free: 11.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3993, allocations: 114.8 kB / 333.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.3996, allocations: 274.4 kB / 333.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3997, allocations: 29.7 kB / 333.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3998, allocations: 175.8 kB / 333.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3999, allocations: 43.44 kB / 333.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.4, allocations: 53.61 kB / 333.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4002, allocations: 330.8 kB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.4005, allocations: 100.8 kB / 334.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.4009, allocations: 169.4 kB / 334.2 MB, free: 10.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.4015, allocations: 268.2 kB / 334.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4015, allocations: 0 / 334.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001146/0.4027, allocations: 431.5 kB / 334.9 MB, free: 9.645 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.4027, allocations: 33.7 kB / 335 MB, free: 9.605 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4028, allocations: 4 kB / 335 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.4032, allocations: 108.8 kB / 335.1 MB, free: 9.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.4034, allocations: 47.91 kB / 335.1 MB, free: 9.445 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.4057, allocations: 1.733 MB / 336.8 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4061, allocations: 47.75 kB / 336.9 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.4062, allocations: 16.06 kB / 336.9 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003992/0.4066, allocations: 184.1 kB / 337.1 MB, free: 7.328 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003032/0.4069, allocations: 165.7 kB / 337.2 MB, free: 7.133 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005154/0.4074, allocations: 239.7 kB / 337.5 MB, free: 6.867 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.4074, allocations: 3.938 kB / 337.5 MB, free: 6.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008053/0.4082, allocations: 351.5 kB / 337.8 MB, free: 6.504 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.4083, allocations: 29.7 kB / 337.9 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4083, allocations: 4 kB / 337.9 MB, free: 6.465 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.4084, allocations: 49.08 kB / 337.9 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.4086, allocations: 39.91 kB / 337.9 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.41, allocations: 1.546 MB / 339.5 MB, free: 4.699 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.4104, allocations: 47.8 kB / 339.5 MB, free: 4.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4105, allocations: 11.94 kB / 339.6 MB, free: 4.641 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.0001963/0.4107, allocations: 196.3 kB / 339.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.4107, allocations: 27.66 kB / 339.8 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.4108, allocations: 25.83 kB / 339.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4108, allocations: 0 / 339.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4108, allocations: 0 / 339.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4108, allocations: 0 / 339.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.4112, allocations: 301.3 kB / 340.1 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4112, allocations: 0 / 340.1 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4113, allocations: 23.97 kB / 340.1 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002267/0.4116, allocations: 76.67 kB / 340.2 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4116, allocations: 0 / 340.2 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.4135, allocations: 1.678 MB / 341.9 MB, free: 2.133 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4135, allocations: 3.938 kB / 341.9 MB, free: 2.129 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.4144, allocations: 333.9 kB / 342.2 MB, free: 1.781 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.4145, allocations: 104.8 kB / 342.3 MB, free: 1.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.4145, allocations: 4 kB / 342.3 MB, free: 1.656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.4147, allocations: 27.97 kB / 342.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.4149, allocations: 23.97 kB / 342.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4149, allocations: 4 kB / 342.4 MB, free: 1.602 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.4151, allocations: 194 kB / 342.5 MB, free: 1.41 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4151, allocations: 0 / 342.5 MB, free: 1.41 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006201/0.4157, allocations: 119.8 kB / 342.7 MB, free: 1.293 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.0001617/0.4159, allocations: 99.25 kB / 342.8 MB, free: 1.188 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4175, allocations: 0.7383 MB / 343.5 MB, free: 408 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4175, allocations: 4 kB / 343.5 MB, free: 404 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.418, allocations: 223 kB / 343.7 MB, free: 168 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4184, allocations: 55.53 kB / 343.8 MB, free: 116 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4205, allocations: 0.784 MB / 344.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4208, allocations: 0.7483 MB / 345.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.421, allocations: 26.28 kB / 345.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.4211, allocations: 19.44 kB / 345.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4211, allocations: 0 / 345.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Templates: time 0.009021/0.4301, allocations: 3.898 MB / 349.2 MB, free: 10.58 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)