Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007212/0.007212, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001563/0.001563, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004109, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.3617, allocations: 69.88 MB / 382.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.362, allocations: 71.97 kB / 382.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03168/0.3937, allocations: 8.43 MB / 391.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3937, allocations: 4 kB / 391.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.3938, allocations: 7.984 kB / 391.3 MB, free: 12.11 MB / 298.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.001463/0.3952, allocations: 0.6662 MB / 391.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3953, allocations: 8.031 kB / 391.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3954, allocations: 47.53 kB / 392 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.3959, allocations: 302.2 kB / 392.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.396, allocations: 24.61 kB / 392.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.3961, allocations: 36 kB / 392.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.3969, allocations: 345 kB / 392.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.397, allocations: 0 / 392.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/0.397, allocations: 20 kB / 392.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.397, allocations: 8 kB / 392.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.3977, allocations: 242.4 kB / 393 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.4005, allocations: 1.189 MB / 394.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/0.4014, allocations: 300.4 kB / 394.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.4025, allocations: 1.125 MB / 395.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.4025, allocations: 34.8 kB / 395.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.267e-06/0.4025, allocations: 0 / 395.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001647/0.4042, allocations: 0.5103 MB / 396.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4043, allocations: 85.11 kB / 396.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.4047, allocations: 304.8 kB / 396.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.4048, allocations: 29.7 kB / 396.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.405, allocations: 216 kB / 396.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4051, allocations: 102.6 kB / 396.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4051, allocations: 8 kB / 396.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4053, allocations: 346.8 kB / 397.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.4057, allocations: 108.7 kB / 397.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.4061, allocations: 193.7 kB / 397.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.4065, allocations: 135.9 kB / 397.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4065, allocations: 4 kB / 397.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009109/0.4074, allocations: 372.8 kB / 398 MB, free: 4.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.4074, allocations: 10.17 kB / 398 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4075, allocations: 7.953 kB / 398 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4075, allocations: 4 kB / 398 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.4081, allocations: 99.83 kB / 398.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.4081, allocations: 4 kB / 398.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.4085, allocations: 47.58 kB / 398.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.4085, allocations: 16 kB / 398.2 MB, free: 4.66 MB / 298.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.000224/0.4087, allocations: 149.7 kB / 398.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.4088, allocations: 31.62 kB / 398.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.4098, allocations: 342.2 kB / 398.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4098, allocations: 0 / 398.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4098, allocations: 7.938 kB / 398.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4098, allocations: 0 / 398.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.4105, allocations: 385.2 kB / 399 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4105, allocations: 4 kB / 399.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.4111, allocations: 75.89 kB / 399.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.4113, allocations: 36.84 kB / 399.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.4114, allocations: 11.94 kB / 399.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004948/0.4119, allocations: 0.5641 MB / 399.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4119, allocations: 0 / 399.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.4131, allocations: 0.5238 MB / 400.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.4133, allocations: 136.5 kB / 400.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.4134, allocations: 8 kB / 400.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.4138, allocations: 23.98 kB / 400.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4139, allocations: 19.97 kB / 400.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.414, allocations: 8 kB / 400.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.4143, allocations: 243.2 kB / 400.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4143, allocations: 0 / 400.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006069/0.4149, allocations: 103.8 kB / 400.8 MB, free: 1.879 MB / 298.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.000262/0.4152, allocations: 144.2 kB / 400.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007871/0.416, allocations: 276.8 kB / 401.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.416, allocations: 0 / 401.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.4165, allocations: 152.3 kB / 401.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.4169, allocations: 37.38 kB / 401.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.4189, allocations: 1.05 MB / 402.4 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.4194, allocations: 0.7994 MB / 403.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.4197, allocations: 38.97 kB / 403.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4198, allocations: 27.42 kB / 403.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4198, allocations: 4 kB / 403.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of Templates: time 0.01016/0.43, allocations: 3.177 MB / 406.5 MB, free: 12.16 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)