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.6728/0.6728, allocations: 110.9 MB / 125.9 MB, free: 6.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001598/0.001598, allocations: 146.6 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 7.984 kB / 184.9 MB, free: 3.906 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1206, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04099/0.1617, allocations: 36.49 MB / 246.5 MB, free: 13.33 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.1619, allocations: 71.95 kB / 246.6 MB, free: 13.26 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02229/0.1842, allocations: 8.332 MB / 254.9 MB, free: 4.949 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1843, allocations: 0 / 254.9 MB, free: 4.949 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.1843, allocations: 12 kB / 254.9 MB, free: 4.938 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.001058/0.1854, allocations: 0.67 MB / 255.6 MB, free: 4.219 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1854, allocations: 14.09 kB / 255.6 MB, free: 4.207 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.1855, allocations: 39.53 kB / 255.7 MB, free: 4.168 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1858, allocations: 302.2 kB / 256 MB, free: 3.832 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1859, allocations: 24.66 kB / 256 MB, free: 3.809 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.1859, allocations: 31.94 kB / 256 MB, free: 3.777 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.1865, allocations: 353 kB / 256.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1865, allocations: 3.953 kB / 256.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1866, allocations: 15.98 kB / 256.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1866, allocations: 8 kB / 256.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.1871, allocations: 242.5 kB / 256.6 MB, free: 3.156 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.189, allocations: 1.17 MB / 257.8 MB, free: 1.902 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.1897, allocations: 296.4 kB / 258.1 MB, free: 1.602 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/0.1904, allocations: 1.125 MB / 259.2 MB, free: 224 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1905, allocations: 39.36 kB / 259.3 MB, free: 176 kB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.1905, allocations: 4 kB / 259.3 MB, free: 172 kB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.001195/0.1917, allocations: 0.498 MB / 259.8 MB, free: 15.64 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1918, allocations: 85.06 kB / 259.8 MB, free: 15.54 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1922, allocations: 300.8 kB / 260.1 MB, free: 15.24 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1922, allocations: 37.69 kB / 260.2 MB, free: 15.2 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1924, allocations: 212.1 kB / 260.4 MB, free: 14.98 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.1924, allocations: 106.5 kB / 260.5 MB, free: 14.88 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.1925, allocations: 8 kB / 260.5 MB, free: 14.87 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1926, allocations: 348.6 kB / 260.8 MB, free: 14.52 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1929, allocations: 100.7 kB / 260.9 MB, free: 14.42 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1932, allocations: 181.7 kB / 261.1 MB, free: 14.21 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1935, allocations: 133.4 kB / 261.2 MB, free: 14.08 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1935, allocations: 0 / 261.2 MB, free: 14.08 MB / 202.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007153/0.1942, allocations: 408.8 kB / 261.6 MB, free: 13.67 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1942, allocations: 9.875 kB / 261.6 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1943, allocations: 0 / 261.6 MB, free: 13.66 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.1945, allocations: 49.05 kB / 261.7 MB, free: 13.61 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.1949, allocations: 97.62 kB / 261.8 MB, free: 13.52 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004403/0.1953, allocations: 0.5719 MB / 262.4 MB, free: 12.92 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.1956, allocations: 51.64 kB / 262.4 MB, free: 12.87 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1956, allocations: 8 kB / 262.4 MB, free: 12.86 MB / 202.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" fixed = true ) type: Real opAmp.q_fr3:VARIABLE(fixed = true ) type: Real opAmp.q_fr2:VARIABLE(fixed = true ) type: Real opAmp.q_fr1:VARIABLE(fixed = true ) type: Real opAmp.v_in:VARIABLE(unit = "V" fixed = true ) 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 prepare postOptimizeDAE: time 0.0002752/0.1959, allocations: 169.2 kB / 262.6 MB, free: 12.69 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.196, allocations: 35.58 kB / 262.6 MB, free: 12.66 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/0.1967, allocations: 334.3 kB / 262.9 MB, free: 12.32 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.1967, allocations: 4 kB / 262.9 MB, free: 12.32 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1967, allocations: 3.984 kB / 263 MB, free: 12.31 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1967, allocations: 5.969 kB / 263 MB, free: 12.31 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.1972, allocations: 397.2 kB / 263.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1973, allocations: 1.188 kB / 263.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.1976, allocations: 67.83 kB / 263.4 MB, free: 11.8 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.1978, allocations: 36.84 kB / 263.4 MB, free: 11.77 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1978, allocations: 11.98 kB / 263.5 MB, free: 11.75 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/0.1982, allocations: 0.5653 MB / 264 MB, free: 11.16 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1982, allocations: 0 / 264 MB, free: 11.16 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.199, allocations: 0.5211 MB / 264.5 MB, free: 10.62 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.1992, allocations: 136.5 kB / 264.7 MB, free: 10.47 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.1992, allocations: 8 kB / 264.7 MB, free: 10.46 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1995, allocations: 27.98 kB / 264.7 MB, free: 10.44 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.1996, allocations: 15.97 kB / 264.7 MB, free: 10.42 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1996, allocations: 15.94 kB / 264.7 MB, free: 10.41 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.1998, allocations: 239.1 kB / 265 MB, free: 10.18 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1999, allocations: 0 / 265 MB, free: 10.18 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.2003, allocations: 107.8 kB / 265.1 MB, free: 10.07 MB / 202.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.0002097/0.2005, allocations: 132.4 kB / 265.2 MB, free: 9.93 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.2011, allocations: 288.8 kB / 265.5 MB, free: 9.648 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2011, allocations: 0 / 265.5 MB, free: 9.648 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.2014, allocations: 152.3 kB / 265.6 MB, free: 9.5 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.2018, allocations: 55.91 kB / 265.7 MB, free: 9.449 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2032, allocations: 1.049 MB / 266.7 MB, free: 8.383 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2036, allocations: 0.7955 MB / 267.5 MB, free: 7.559 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.2038, allocations: 42.94 kB / 267.6 MB, free: 7.516 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.2038, allocations: 35.44 kB / 267.6 MB, free: 7.48 MB / 202.7 MB Notification: Performance of SimCode: time 4.6e-07/0.2038, allocations: 0 / 267.6 MB, free: 7.48 MB / 202.7 MB Notification: Performance of Templates: time 0.006792/0.2106, allocations: 3.414 MB / 271 MB, free: 4.094 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)