Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.000354, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09897, allocations: 44.51 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5062, allocations: 74.39 MB / 383.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5066, allocations: 86.88 kB / 383.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.5315, allocations: 5.156 MB / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5316, allocations: 0 / 388.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.5316, allocations: 3.656 kB / 388.6 MB, free: 14.25 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00141/0.533, allocations: 0.5869 MB / 389.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5331, allocations: 7.656 kB / 389.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.5332, allocations: 28.66 kB / 389.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.5336, allocations: 260.9 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5337, allocations: 15.25 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.5337, allocations: 20.23 kB / 389.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.5346, allocations: 235.4 kB / 389.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5346, allocations: 1.688 kB / 389.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.5347, allocations: 10.56 kB / 389.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.5347, allocations: 4.531 kB / 389.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009935/0.5357, allocations: 225.4 kB / 390 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.538, allocations: 0.8987 MB / 390.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.5391, allocations: 209.9 kB / 391.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.5391, allocations: 11.36 kB / 391.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/0.5398, allocations: 171.5 kB / 391.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.5398, allocations: 0 / 391.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003048/0.5428, allocations: 0.5459 MB / 391.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.5429, allocations: 106.8 kB / 391.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.5433, allocations: 259.1 kB / 392.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.5434, allocations: 25.7 kB / 392.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5435, allocations: 239.4 kB / 392.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.5435, allocations: 44.73 kB / 392.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.5436, allocations: 0 / 392.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.5436, allocations: 324 kB / 392.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.5441, allocations: 98.69 kB / 392.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.5446, allocations: 165.6 kB / 393.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.5451, allocations: 129.4 kB / 393.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5451, allocations: 0 / 393.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001676/0.5468, allocations: 402.3 kB / 393.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.5469, allocations: 34.94 kB / 393.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5469, allocations: 6.922 kB / 393.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.5477, allocations: 93.77 kB / 393.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.5481, allocations: 50.5 kB / 393.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.5513, allocations: 1.78 MB / 395.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.5519, allocations: 50.06 kB / 395.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.552, allocations: 7.906 kB / 395.6 MB, free: 10.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.5522, allocations: 142.5 kB / 395.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.5522, allocations: 24.94 kB / 395.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.5523, allocations: 21.31 kB / 395.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5523, allocations: 0 / 395.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5523, allocations: 3.938 kB / 395.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5523, allocations: 2.719 kB / 395.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.5526, allocations: 294.5 kB / 396.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5526, allocations: 4 kB / 396.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.5529, allocations: 26.41 kB / 396.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.5536, allocations: 98.56 kB / 396.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5536, allocations: 3.938 kB / 396.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.5566, allocations: 1.748 MB / 398 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5567, allocations: 7.875 kB / 398 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.5582, allocations: 339.3 kB / 398.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5583, allocations: 106.9 kB / 398.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.5584, allocations: 3.953 kB / 398.4 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5588, allocations: 39.69 kB / 398.4 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5589, allocations: 18.7 kB / 398.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5589, allocations: 3.969 kB / 398.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.5592, allocations: 184.9 kB / 398.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5592, allocations: 0 / 398.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.5598, allocations: 70.06 kB / 398.7 MB, free: 8.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.56, allocations: 113.7 kB / 398.8 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5614, allocations: 397.1 kB / 399.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5615, allocations: 3.125 kB / 399.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.5621, allocations: 229.2 kB / 399.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.5628, allocations: 36.95 kB / 399.5 MB, free: 7.777 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.5662, allocations: 0.7069 MB / 400.2 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.5665, allocations: 0.7552 MB / 400.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.5666, allocations: 19.06 kB / 401 MB, free: 6.734 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5667, allocations: 0 / 401 MB, free: 6.734 MB / 314.7 MB Notification: Performance of Templates: time 0.007834/0.5745, allocations: 3.875 MB / 404.8 MB, free: 6.52 MB / 314.7 MB