Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.95 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.001325/0.001325, 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.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.0005708/0.0005709, allocations: 12 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.285, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003373/0.2885, allocations: 2.711 MB / 329.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2905, allocations: 0.9351 MB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.2907, allocations: 9.406 kB / 330.1 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2909, allocations: 43.94 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.2912, allocations: 111.2 kB / 330.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2915, allocations: 104 kB / 330.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.292, allocations: 439.4 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.2923, allocations: 104.6 kB / 330.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.2925, allocations: 157.9 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.2928, allocations: 183.2 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.2929, allocations: 20.91 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.293, allocations: 53.69 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.2931, allocations: 71.66 kB / 331.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.2932, allocations: 98.83 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.2936, allocations: 363.9 kB / 331.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2936, allocations: 4 kB / 331.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2936, allocations: 9.031 kB / 331.9 MB, free: 13.31 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2936, allocations: 0 / 331.9 MB, free: 13.31 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001215/0.2948, allocations: 0.6742 MB / 332.5 MB, free: 12.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2949, allocations: 10.06 kB / 332.5 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.295, allocations: 49.47 kB / 332.6 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.2954, allocations: 298 kB / 332.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.2955, allocations: 26.55 kB / 332.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.2956, allocations: 34.12 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.2963, allocations: 347.6 kB / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2963, allocations: 0 / 333.3 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.2964, allocations: 15.41 kB / 333.3 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2964, allocations: 11.88 kB / 333.3 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.2969, allocations: 241.9 kB / 333.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.2989, allocations: 1.201 MB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.2996, allocations: 291.7 kB / 335 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.3001, allocations: 209.2 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/0.3009, allocations: 1.125 MB / 336.4 MB, free: 9.141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.301, allocations: 38.8 kB / 336.4 MB, free: 9.094 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.301, allocations: 0 / 336.4 MB, free: 9.094 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001283/0.3023, allocations: 0.5399 MB / 336.9 MB, free: 8.527 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.3023, allocations: 81.11 kB / 337 MB, free: 8.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.3027, allocations: 341.6 kB / 337.4 MB, free: 8.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3027, allocations: 33.7 kB / 337.4 MB, free: 8.051 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3029, allocations: 220 kB / 337.6 MB, free: 7.832 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.303, allocations: 102.5 kB / 337.7 MB, free: 7.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.303, allocations: 4 kB / 337.7 MB, free: 7.727 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3031, allocations: 342.8 kB / 338 MB, free: 7.383 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3034, allocations: 112.7 kB / 338.2 MB, free: 7.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.3037, allocations: 186 kB / 338.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3039, allocations: 132.1 kB / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3039, allocations: 0 / 338.5 MB, free: 6.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007725/0.3047, allocations: 441.6 kB / 338.9 MB, free: 6.488 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3047, allocations: 11.98 kB / 338.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3047, allocations: 0 / 338.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.305, allocations: 60.83 kB / 339 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.3053, allocations: 87.89 kB / 339 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.307, allocations: 1.76 MB / 340.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.3073, allocations: 43.62 kB / 340.9 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3073, allocations: 15.98 kB / 340.9 MB, free: 4.379 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.3075, allocations: 157.8 kB / 341 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3076, allocations: 31.62 kB / 341.1 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.3083, allocations: 346.2 kB / 341.4 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3083, allocations: 4 kB / 341.4 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3083, allocations: 7.953 kB / 341.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3083, allocations: 0 / 341.4 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.3088, allocations: 397.2 kB / 341.8 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3088, allocations: 0 / 341.8 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.3091, allocations: 55.95 kB / 341.8 MB, free: 3.328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.3093, allocations: 64.77 kB / 341.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.3094, allocations: 11.98 kB / 341.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003799/0.3097, allocations: 0.5953 MB / 342.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3098, allocations: 0 / 342.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.3106, allocations: 0.5483 MB / 343.1 MB, free: 2.062 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.3108, allocations: 144.5 kB / 343.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.3108, allocations: 4 kB / 343.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3111, allocations: 27.92 kB / 343.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3111, allocations: 15.97 kB / 343.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3111, allocations: 8 kB / 343.3 MB, free: 1.848 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.3114, allocations: 239.2 kB / 343.5 MB, free: 1.621 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 192 / 343.5 MB, free: 1.621 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3119, allocations: 115.8 kB / 343.6 MB, free: 1.508 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/0.3121, allocations: 127.1 kB / 343.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.313, allocations: 418.4 kB / 344.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.313, allocations: 0 / 344.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.3133, allocations: 152.3 kB / 344.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3138, allocations: 41.38 kB / 344.3 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3153, allocations: 1.047 MB / 345.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3156, allocations: 0.7913 MB / 346.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.3158, allocations: 38.91 kB / 346.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.714e-05/0.3159, allocations: 35.36 kB / 346.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3159, allocations: 0 / 346.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Templates: time 0.007968/0.3239, allocations: 3.593 MB / 349.8 MB, free: 11.19 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)