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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.018/1.018, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.832e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04531/0.04535, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.2697, allocations: 35.72 MB / 209 MB, free: 7 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.27, allocations: 64.52 kB / 209.1 MB, free: 7 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03587/0.3058, allocations: 8.259 MB / 217.3 MB, free: 5.719 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.788e-06/0.3059, allocations: 0 / 217.3 MB, free: 5.719 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.3059, allocations: 7.75 kB / 217.3 MB, free: 5.719 MB / 170.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.001605/0.3076, allocations: 0.6235 MB / 218 MB, free: 5.219 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3076, allocations: 15.66 kB / 218 MB, free: 5.211 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.3078, allocations: 51.44 kB / 218 MB, free: 5.184 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.3084, allocations: 285 kB / 218.3 MB, free: 4.938 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.3085, allocations: 11.72 kB / 218.3 MB, free: 4.938 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3086, allocations: 27.3 kB / 218.4 MB, free: 4.934 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008048/0.3095, allocations: 191.5 kB / 218.5 MB, free: 4.926 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.3104, allocations: 281.3 kB / 218.8 MB, free: 4.828 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3105, allocations: 0 / 218.8 MB, free: 4.828 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.3106, allocations: 0 / 218.8 MB, free: 4.828 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.3106, allocations: 11.69 kB / 218.8 MB, free: 4.824 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.3141, allocations: 1.107 MB / 219.9 MB, free: 4.176 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.315, allocations: 235.2 kB / 220.2 MB, free: 4.129 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.3158, allocations: 174.9 kB / 220.3 MB, free: 4.109 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.3167, allocations: 1.128 MB / 221.5 MB, free: 2.77 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3168, allocations: 34.17 kB / 221.5 MB, free: 2.73 MB / 170.7 MB Notification: Performance of pre-optimization done (n=27): time 6.319e-06/0.3168, allocations: 0 / 221.5 MB, free: 2.73 MB / 170.7 MB Notification: Performance of matching and sorting (n=27): time 0.001241/0.3181, allocations: 278 kB / 221.8 MB, free: 2.637 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3181, allocations: 80.83 kB / 221.8 MB, free: 2.543 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.3186, allocations: 243.8 kB / 222.1 MB, free: 2.426 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.3187, allocations: 29.55 kB / 222.1 MB, free: 2.395 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3189, allocations: 265.8 kB / 222.4 MB, free: 2.18 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3191, allocations: 103.4 kB / 222.5 MB, free: 2.105 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3191, allocations: 4 kB / 222.5 MB, free: 2.102 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.3192, allocations: 325.8 kB / 222.8 MB, free: 1.781 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.3196, allocations: 79.11 kB / 222.9 MB, free: 1.773 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.32, allocations: 157.8 kB / 223 MB, free: 1.68 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.3205, allocations: 104.9 kB / 223.1 MB, free: 1.656 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-06/0.3205, allocations: 0 / 223.1 MB, free: 1.656 MB / 170.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00132/0.3218, allocations: 335.6 kB / 223.5 MB, free: 1.559 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3219, allocations: 8.781 kB / 223.5 MB, free: 1.559 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3219, allocations: 3.5 kB / 223.5 MB, free: 1.559 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.3224, allocations: 56.8 kB / 223.5 MB, free: 1.543 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.3232, allocations: 87.64 kB / 223.6 MB, free: 1.523 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007319/0.324, allocations: 0.606 MB / 224.2 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.3246, allocations: 40.31 kB / 224.3 MB, free: 0.9688 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.3247, allocations: 14.88 kB / 224.3 MB, free: 0.9688 MB / 170.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.0003871/0.3251, allocations: 120.6 kB / 224.4 MB, free: 16.85 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3253, allocations: 31.22 kB / 224.4 MB, free: 16.83 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.3265, allocations: 294.1 kB / 224.7 MB, free: 16.73 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3265, allocations: 3.875 kB / 224.7 MB, free: 16.73 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.381e-06/0.3265, allocations: 0 / 224.7 MB, free: 16.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.3266, allocations: 3.984 kB / 224.7 MB, free: 16.73 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.3274, allocations: 339.9 kB / 225 MB, free: 16.5 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.932e-06/0.3275, allocations: 3.953 kB / 225 MB, free: 16.5 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.3282, allocations: 62.23 kB / 225.1 MB, free: 16.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.3286, allocations: 66 kB / 225.2 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.3287, allocations: 0 / 225.2 MB, free: 16.46 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.3296, allocations: 0.6086 MB / 225.8 MB, free: 15.93 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.393e-06/0.3296, allocations: 0 / 225.8 MB, free: 15.93 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.3311, allocations: 477.1 kB / 226.2 MB, free: 15.73 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.3314, allocations: 126.3 kB / 226.4 MB, free: 15.61 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3315, allocations: 11.36 kB / 226.4 MB, free: 15.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.3321, allocations: 19.23 kB / 226.4 MB, free: 15.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.3322, allocations: 15.73 kB / 226.4 MB, free: 15.59 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.3323, allocations: 11.58 kB / 226.4 MB, free: 15.59 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.3327, allocations: 197 kB / 226.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.069e-06/0.3327, allocations: 0 / 226.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009544/0.3337, allocations: 104.7 kB / 226.7 MB, free: 15.47 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.0003147/0.334, allocations: 128.8 kB / 226.8 MB, free: 15.37 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.335, allocations: 233.4 kB / 227.1 MB, free: 15.35 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.702e-06/0.3351, allocations: 3.781 kB / 227.1 MB, free: 15.35 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.3356, allocations: 124.6 kB / 227.2 MB, free: 15.33 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.3362, allocations: 27.73 kB / 227.2 MB, free: 15.32 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3382, allocations: 0.6902 MB / 227.9 MB, free: 14.86 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.3389, allocations: 0.7961 MB / 228.7 MB, free: 14.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.3391, allocations: 26.69 kB / 228.7 MB, free: 14.1 MB / 186.7 MB Notification: Performance of SimCode: time 2.036e-06/0.3392, allocations: 0 / 228.7 MB, free: 14.1 MB / 186.7 MB Notification: Performance of Templates: time 0.01028/0.3494, allocations: 5.02 MB / 233.8 MB, free: 11.56 MB / 186.7 MB