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.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 12 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 44.5 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.5067, allocations: 74.44 MB / 383.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.5071, allocations: 83.02 kB / 383.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.531, allocations: 5.198 MB / 388.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5311, allocations: 0 / 388.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.5311, allocations: 7.812 kB / 388.7 MB, free: 14.13 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.00136/0.5325, allocations: 0.5807 MB / 389.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5325, allocations: 9.031 kB / 389.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.5326, allocations: 27.06 kB / 389.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.533, allocations: 261.7 kB / 389.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5331, allocations: 15.69 kB / 389.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.5331, allocations: 25.25 kB / 389.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.5339, allocations: 232.5 kB / 389.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.534, allocations: 1.25 kB / 389.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.534, allocations: 9.406 kB / 389.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.534, allocations: 3.938 kB / 389.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.5351, allocations: 232.4 kB / 390.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.5373, allocations: 0.8907 MB / 391 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.5383, allocations: 214.7 kB / 391.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.5384, allocations: 7.828 kB / 391.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006562/0.5391, allocations: 169.5 kB / 391.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.5391, allocations: 0 / 391.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003068/0.5422, allocations: 0.5538 MB / 391.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.5423, allocations: 106.8 kB / 392 MB, free: 12.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.5427, allocations: 260.8 kB / 392.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.5427, allocations: 29.2 kB / 392.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5429, allocations: 236.2 kB / 392.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.5429, allocations: 45.08 kB / 392.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.5429, allocations: 3.625 kB / 392.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.543, allocations: 321.3 kB / 392.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.5435, allocations: 101.6 kB / 393 MB, free: 11.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.544, allocations: 168.9 kB / 393.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.5445, allocations: 126.2 kB / 393.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5445, allocations: 4 kB / 393.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001647/0.5462, allocations: 399.3 kB / 393.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.5462, allocations: 38.06 kB / 393.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5463, allocations: 3.875 kB / 393.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.5471, allocations: 97.08 kB / 393.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.5475, allocations: 50.23 kB / 393.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.5508, allocations: 1.77 MB / 395.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.5514, allocations: 48.75 kB / 395.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.5514, allocations: 13.5 kB / 395.7 MB, free: 10.14 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.0002042/0.5516, allocations: 144.3 kB / 395.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5517, allocations: 23.41 kB / 395.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.5518, allocations: 27.06 kB / 395.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5518, allocations: 3.781 kB / 395.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5518, allocations: 2.672 kB / 395.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5518, allocations: 3.938 kB / 395.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.5521, allocations: 287.5 kB / 396.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.5522, allocations: 0 / 396.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.5524, allocations: 30.8 kB / 396.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007013/0.5531, allocations: 96.78 kB / 396.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.5532, allocations: 4.188 kB / 396.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.5563, allocations: 1.761 MB / 398.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5563, allocations: 0 / 398.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5579, allocations: 335.8 kB / 398.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.558, allocations: 102.9 kB / 398.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.5581, allocations: 7.016 kB / 398.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.5586, allocations: 39.02 kB / 398.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.5587, allocations: 22.17 kB / 398.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.5587, allocations: 3.844 kB / 398.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.559, allocations: 186.2 kB / 398.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.559, allocations: 3.938 kB / 398.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.5596, allocations: 71.88 kB / 398.8 MB, free: 8.074 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.000168/0.5597, allocations: 108.5 kB / 398.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.5611, allocations: 396.9 kB / 399.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5611, allocations: 3.938 kB / 399.3 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.5618, allocations: 229.7 kB / 399.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.5622, allocations: 30.94 kB / 399.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.5654, allocations: 0.7105 MB / 400.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.5657, allocations: 0.7534 MB / 401 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5658, allocations: 21.62 kB / 401.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5658, allocations: 0 / 401.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of Templates: time 0.008084/0.5739, allocations: 3.909 MB / 405 MB, free: 6.406 MB / 314.7 MB