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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7659/0.7659, allocations: 110.8 MB / 118.3 MB, free: 10.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001646/0.001645, allocations: 143.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.188e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0556/0.05564, allocations: 25.17 MB / 199 MB, free: 2.656 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.2064, allocations: 35.72 MB / 234.8 MB, free: 4.246 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2067, allocations: 63.97 kB / 234.8 MB, free: 4.184 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02153/0.2282, allocations: 8.258 MB / 243.1 MB, free: 11.98 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2283, allocations: 0 / 243.1 MB, free: 11.98 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.2283, allocations: 8 kB / 243.1 MB, free: 11.98 MB / 186.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.001079/0.2294, allocations: 0.6205 MB / 243.7 MB, free: 11.32 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2294, allocations: 12.03 kB / 243.7 MB, free: 11.3 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.2295, allocations: 47.38 kB / 243.8 MB, free: 11.26 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.2299, allocations: 290.4 kB / 244 MB, free: 10.94 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.23, allocations: 14 kB / 244.1 MB, free: 10.93 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.23, allocations: 23.91 kB / 244.1 MB, free: 10.9 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00036/0.2304, allocations: 197.5 kB / 244.3 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.2309, allocations: 281.4 kB / 244.6 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2309, allocations: 0 / 244.6 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.2309, allocations: 7.984 kB / 244.6 MB, free: 10.42 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.231, allocations: 8 kB / 244.6 MB, free: 10.41 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.2328, allocations: 1.104 MB / 245.7 MB, free: 9.234 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.2332, allocations: 227.6 kB / 245.9 MB, free: 9 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.2336, allocations: 186.5 kB / 246.1 MB, free: 8.816 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/0.2344, allocations: 1.121 MB / 247.2 MB, free: 7.438 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.2345, allocations: 42.78 kB / 247.2 MB, free: 7.387 MB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.2345, allocations: 0.9375 kB / 247.2 MB, free: 7.387 MB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005969/0.2351, allocations: 260.8 kB / 247.5 MB, free: 7.125 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2351, allocations: 85.11 kB / 247.6 MB, free: 7.023 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2354, allocations: 249.2 kB / 247.8 MB, free: 6.773 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2354, allocations: 25.7 kB / 247.8 MB, free: 6.742 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2356, allocations: 224.2 kB / 248.1 MB, free: 6.516 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.2356, allocations: 94.56 kB / 248.2 MB, free: 6.422 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.2357, allocations: 3.938 kB / 248.2 MB, free: 6.418 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2358, allocations: 346.8 kB / 248.5 MB, free: 6.07 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2359, allocations: 72.7 kB / 248.6 MB, free: 5.992 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2361, allocations: 159.4 kB / 248.7 MB, free: 5.809 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2363, allocations: 105.4 kB / 248.8 MB, free: 5.703 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2363, allocations: 0 / 248.8 MB, free: 5.703 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005825/0.2369, allocations: 344.8 kB / 249.2 MB, free: 5.359 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.237, allocations: 12.25 kB / 249.2 MB, free: 5.348 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.237, allocations: 0 / 249.2 MB, free: 5.348 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.2372, allocations: 60.89 kB / 249.2 MB, free: 5.285 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.2376, allocations: 87.89 kB / 249.3 MB, free: 5.199 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004659/0.2381, allocations: 0.6164 MB / 249.9 MB, free: 4.559 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.2383, allocations: 31.64 kB / 250 MB, free: 4.527 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2384, allocations: 16 kB / 250 MB, free: 4.512 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" ) type: Real opAmp.q_fr3:VARIABLE() type: Real opAmp.q_fr2:VARIABLE() type: Real opAmp.q_fr1:VARIABLE() type: Real opAmp.v_in:VARIABLE(unit = "V" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: resistor2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001824/0.2386, allocations: 120 kB / 250.1 MB, free: 4.391 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.2386, allocations: 31.62 kB / 250.1 MB, free: 4.359 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.2392, allocations: 296.8 kB / 250.4 MB, free: 4.066 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2392, allocations: 7.984 kB / 250.4 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2392, allocations: 0 / 250.4 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2392, allocations: 1.125 kB / 250.4 MB, free: 4.059 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2397, allocations: 337.9 kB / 250.8 MB, free: 3.691 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2397, allocations: 7.953 kB / 250.8 MB, free: 3.684 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.2401, allocations: 61.97 kB / 250.8 MB, free: 3.625 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.2402, allocations: 48.83 kB / 250.9 MB, free: 3.574 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2403, allocations: 11.98 kB / 250.9 MB, free: 3.562 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/0.2407, allocations: 0.6031 MB / 251.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2407, allocations: 0 / 251.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.2414, allocations: 476.2 kB / 252 MB, free: 2.449 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.2416, allocations: 140.6 kB / 252.1 MB, free: 2.293 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.2417, allocations: 4.844 kB / 252.1 MB, free: 2.289 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.2419, allocations: 15.98 kB / 252.1 MB, free: 2.273 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.242, allocations: 15.97 kB / 252.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.242, allocations: 15.94 kB / 252.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.2422, allocations: 192.6 kB / 252.3 MB, free: 2.059 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2422, allocations: 4 kB / 252.3 MB, free: 2.055 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.2426, allocations: 95.78 kB / 252.4 MB, free: 1.961 MB / 186.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 () * 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.0002061/0.2428, allocations: 131.1 kB / 252.6 MB, free: 1.82 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.2434, allocations: 227.9 kB / 252.8 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2434, allocations: 2.062 kB / 252.8 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.2436, allocations: 124.3 kB / 252.9 MB, free: 1.477 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.244, allocations: 41.84 kB / 252.9 MB, free: 1.438 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2451, allocations: 0.6508 MB / 253.6 MB, free: 0.7695 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.2455, allocations: 0.8031 MB / 254.4 MB, free: 15.94 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.2456, allocations: 35.27 kB / 254.4 MB, free: 15.9 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.2457, allocations: 23.44 kB / 254.5 MB, free: 15.88 MB / 202.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2457, allocations: 0 / 254.5 MB, free: 15.88 MB / 202.7 MB Notification: Performance of Templates: time 0.006815/0.2525, allocations: 3.124 MB / 257.6 MB, free: 12.82 MB / 202.7 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)