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.InvertingAmp.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.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.8/1.8, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07542/0.07585, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4134, allocations: 74.41 MB / 382.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4137, allocations: 82.34 kB / 383 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01996/0.4337, allocations: 5.16 MB / 388.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.327e-06/0.4338, allocations: 0 / 388.1 MB, free: 18.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.4338, allocations: 4.688 kB / 388.1 MB, free: 18.19 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.0009211/0.4347, allocations: 0.5795 MB / 388.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4348, allocations: 7.75 kB / 388.7 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.4349, allocations: 27.16 kB / 388.7 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4352, allocations: 261.8 kB / 389 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4352, allocations: 16.06 kB / 389 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.4353, allocations: 18.91 kB / 389 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006444/0.4359, allocations: 237.9 kB / 389.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4359, allocations: 0 / 389.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.436, allocations: 13.5 kB / 389.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.529e-06/0.436, allocations: 3.875 kB / 389.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.4367, allocations: 231.6 kB / 389.5 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4384, allocations: 0.8855 MB / 390.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.4391, allocations: 218.8 kB / 390.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4392, allocations: 7.859 kB / 390.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.4396, allocations: 174.8 kB / 390.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.4397, allocations: 0 / 390.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002017/0.4417, allocations: 0.5419 MB / 391.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4418, allocations: 106.5 kB / 391.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.442, allocations: 225.6 kB / 391.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.4421, allocations: 29.3 kB / 391.7 MB, free: 16.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.4422, allocations: 224 kB / 391.9 MB, free: 16.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.4422, allocations: 50.08 kB / 391.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.4423, allocations: 3.438 kB / 391.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.4423, allocations: 324.4 kB / 392.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.4427, allocations: 94.02 kB / 392.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.4431, allocations: 155.3 kB / 392.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.4435, allocations: 125.2 kB / 392.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.732e-06/0.4435, allocations: 0 / 392.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00126/0.4448, allocations: 377.5 kB / 393 MB, free: 15.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.4448, allocations: 47.03 kB / 393 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.646e-06/0.4449, allocations: 4 kB / 393 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.4454, allocations: 98.56 kB / 393.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.4457, allocations: 42.27 kB / 393.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.4483, allocations: 1.774 MB / 395 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.4487, allocations: 45.41 kB / 395 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.4488, allocations: 11.5 kB / 395 MB, free: 14.21 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.0001761/0.449, allocations: 143.7 kB / 395.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-05/0.449, allocations: 23.56 kB / 395.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.4491, allocations: 24.44 kB / 395.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-06/0.4491, allocations: 3.844 kB / 395.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-06/0.4491, allocations: 192 / 395.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-06/0.4491, allocations: 4 kB / 395.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.4494, allocations: 292.9 kB / 395.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-06/0.4494, allocations: 3.875 kB / 395.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4496, allocations: 25.7 kB / 395.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.45, allocations: 93.53 kB / 395.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4501, allocations: 3.625 kB / 395.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.4523, allocations: 1.667 MB / 397.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4523, allocations: 3.938 kB / 397.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4535, allocations: 333.4 kB / 397.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.4535, allocations: 95.98 kB / 397.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.4536, allocations: 11.88 kB / 397.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.4539, allocations: 36.27 kB / 397.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.454, allocations: 18.59 kB / 397.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4541, allocations: 10.47 kB / 397.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.4543, allocations: 184.3 kB / 398 MB, free: 12.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.4543, allocations: 0 / 398 MB, free: 12.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.4548, allocations: 69.62 kB / 398 MB, free: 12.23 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.000119/0.4549, allocations: 110.2 kB / 398.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008899/0.4558, allocations: 393.8 kB / 398.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4558, allocations: 3.938 kB / 398.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.4563, allocations: 223.1 kB / 398.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4566, allocations: 37.45 kB / 398.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009201/0.4576, allocations: 0.5144 MB / 399.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4578, allocations: 0.7524 MB / 400 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.4579, allocations: 19.03 kB / 400.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.458e-06/0.4579, allocations: 0 / 400.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Templates: time 0.006131/0.464, allocations: 3.845 MB / 403.9 MB, free: 10.59 MB / 314.7 MB