Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.056/1.056, allocations: 111.2 MB / 124.3 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.447e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1389, allocations: 25.15 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09895/0.2379, allocations: 36.4 MB / 215.8 MB, free: 12.7 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/0.2384, allocations: 63.97 kB / 215.9 MB, free: 12.64 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03644/0.2749, allocations: 8.339 MB / 224.2 MB, free: 4.273 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2749, allocations: 0 / 224.2 MB, free: 4.273 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.275, allocations: 8 kB / 224.2 MB, free: 4.266 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.001253/0.2762, allocations: 0.6231 MB / 224.9 MB, free: 3.594 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2763, allocations: 8.031 kB / 224.9 MB, free: 3.586 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2764, allocations: 47.44 kB / 224.9 MB, free: 3.539 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.2769, allocations: 290.3 kB / 225.2 MB, free: 3.219 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.277, allocations: 20.78 kB / 225.2 MB, free: 3.199 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.2771, allocations: 39.91 kB / 225.3 MB, free: 3.16 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.2778, allocations: 327 kB / 225.6 MB, free: 2.828 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2778, allocations: 3.953 kB / 225.6 MB, free: 2.824 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/0.2779, allocations: 20 kB / 225.6 MB, free: 2.805 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2779, allocations: 11.94 kB / 225.6 MB, free: 2.793 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/0.2785, allocations: 207.1 kB / 225.8 MB, free: 2.594 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.2812, allocations: 1.171 MB / 227 MB, free: 1.34 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.2819, allocations: 249.3 kB / 227.2 MB, free: 1.086 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.2825, allocations: 193.3 kB / 227.4 MB, free: 0.8945 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.2836, allocations: 1.125 MB / 228.5 MB, free: 15.51 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2836, allocations: 38.8 kB / 228.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of pre-optimization done (n=27): time 3.453e-06/0.2836, allocations: 0 / 228.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008715/0.2845, allocations: 288.5 kB / 228.9 MB, free: 15.18 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.2846, allocations: 85.09 kB / 228.9 MB, free: 15.07 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.2851, allocations: 307.4 kB / 229.2 MB, free: 14.77 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.2852, allocations: 33.7 kB / 229.3 MB, free: 14.73 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2854, allocations: 258.4 kB / 229.5 MB, free: 14.47 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2855, allocations: 98.55 kB / 229.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2856, allocations: 12 kB / 229.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2857, allocations: 318.8 kB / 229.9 MB, free: 14.04 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.286, allocations: 84.7 kB / 230 MB, free: 13.95 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.2863, allocations: 166 kB / 230.2 MB, free: 13.76 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.2866, allocations: 117.2 kB / 230.3 MB, free: 13.64 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-06/0.2867, allocations: 4 kB / 230.3 MB, free: 13.64 MB / 202.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009/0.2876, allocations: 357.8 kB / 230.7 MB, free: 13.28 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2876, allocations: 8 kB / 230.7 MB, free: 13.27 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2876, allocations: 0 / 230.7 MB, free: 13.27 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.288, allocations: 69 kB / 230.7 MB, free: 13.2 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2885, allocations: 83.89 kB / 230.8 MB, free: 13.12 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.2891, allocations: 0.5992 MB / 231.4 MB, free: 12.5 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.2895, allocations: 47.67 kB / 231.5 MB, free: 12.45 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2896, allocations: 16 kB / 231.5 MB, free: 12.43 MB / 202.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 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.0002159/0.2898, allocations: 131.8 kB / 231.6 MB, free: 12.3 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2899, allocations: 35.53 kB / 231.6 MB, free: 12.27 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008159/0.2908, allocations: 322.4 kB / 232 MB, free: 11.94 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.405e-06/0.2908, allocations: 4 kB / 232 MB, free: 11.94 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-06/0.2908, allocations: 0 / 232 MB, free: 11.94 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.224e-06/0.2908, allocations: 0 / 232 MB, free: 11.94 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.2916, allocations: 401.2 kB / 232.4 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-06/0.2916, allocations: 0 / 232.4 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.2921, allocations: 67.89 kB / 232.4 MB, free: 11.43 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.2924, allocations: 52.83 kB / 232.5 MB, free: 11.38 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.2924, allocations: 8 kB / 232.5 MB, free: 11.37 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/0.2931, allocations: 0.5992 MB / 233.1 MB, free: 10.74 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-06/0.2931, allocations: 4.062 kB / 233.1 MB, free: 10.74 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2941, allocations: 0.4884 MB / 233.6 MB, free: 10.23 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.2944, allocations: 136.6 kB / 233.7 MB, free: 10.08 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.2944, allocations: 8 kB / 233.7 MB, free: 10.07 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.2948, allocations: 27.98 kB / 233.7 MB, free: 10.04 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.2949, allocations: 15.97 kB / 233.8 MB, free: 10.03 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.295, allocations: 12 kB / 233.8 MB, free: 10.02 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003573/0.2953, allocations: 242.1 kB / 234 MB, free: 9.781 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.2953, allocations: 0 / 234 MB, free: 9.781 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005751/0.2959, allocations: 103.8 kB / 234.1 MB, free: 9.68 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 () * 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.0002534/0.2962, allocations: 135.2 kB / 234.2 MB, free: 9.539 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.297, allocations: 259.7 kB / 234.5 MB, free: 9.285 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.297, allocations: 0 / 234.5 MB, free: 9.285 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.2974, allocations: 128.4 kB / 234.6 MB, free: 9.16 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.2979, allocations: 49.69 kB / 234.7 MB, free: 9.109 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2994, allocations: 0.715 MB / 235.4 MB, free: 8.367 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.3, allocations: 0.8033 MB / 236.2 MB, free: 7.539 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.3001, allocations: 27.44 kB / 236.2 MB, free: 7.512 MB / 202.7 MB Notification: Performance of SimCode: time 1.776e-06/0.3001, allocations: 0 / 236.2 MB, free: 7.512 MB / 202.7 MB Notification: Performance of Templates: time 0.01008/0.3102, allocations: 5.217 MB / 241.4 MB, free: 2.301 MB / 202.7 MB