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 0.9213/0.9213, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002733, allocations: 15.98 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04502/0.04532, allocations: 25.16 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.2204, allocations: 36.49 MB / 220 MB, free: 6.031 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.2207, allocations: 61.39 kB / 220 MB, free: 6.023 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03038/0.251, allocations: 8.347 MB / 228.4 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.824e-06/0.2511, allocations: 4 kB / 228.4 MB, free: 2.871 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.2511, allocations: 4 kB / 228.4 MB, free: 2.867 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.001088/0.2522, allocations: 0.6686 MB / 229.1 MB, free: 2.176 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2523, allocations: 8.031 kB / 229.1 MB, free: 2.168 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2524, allocations: 55.22 kB / 229.1 MB, free: 2.117 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2528, allocations: 285.3 kB / 229.4 MB, free: 1.824 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2528, allocations: 28.34 kB / 229.4 MB, free: 1.805 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.2529, allocations: 39.67 kB / 229.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.2537, allocations: 346.3 kB / 229.8 MB, free: 1.523 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2537, allocations: 3.953 kB / 229.8 MB, free: 1.52 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.2537, allocations: 15.62 kB / 229.8 MB, free: 1.516 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.479e-06/0.2538, allocations: 8 kB / 229.8 MB, free: 1.508 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.2544, allocations: 239 kB / 230.1 MB, free: 1.348 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.2565, allocations: 1.175 MB / 231.2 MB, free: 348 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.2574, allocations: 293 kB / 231.5 MB, free: 132 kB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.2584, allocations: 1.124 MB / 232.7 MB, free: 14.75 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2585, allocations: 47.05 kB / 232.7 MB, free: 14.7 MB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 7.093e-06/0.2585, allocations: 3.984 kB / 232.7 MB, free: 14.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.001592/0.2601, allocations: 0.4941 MB / 233.2 MB, free: 14.27 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.2602, allocations: 85.06 kB / 233.3 MB, free: 14.16 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.2607, allocations: 302.4 kB / 233.6 MB, free: 13.91 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.2607, allocations: 29.64 kB / 233.6 MB, free: 13.88 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.2609, allocations: 271.2 kB / 233.9 MB, free: 13.66 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2611, allocations: 101.8 kB / 234 MB, free: 13.57 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.2611, allocations: 7.25 kB / 234 MB, free: 13.57 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2613, allocations: 329 kB / 234.3 MB, free: 13.25 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.2616, allocations: 106.8 kB / 234.4 MB, free: 13.17 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.2621, allocations: 186.6 kB / 234.6 MB, free: 13 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.2624, allocations: 134.2 kB / 234.7 MB, free: 12.91 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-06/0.2625, allocations: 0 / 234.7 MB, free: 12.91 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001021/0.2635, allocations: 388.2 kB / 235.1 MB, free: 12.62 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2635, allocations: 4 kB / 235.1 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2636, allocations: 8.25 kB / 235.1 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.2638, allocations: 46.41 kB / 235.2 MB, free: 12.56 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.2643, allocations: 91.2 kB / 235.2 MB, free: 12.48 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005619/0.2649, allocations: 0.5643 MB / 235.8 MB, free: 11.91 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2653, allocations: 50.08 kB / 235.9 MB, free: 11.87 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.2654, allocations: 15.25 kB / 235.9 MB, free: 11.86 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.000363/0.2657, allocations: 163.7 kB / 236 MB, free: 11.71 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2659, allocations: 43.48 kB / 236.1 MB, free: 11.66 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.2668, allocations: 322.3 kB / 236.4 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.2668, allocations: 4 kB / 236.4 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-06/0.2669, allocations: 4 kB / 236.4 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.195e-06/0.2669, allocations: 4.047 kB / 236.4 MB, free: 11.42 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.2675, allocations: 393.2 kB / 236.8 MB, free: 11.06 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.299e-06/0.2675, allocations: 0 / 236.8 MB, free: 11.06 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.268, allocations: 67.83 kB / 236.8 MB, free: 11 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.2683, allocations: 43.02 kB / 236.9 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.2683, allocations: 7.125 kB / 236.9 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/0.2689, allocations: 0.5679 MB / 237.5 MB, free: 10.39 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2689, allocations: 0 / 237.5 MB, free: 10.39 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.2702, allocations: 0.5233 MB / 238 MB, free: 9.961 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2704, allocations: 135.4 kB / 238.1 MB, free: 9.82 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.2705, allocations: 7.609 kB / 238.1 MB, free: 9.816 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.2709, allocations: 31.61 kB / 238.2 MB, free: 9.789 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.2709, allocations: 15.55 kB / 238.2 MB, free: 9.777 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.271, allocations: 15.61 kB / 238.2 MB, free: 9.766 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003589/0.2714, allocations: 239 kB / 238.4 MB, free: 9.578 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2714, allocations: 0 / 238.4 MB, free: 9.578 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005807/0.272, allocations: 106.8 kB / 238.5 MB, free: 9.484 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.0002506/0.2722, allocations: 134.9 kB / 238.7 MB, free: 9.344 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009293/0.2732, allocations: 289 kB / 238.9 MB, free: 9.129 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.685e-06/0.2732, allocations: 0 / 238.9 MB, free: 9.129 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.2737, allocations: 148.9 kB / 239.1 MB, free: 9.016 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2742, allocations: 66.02 kB / 239.2 MB, free: 8.973 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2762, allocations: 1.087 MB / 240.2 MB, free: 7.914 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.2768, allocations: 0.7994 MB / 241 MB, free: 7.086 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.277, allocations: 35.42 kB / 241.1 MB, free: 7.051 MB / 186.7 MB Notification: Performance of SimCode: time 1.866e-06/0.277, allocations: 0 / 241.1 MB, free: 7.051 MB / 186.7 MB Notification: Performance of Templates: time 0.01007/0.287, allocations: 5.259 MB / 246.3 MB, free: 1.832 MB / 186.7 MB