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.001181/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.379 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.001225/0.001225, allocations: 51.94 kB / 278.7 MB, free: 12.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2622, allocations: 46.63 MB / 325.3 MB, free: 2.035 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003741/0.266, allocations: 3.189 MB / 328.5 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2679, allocations: 0.9983 MB / 329.5 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2681, allocations: 4.219 kB / 329.5 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.2683, allocations: 64.23 kB / 329.6 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.2687, allocations: 123.5 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.269, allocations: 152 kB / 329.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.2695, allocations: 481.6 kB / 330.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.2698, allocations: 128.8 kB / 330.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.27, allocations: 185.1 kB / 330.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.2703, allocations: 211.6 kB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.2704, allocations: 40.25 kB / 330.9 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2706, allocations: 71.97 kB / 330.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.2707, allocations: 99.66 kB / 331 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.2709, allocations: 210.2 kB / 331.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.2714, allocations: 0.4903 MB / 331.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2714, allocations: 0 / 331.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2714, allocations: 0 / 331.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.2714, allocations: 5.125 kB / 331.7 MB, free: 13.16 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.001335/0.2727, allocations: 0.73 MB / 332.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2728, allocations: 9.094 kB / 332.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2729, allocations: 47.91 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.2733, allocations: 313.9 kB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2734, allocations: 23 kB / 332.8 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.2734, allocations: 34.34 kB / 332.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.2741, allocations: 353.2 kB / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2741, allocations: 0 / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.2741, allocations: 16 kB / 333.2 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2741, allocations: 8 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.2746, allocations: 250.4 kB / 333.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2765, allocations: 1.162 MB / 334.7 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2772, allocations: 283.5 kB / 334.9 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.2777, allocations: 209.3 kB / 335.1 MB, free: 9.863 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.2786, allocations: 1.117 MB / 336.2 MB, free: 8.488 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.2786, allocations: 34.8 kB / 336.3 MB, free: 8.445 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.2786, allocations: 0 / 336.3 MB, free: 8.445 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001365/0.28, allocations: 0.5326 MB / 336.8 MB, free: 7.887 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2801, allocations: 85.05 kB / 336.9 MB, free: 7.785 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.2804, allocations: 333.7 kB / 337.2 MB, free: 7.453 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.2805, allocations: 41.7 kB / 337.3 MB, free: 7.406 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2806, allocations: 212.1 kB / 337.5 MB, free: 7.195 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.2807, allocations: 98.61 kB / 337.6 MB, free: 7.098 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2808, allocations: 69.97 kB / 337.6 MB, free: 7.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.281, allocations: 350.7 kB / 338 MB, free: 6.668 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2812, allocations: 104.6 kB / 338.1 MB, free: 6.566 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.2815, allocations: 185.8 kB / 338.3 MB, free: 6.355 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.282, allocations: 299.7 kB / 338.6 MB, free: 6.035 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.282, allocations: 0 / 338.6 MB, free: 6.035 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007715/0.2828, allocations: 433.1 kB / 339 MB, free: 5.602 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2828, allocations: 8 kB / 339 MB, free: 5.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2828, allocations: 4.25 kB / 339 MB, free: 5.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.2831, allocations: 68.75 kB / 339.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.2835, allocations: 79.89 kB / 339.1 MB, free: 5.441 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.2857, allocations: 1.959 MB / 341.1 MB, free: 3.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.2861, allocations: 43.72 kB / 341.1 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.2861, allocations: 8 kB / 341.1 MB, free: 3.297 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 (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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.2863, allocations: 165.9 kB / 341.3 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.2864, allocations: 39.53 kB / 341.3 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.2872, allocations: 326.2 kB / 341.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2872, allocations: 4 kB / 341.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2872, allocations: 3.938 kB / 341.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2872, allocations: 0 / 341.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.2877, allocations: 401.2 kB / 342.1 MB, free: 2.305 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2877, allocations: 0 / 342.1 MB, free: 2.305 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.2881, allocations: 55.95 kB / 342.1 MB, free: 2.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.2883, allocations: 56.81 kB / 342.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.2884, allocations: 15.98 kB / 342.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004176/0.2888, allocations: 0.603 MB / 342.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2888, allocations: 4.031 kB / 342.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009066/0.2897, allocations: 0.5159 MB / 343.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.2899, allocations: 128.6 kB / 343.4 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.29, allocations: 8 kB / 343.4 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2903, allocations: 23.97 kB / 343.5 MB, free: 0.832 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.2904, allocations: 15.98 kB / 343.5 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2904, allocations: 7.984 kB / 343.5 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.2907, allocations: 243.2 kB / 343.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2907, allocations: 0 / 343.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.2911, allocations: 111.8 kB / 343.8 MB, free: 476 kB / 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 (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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.2914, allocations: 131.3 kB / 344 MB, free: 332 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.2923, allocations: 430.9 kB / 344.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2924, allocations: 0 / 344.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.2927, allocations: 143.8 kB / 344.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.2933, allocations: 38.48 kB / 344.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2947, allocations: 0.8747 MB / 345.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.2951, allocations: 0.7912 MB / 346.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.2953, allocations: 38.89 kB / 346.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.2953, allocations: 31.42 kB / 346.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2953, allocations: 3.938 kB / 346.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of Templates: time 0.008137/0.3035, allocations: 3.941 MB / 350.2 MB, free: 9.977 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)