Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003605, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07799/0.07838, allocations: 44.5 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4237, allocations: 74.55 MB / 383 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.424, allocations: 86.09 kB / 383.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.4429, allocations: 4.964 MB / 388 MB, free: 18.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.478e-06/0.443, allocations: 0 / 388 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.443, allocations: 3.344 kB / 388.1 MB, free: 18.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000883/0.4439, allocations: 0.5637 MB / 388.6 MB, free: 17.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4439, allocations: 15.62 kB / 388.6 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.444, allocations: 26.91 kB / 388.7 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4443, allocations: 250.3 kB / 388.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4443, allocations: 13.83 kB / 388.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.4444, allocations: 18.59 kB / 388.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.445, allocations: 226 kB / 389.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.445, allocations: 0 / 389.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.445, allocations: 11.19 kB / 389.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-06/0.4451, allocations: 3.938 kB / 389.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.4457, allocations: 221.8 kB / 389.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.4472, allocations: 0.8445 MB / 390.2 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.448, allocations: 208 kB / 390.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.448, allocations: 3.906 kB / 390.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.4485, allocations: 165.7 kB / 390.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.834e-06/0.4485, allocations: 0 / 390.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001698/0.4502, allocations: 0.4923 MB / 391.1 MB, free: 16.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4503, allocations: 83.09 kB / 391.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.4505, allocations: 210 kB / 391.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4505, allocations: 25.7 kB / 391.4 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.4506, allocations: 230.5 kB / 391.6 MB, free: 16.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4507, allocations: 34.66 kB / 391.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.4507, allocations: 3.625 kB / 391.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.4508, allocations: 323.4 kB / 392 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.4511, allocations: 91.62 kB / 392.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.4514, allocations: 141.8 kB / 392.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.4518, allocations: 123.8 kB / 392.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.206e-06/0.4518, allocations: 3.969 kB / 392.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001041/0.4528, allocations: 357.7 kB / 392.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.4529, allocations: 39.02 kB / 392.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.937e-06/0.4529, allocations: 0 / 392.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/0.4533, allocations: 81.53 kB / 392.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.4536, allocations: 48.45 kB / 392.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.4555, allocations: 1.492 MB / 394.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.4559, allocations: 49.23 kB / 394.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.4559, allocations: 7.875 kB / 394.4 MB, free: 14.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.4561, allocations: 143 kB / 394.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.4561, allocations: 15.69 kB / 394.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.4562, allocations: 23.84 kB / 394.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-06/0.4562, allocations: 3.938 kB / 394.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-06/0.4562, allocations: 8 kB / 394.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-06/0.4562, allocations: 0 / 394.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.4565, allocations: 282.5 kB / 394.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-06/0.4565, allocations: 0 / 394.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.4568, allocations: 37.09 kB / 394.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.4572, allocations: 76.5 kB / 395 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4573, allocations: 3.844 kB / 395 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.4592, allocations: 1.498 MB / 396.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4593, allocations: 0 / 396.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.4607, allocations: 412.4 kB / 396.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.4608, allocations: 92.64 kB / 397 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4608, allocations: 5.469 kB / 397 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.4611, allocations: 26.17 kB / 397 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.4612, allocations: 24.94 kB / 397 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4613, allocations: 3.875 kB / 397 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.4615, allocations: 170.1 kB / 397.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.88e-07/0.4615, allocations: 0 / 397.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004298/0.4619, allocations: 61.34 kB / 397.3 MB, free: 12.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.4621, allocations: 114.2 kB / 397.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.4629, allocations: 388.3 kB / 397.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.087e-06/0.4629, allocations: 0 / 397.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.4633, allocations: 202 kB / 397.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.4636, allocations: 41.33 kB / 398 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4646, allocations: 0.5756 MB / 398.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.4648, allocations: 0.7538 MB / 399.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.4649, allocations: 18.88 kB / 399.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.298e-06/0.4649, allocations: 0 / 399.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Templates: time 0.005749/0.4707, allocations: 3.65 MB / 403 MB, free: 10.61 MB / 314.7 MB