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.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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 44.49 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5391, allocations: 74.41 MB / 383.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5394, allocations: 87.53 kB / 383.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02434/0.5638, allocations: 5.161 MB / 388.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5638, allocations: 0 / 388.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5639, allocations: 3.875 kB / 388.6 MB, free: 14.16 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.001391/0.5653, allocations: 0.5827 MB / 389.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5653, allocations: 11.66 kB / 389.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.5655, allocations: 28.64 kB / 389.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.5659, allocations: 260 kB / 389.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.5659, allocations: 14.78 kB / 389.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.566, allocations: 19.56 kB / 389.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.5668, allocations: 241.5 kB / 389.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5669, allocations: 0 / 389.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.5669, allocations: 6.625 kB / 389.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5669, allocations: 3.75 kB / 389.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.5679, allocations: 229.2 kB / 390 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.5702, allocations: 0.8951 MB / 390.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.5712, allocations: 207.7 kB / 391.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.5713, allocations: 7.516 kB / 391.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006175/0.5719, allocations: 174.9 kB / 391.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.5719, allocations: 0 / 391.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00305/0.575, allocations: 0.543 MB / 391.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.5751, allocations: 112.9 kB / 391.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.5754, allocations: 247.9 kB / 392.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.5755, allocations: 32.61 kB / 392.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5756, allocations: 225.3 kB / 392.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.5757, allocations: 45.16 kB / 392.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.5757, allocations: 7.812 kB / 392.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.5758, allocations: 320.5 kB / 392.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.5762, allocations: 93.36 kB / 392.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.5767, allocations: 159.2 kB / 393 MB, free: 11.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.5772, allocations: 121 kB / 393.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5772, allocations: 7.969 kB / 393.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001678/0.5789, allocations: 386.3 kB / 393.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.579, allocations: 33.53 kB / 393.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.579, allocations: 3.875 kB / 393.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.5798, allocations: 96.8 kB / 393.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.5802, allocations: 42.72 kB / 393.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.5835, allocations: 1.773 MB / 395.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.5841, allocations: 54.86 kB / 395.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5842, allocations: 11.69 kB / 395.6 MB, free: 10.18 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.0002104/0.5844, allocations: 136.5 kB / 395.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.5845, allocations: 19.47 kB / 395.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.5845, allocations: 26.69 kB / 395.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.5845, allocations: 6.453 kB / 395.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5846, allocations: 0 / 395.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5846, allocations: 0 / 395.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.5849, allocations: 289.5 kB / 396 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5849, allocations: 0 / 396 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5852, allocations: 31.77 kB / 396.1 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007177/0.5859, allocations: 98.12 kB / 396.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5859, allocations: 3.906 kB / 396.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.5889, allocations: 1.666 MB / 397.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5889, allocations: 0 / 397.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5905, allocations: 339.8 kB / 398.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.5906, allocations: 103.7 kB / 398.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.5907, allocations: 3.906 kB / 398.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.5911, allocations: 30.53 kB / 398.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.5912, allocations: 28.33 kB / 398.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5913, allocations: 3.875 kB / 398.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002828/0.5916, allocations: 186.6 kB / 398.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.5916, allocations: 3.875 kB / 398.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009452/0.5925, allocations: 68 kB / 398.6 MB, free: 8.195 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.0002267/0.5928, allocations: 105.9 kB / 398.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.5947, allocations: 395.9 kB / 399.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5947, allocations: 4.375 kB / 399.1 MB, free: 7.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009051/0.5957, allocations: 223.7 kB / 399.3 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.5963, allocations: 40.33 kB / 399.3 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.5981, allocations: 0.5104 MB / 399.8 MB, free: 7.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.5985, allocations: 0.7518 MB / 400.6 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.5987, allocations: 15.22 kB / 400.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5987, allocations: 0 / 400.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of Templates: time 0.009874/0.6086, allocations: 3.842 MB / 404.4 MB, free: 6.547 MB / 314.7 MB