Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.216/1.216, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002535, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05129/0.05156, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.2665, allocations: 36.47 MB / 220.5 MB, free: 6.02 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.2669, allocations: 71.52 kB / 220.6 MB, free: 6.008 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0452/0.3121, allocations: 8.347 MB / 228.9 MB, free: 2.922 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3121, allocations: 0 / 228.9 MB, free: 2.922 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.3122, allocations: 7.781 kB / 228.9 MB, free: 2.922 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.002348/0.3146, allocations: 0.6659 MB / 229.6 MB, free: 2.246 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3146, allocations: 8.031 kB / 229.6 MB, free: 2.238 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.3148, allocations: 43.53 kB / 229.7 MB, free: 2.195 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.3155, allocations: 307.5 kB / 230 MB, free: 1.883 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.3156, allocations: 23.16 kB / 230 MB, free: 1.871 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3157, allocations: 31 kB / 230 MB, free: 1.852 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.3172, allocations: 352.3 kB / 230.4 MB, free: 1.59 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.3172, allocations: 3.953 kB / 230.4 MB, free: 1.586 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.3173, allocations: 14.25 kB / 230.4 MB, free: 1.582 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3173, allocations: 12 kB / 230.4 MB, free: 1.57 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3186, allocations: 233 kB / 230.6 MB, free: 1.418 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.3228, allocations: 1.173 MB / 231.8 MB, free: 420 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3245, allocations: 298.4 kB / 232.1 MB, free: 200 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/0.326, allocations: 1.128 MB / 233.2 MB, free: 14.81 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.3261, allocations: 31.42 kB / 233.2 MB, free: 14.77 MB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 4.839e-06/0.3262, allocations: 0 / 233.2 MB, free: 14.77 MB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.003088/0.3293, allocations: 0.5022 MB / 233.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.3294, allocations: 85.06 kB / 233.8 MB, free: 14.24 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.3303, allocations: 341.5 kB / 234.1 MB, free: 13.96 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/0.3304, allocations: 33.56 kB / 234.2 MB, free: 13.93 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3307, allocations: 268.4 kB / 234.4 MB, free: 13.7 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.3309, allocations: 97.81 kB / 234.5 MB, free: 13.62 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3309, allocations: 11.44 kB / 234.6 MB, free: 13.62 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.3312, allocations: 322.8 kB / 234.9 MB, free: 13.3 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.332, allocations: 111.5 kB / 235 MB, free: 13.21 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.3327, allocations: 183.6 kB / 235.2 MB, free: 13.04 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.3335, allocations: 138.1 kB / 235.3 MB, free: 12.95 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3335, allocations: 0 / 235.3 MB, free: 12.95 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001901/0.3355, allocations: 389.9 kB / 235.7 MB, free: 12.66 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.3355, allocations: 4 kB / 235.7 MB, free: 12.66 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.3356, allocations: 7.953 kB / 235.7 MB, free: 12.65 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.336, allocations: 48.45 kB / 235.7 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3372, allocations: 87.64 kB / 235.8 MB, free: 12.52 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/0.338, allocations: 0.5745 MB / 236.4 MB, free: 11.95 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.3388, allocations: 43.31 kB / 236.4 MB, free: 11.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.3389, allocations: 12 kB / 236.4 MB, free: 11.9 MB / 186.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.000533/0.3395, allocations: 172.7 kB / 236.6 MB, free: 11.74 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.3397, allocations: 35.53 kB / 236.6 MB, free: 11.71 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.3415, allocations: 330.2 kB / 237 MB, free: 11.47 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.3415, allocations: 0 / 237 MB, free: 11.47 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.3416, allocations: 4 kB / 237 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3416, allocations: 3.984 kB / 237 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3427, allocations: 389.6 kB / 237.4 MB, free: 11.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3427, allocations: 0 / 237.4 MB, free: 11.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.3439, allocations: 71.77 kB / 237.4 MB, free: 11.04 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.3443, allocations: 48.27 kB / 237.5 MB, free: 11 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.3444, allocations: 3.812 kB / 237.5 MB, free: 11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006975/0.3451, allocations: 0.5632 MB / 238 MB, free: 10.43 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3451, allocations: 3.984 kB / 238 MB, free: 10.43 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.3475, allocations: 0.5195 MB / 238.6 MB, free: 10 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.348, allocations: 145.3 kB / 238.7 MB, free: 9.855 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.3481, allocations: 7.062 kB / 238.7 MB, free: 9.852 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.3489, allocations: 23.92 kB / 238.7 MB, free: 9.832 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.349, allocations: 11.98 kB / 238.7 MB, free: 9.82 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.3491, allocations: 14.62 kB / 238.8 MB, free: 9.809 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.3497, allocations: 237.9 kB / 239 MB, free: 9.625 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.3498, allocations: 4 kB / 239 MB, free: 9.621 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009678/0.3507, allocations: 110.1 kB / 239.1 MB, free: 9.523 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 () * 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.0003896/0.3512, allocations: 130.2 kB / 239.2 MB, free: 9.391 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.353, allocations: 291.3 kB / 239.5 MB, free: 9.176 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3531, allocations: 0 / 239.5 MB, free: 9.176 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008929/0.354, allocations: 147.2 kB / 239.7 MB, free: 9.062 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.355, allocations: 54.83 kB / 239.7 MB, free: 9.027 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.3586, allocations: 1.083 MB / 240.8 MB, free: 7.969 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.3593, allocations: 0.8072 MB / 241.6 MB, free: 7.137 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.3596, allocations: 38.42 kB / 241.6 MB, free: 7.102 MB / 186.7 MB Notification: Performance of SimCode: time 1.322e-06/0.3596, allocations: 0 / 241.6 MB, free: 7.102 MB / 186.7 MB Notification: Performance of Templates: time 0.01926/0.3789, allocations: 5.259 MB / 246.9 MB, free: 1.887 MB / 186.7 MB