Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.22/1.22, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001578/0.001578, allocations: 108.9 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003521, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07529/0.07566, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.2881, allocations: 74.93 MB / 430 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.2883, allocations: 74.72 kB / 430.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01995/0.3082, allocations: 8.343 MB / 438.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3083, allocations: 0 / 438.4 MB, free: 7.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3083, allocations: 8 kB / 438.4 MB, free: 7.648 MB / 314.7 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.001003/0.3093, allocations: 0.6703 MB / 439.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3093, allocations: 12.03 kB / 439.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3094, allocations: 47.39 kB / 439.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.3097, allocations: 295 kB / 439.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3098, allocations: 27.33 kB / 439.5 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.3098, allocations: 35.12 kB / 439.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.3104, allocations: 351.8 kB / 439.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3104, allocations: 0 / 439.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3105, allocations: 12.62 kB / 439.8 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3105, allocations: 8 kB / 439.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.311, allocations: 251.2 kB / 440.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3125, allocations: 1.18 MB / 441.3 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3131, allocations: 298.3 kB / 441.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004395/0.3135, allocations: 1.124 MB / 442.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.3135, allocations: 30.8 kB / 442.7 MB, free: 3.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.3135, allocations: 8 kB / 442.7 MB, free: 3.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009405/0.3145, allocations: 0.4959 MB / 443.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3145, allocations: 85.05 kB / 443.3 MB, free: 2.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3148, allocations: 302.8 kB / 443.6 MB, free: 2.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3148, allocations: 32.64 kB / 443.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.3149, allocations: 214.7 kB / 443.8 MB, free: 2.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3149, allocations: 108.4 kB / 444 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.3149, allocations: 7.125 kB / 444 MB, free: 2.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.315, allocations: 345.4 kB / 444.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3152, allocations: 107.8 kB / 444.4 MB, free: 2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3154, allocations: 196.6 kB / 444.6 MB, free: 1.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.3156, allocations: 130.5 kB / 444.7 MB, free: 1.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3157, allocations: 0 / 444.7 MB, free: 1.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005452/0.3162, allocations: 381.8 kB / 445.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3162, allocations: 4 kB / 445.1 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3162, allocations: 4 kB / 445.1 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3163, allocations: 4 kB / 445.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3166, allocations: 106.9 kB / 445.2 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3167, allocations: 4.812 kB / 445.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3169, allocations: 45.7 kB / 445.3 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3169, allocations: 16.94 kB / 445.3 MB, free: 1.281 MB / 314.7 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.3171, allocations: 146 kB / 445.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3171, allocations: 39.62 kB / 445.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.3177, allocations: 328.1 kB / 445.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3177, allocations: 7.984 kB / 445.8 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3177, allocations: 4 kB / 445.8 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3177, allocations: 3.984 kB / 445.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.318, allocations: 394.9 kB / 446.2 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.318, allocations: 0 / 446.2 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3184, allocations: 67.89 kB / 446.2 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.3186, allocations: 36.83 kB / 446.3 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3186, allocations: 8 kB / 446.3 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003207/0.319, allocations: 0.568 MB / 446.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.319, allocations: 0 / 446.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.3198, allocations: 0.5327 MB / 447.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.32, allocations: 136.5 kB / 447.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.32, allocations: 4 kB / 447.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3203, allocations: 31.97 kB / 447.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3204, allocations: 17.23 kB / 447.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3204, allocations: 19.94 kB / 447.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3206, allocations: 231.2 kB / 447.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3206, allocations: 0 / 447.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.321, allocations: 111.8 kB / 447.9 MB, free: 14.64 MB / 330.7 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 (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.3212, allocations: 136.4 kB / 448.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.3218, allocations: 271.9 kB / 448.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3218, allocations: 0 / 448.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.3221, allocations: 131.9 kB / 448.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3224, allocations: 44.53 kB / 448.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3237, allocations: 1.041 MB / 449.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.324, allocations: 0.7994 MB / 450.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3242, allocations: 42.89 kB / 450.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.3243, allocations: 31.42 kB / 450.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3243, allocations: 0 / 450.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Templates: time 0.00622/0.3305, allocations: 3.191 MB / 453.6 MB, free: 8.984 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)