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.087/1.087, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002637, allocations: 4 kB / 158.3 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04549/0.04578, allocations: 25.17 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003599/0.04943, allocations: 2.523 MB / 185.9 MB, free: 3.477 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.05112, allocations: 0.835 MB / 186.8 MB, free: 2.641 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.05133, allocations: 8 kB / 186.8 MB, free: 2.633 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.842e-05/0.05146, allocations: 39.67 kB / 186.8 MB, free: 2.594 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.05194, allocations: 151.5 kB / 187 MB, free: 2.445 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.05228, allocations: 107.8 kB / 187.1 MB, free: 2.34 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.05277, allocations: 323.3 kB / 187.4 MB, free: 2.023 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.05302, allocations: 98.53 kB / 187.5 MB, free: 1.926 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.0533, allocations: 155.4 kB / 187.6 MB, free: 1.773 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.05361, allocations: 191.2 kB / 187.8 MB, free: 1.586 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.05368, allocations: 20 kB / 187.9 MB, free: 1.566 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.05387, allocations: 47.97 kB / 187.9 MB, free: 1.52 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.05397, allocations: 75.72 kB / 188 MB, free: 1.445 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.05409, allocations: 93.52 kB / 188.1 MB, free: 1.348 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.05463, allocations: 359.2 kB / 188.4 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.767e-06/0.05465, allocations: 0 / 188.4 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.307e-06/0.05466, allocations: 0 / 188.4 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of Transformations before backend: time 7.85e-06/0.05468, allocations: 0 / 188.4 MB, free: 0.9961 MB / 154.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.001428/0.05611, allocations: 0.6818 MB / 189.1 MB, free: 272 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.05617, allocations: 15.97 kB / 189.1 MB, free: 256 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.05629, allocations: 43.44 kB / 189.2 MB, free: 212 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.05679, allocations: 298.3 kB / 189.4 MB, free: 15.87 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.05685, allocations: 28.59 kB / 189.5 MB, free: 15.84 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.05694, allocations: 36 kB / 189.5 MB, free: 15.8 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.05781, allocations: 353 kB / 189.9 MB, free: 15.45 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.05784, allocations: 0 / 189.9 MB, free: 15.45 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/0.05789, allocations: 12 kB / 189.9 MB, free: 15.44 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.05792, allocations: 15.95 kB / 189.9 MB, free: 15.42 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.05864, allocations: 242.5 kB / 190.1 MB, free: 15.18 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.0612, allocations: 1.174 MB / 191.3 MB, free: 13.93 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.06211, allocations: 299.7 kB / 191.6 MB, free: 13.63 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.06318, allocations: 1.125 MB / 192.7 MB, free: 12.25 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.06324, allocations: 38.73 kB / 192.7 MB, free: 12.2 MB / 170.7 MB Notification: Performance of pre-optimization done (n=27): time 3.101e-06/0.06325, allocations: 0 / 192.7 MB, free: 12.2 MB / 170.7 MB Notification: Performance of matching and sorting (n=27): time 0.001592/0.06486, allocations: 0.4981 MB / 193.2 MB, free: 11.68 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.06495, allocations: 81.11 kB / 193.3 MB, free: 11.58 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.06548, allocations: 345.5 kB / 193.7 MB, free: 11.23 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.06554, allocations: 33.7 kB / 193.7 MB, free: 11.19 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.06576, allocations: 258.7 kB / 193.9 MB, free: 10.94 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.06588, allocations: 98.56 kB / 194 MB, free: 10.84 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.06592, allocations: 8 kB / 194.1 MB, free: 10.83 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.0661, allocations: 334.8 kB / 194.4 MB, free: 10.5 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.06644, allocations: 100.7 kB / 194.5 MB, free: 10.39 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.06686, allocations: 185.7 kB / 194.7 MB, free: 10.18 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.06726, allocations: 136.2 kB / 194.8 MB, free: 10.04 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.06728, allocations: 4 kB / 194.8 MB, free: 10.04 MB / 170.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00103/0.06832, allocations: 385.6 kB / 195.2 MB, free: 9.652 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.06836, allocations: 4 kB / 195.2 MB, free: 9.648 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.06839, allocations: 7.984 kB / 195.2 MB, free: 9.641 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.06866, allocations: 41.09 kB / 195.2 MB, free: 9.598 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.06917, allocations: 95.88 kB / 195.3 MB, free: 9.504 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005881/0.06977, allocations: 0.5679 MB / 195.9 MB, free: 8.91 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.07013, allocations: 47.59 kB / 195.9 MB, free: 8.863 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.07019, allocations: 19.98 kB / 196 MB, free: 8.844 MB / 170.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.0003155/0.07051, allocations: 153.8 kB / 196.1 MB, free: 8.684 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.07063, allocations: 39.53 kB / 196.1 MB, free: 8.645 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009627/0.07161, allocations: 334.2 kB / 196.5 MB, free: 8.305 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.832e-06/0.07164, allocations: 4 kB / 196.5 MB, free: 8.301 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-06/0.07165, allocations: 0 / 196.5 MB, free: 8.301 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.321e-06/0.07167, allocations: 7.984 kB / 196.5 MB, free: 8.293 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.07236, allocations: 393.2 kB / 196.9 MB, free: 7.859 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-06/0.07238, allocations: 0 / 196.9 MB, free: 7.859 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.07288, allocations: 67.95 kB / 196.9 MB, free: 7.793 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.07312, allocations: 44.77 kB / 197 MB, free: 7.746 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.07317, allocations: 12 kB / 197 MB, free: 7.734 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005588/0.07374, allocations: 0.5679 MB / 197.6 MB, free: 7.141 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.07376, allocations: 0 / 197.6 MB, free: 7.141 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.07507, allocations: 0.5288 MB / 198.1 MB, free: 6.594 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.0753, allocations: 132.6 kB / 198.2 MB, free: 6.441 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.07539, allocations: 4 kB / 198.2 MB, free: 6.438 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.07575, allocations: 31.94 kB / 198.2 MB, free: 6.406 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.07582, allocations: 15.97 kB / 198.3 MB, free: 6.391 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.07586, allocations: 12 kB / 198.3 MB, free: 6.379 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003568/0.07623, allocations: 239.2 kB / 198.5 MB, free: 6.152 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.07624, allocations: 0 / 198.5 MB, free: 6.152 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005615/0.07681, allocations: 99.84 kB / 198.6 MB, free: 6.055 MB / 170.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.0002488/0.07707, allocations: 131.2 kB / 198.7 MB, free: 5.914 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.07803, allocations: 299.9 kB / 199 MB, free: 5.621 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.07805, allocations: 0 / 199 MB, free: 5.621 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.0785, allocations: 139.9 kB / 199.2 MB, free: 5.484 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.07901, allocations: 64.52 kB / 199.2 MB, free: 5.422 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.08097, allocations: 1.075 MB / 200.3 MB, free: 4.312 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.08151, allocations: 0.7994 MB / 201.1 MB, free: 3.488 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.08168, allocations: 31.42 kB / 201.1 MB, free: 3.457 MB / 170.7 MB Notification: Performance of SimCode: time 1.702e-06/0.08169, allocations: 3.938 kB / 201.1 MB, free: 3.453 MB / 170.7 MB Notification: Performance of Templates: time 0.1242/0.2059, allocations: 5.271 MB / 206.4 MB, free: 22.97 MB / 170.7 MB