Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadModel(Modelica): time 2.256/2.256, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003764, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.0987, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5243, allocations: 74.4 MB / 383.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5246, allocations: 84.06 kB / 383.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02437/0.549, allocations: 5.167 MB / 388.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5491, allocations: 0 / 388.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.5491, allocations: 3.938 kB / 388.7 MB, free: 14.87 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.001284/0.5504, allocations: 0.5805 MB / 389.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5505, allocations: 7.875 kB / 389.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.5506, allocations: 30.38 kB / 389.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.551, allocations: 257.1 kB / 389.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.551, allocations: 19.44 kB / 389.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.5511, allocations: 18.19 kB / 389.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.5519, allocations: 235.9 kB / 389.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5519, allocations: 0.5625 kB / 389.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.5519, allocations: 13.91 kB / 389.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.552, allocations: 3.812 kB / 389.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.5529, allocations: 225.6 kB / 390.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.5551, allocations: 0.8934 MB / 391 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.5561, allocations: 216.6 kB / 391.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.5562, allocations: 3.953 kB / 391.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005905/0.5568, allocations: 174.2 kB / 391.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.5568, allocations: 0 / 391.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002989/0.5598, allocations: 0.5422 MB / 391.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.5599, allocations: 109.7 kB / 392 MB, free: 13.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.5603, allocations: 250.8 kB / 392.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.5603, allocations: 32.86 kB / 392.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5604, allocations: 165.8 kB / 392.5 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.5605, allocations: 51.25 kB / 392.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.5605, allocations: 0 / 392.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.5606, allocations: 338.2 kB / 392.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.5611, allocations: 96.36 kB / 392.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.5615, allocations: 151.8 kB / 393.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.562, allocations: 129.8 kB / 393.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.562, allocations: 0 / 393.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00169/0.5637, allocations: 396.4 kB / 393.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.5638, allocations: 43.88 kB / 393.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5638, allocations: 3.969 kB / 393.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.5646, allocations: 96.02 kB / 393.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.565, allocations: 46.45 kB / 393.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.5683, allocations: 1.77 MB / 395.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.5689, allocations: 50.19 kB / 395.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.5689, allocations: 7.594 kB / 395.6 MB, free: 10.96 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 (18): * Single equations (assignments): 16 * 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.000199/0.5691, allocations: 142.2 kB / 395.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5692, allocations: 23.25 kB / 395.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.5692, allocations: 22.48 kB / 395.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5693, allocations: 3.875 kB / 395.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5693, allocations: 0 / 395.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5693, allocations: 4 kB / 395.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.5696, allocations: 286.6 kB / 396.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5696, allocations: 0 / 396.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.5698, allocations: 32.05 kB / 396.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006878/0.5706, allocations: 97.27 kB / 396.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.5706, allocations: 3.75 kB / 396.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.5735, allocations: 1.664 MB / 397.9 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5735, allocations: 7.891 kB / 397.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.575, allocations: 333.6 kB / 398.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5752, allocations: 95.42 kB / 398.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.5753, allocations: 7.5 kB / 398.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.5757, allocations: 38.39 kB / 398.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5759, allocations: 24.28 kB / 398.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.5759, allocations: 3.875 kB / 398.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.5762, allocations: 180.3 kB / 398.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5762, allocations: 0 / 398.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005466/0.5768, allocations: 75.94 kB / 398.6 MB, free: 8.977 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.0001853/0.577, allocations: 105.5 kB / 398.7 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.5783, allocations: 396.8 kB / 399.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5784, allocations: 0 / 399.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.579, allocations: 231.8 kB / 399.3 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.5794, allocations: 38.41 kB / 399.4 MB, free: 8.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.5806, allocations: 0.4945 MB / 399.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5808, allocations: 0.7474 MB / 400.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.581, allocations: 24.58 kB / 400.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.5811, allocations: 19.19 kB / 400.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5811, allocations: 0 / 400.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of Templates: time 0.009447/0.5906, allocations: 3.184 MB / 403.8 MB, free: 7.324 MB / 314.7 MB