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.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_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005521/0.0005523, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.5995, allocations: 74.45 MB / 383.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5999, allocations: 81.39 kB / 383.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02909/0.629, allocations: 5.193 MB / 388.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6291, allocations: 3.938 kB / 388.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.6291, allocations: 3.938 kB / 388.8 MB, free: 14.84 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.001646/0.6308, allocations: 0.5843 MB / 389.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6308, allocations: 7.812 kB / 389.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.631, allocations: 27.22 kB / 389.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.6314, allocations: 263.3 kB / 389.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.6315, allocations: 13.03 kB / 389.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.6316, allocations: 25.97 kB / 389.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6326, allocations: 236.5 kB / 389.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6327, allocations: 0 / 389.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.6327, allocations: 3.875 kB / 389.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.6327, allocations: 7.594 kB / 389.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.6341, allocations: 228.5 kB / 390.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.6369, allocations: 0.8956 MB / 391.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.6383, allocations: 216.5 kB / 391.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.6383, allocations: 7.953 kB / 391.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000808/0.6392, allocations: 179.2 kB / 391.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.897e-06/0.6392, allocations: 0 / 391.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003965/0.6432, allocations: 0.5392 MB / 392 MB, free: 13.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.6433, allocations: 116.8 kB / 392.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.6438, allocations: 260.8 kB / 392.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.6438, allocations: 28.56 kB / 392.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.644, allocations: 176.7 kB / 392.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.644, allocations: 44.41 kB / 392.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.6441, allocations: 7.438 kB / 392.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6442, allocations: 334.2 kB / 392.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.6448, allocations: 98.48 kB / 393 MB, free: 12.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.6455, allocations: 171.2 kB / 393.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.6461, allocations: 127.5 kB / 393.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6461, allocations: 0 / 393.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.002216/0.6484, allocations: 419.8 kB / 393.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.6484, allocations: 37.53 kB / 393.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6485, allocations: 0 / 393.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.6495, allocations: 99.59 kB / 393.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.6499, allocations: 47.66 kB / 393.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.6543, allocations: 1.765 MB / 395.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.6551, allocations: 57.42 kB / 395.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6552, allocations: 7.75 kB / 395.7 MB, free: 10.9 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.0002571/0.6555, allocations: 144.1 kB / 395.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.6556, allocations: 19.47 kB / 395.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.6556, allocations: 25.42 kB / 395.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.6557, allocations: 7.875 kB / 395.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.6557, allocations: 192 / 395.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6557, allocations: 4.188 kB / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.6561, allocations: 302.2 kB / 396.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6561, allocations: 0 / 396.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.6565, allocations: 32.69 kB / 396.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/0.6574, allocations: 92.66 kB / 396.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.6574, allocations: 3.375 kB / 396.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.6613, allocations: 1.757 MB / 398.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6613, allocations: 0 / 398.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6632, allocations: 330.8 kB / 398.4 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.6634, allocations: 103 kB / 398.5 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.6635, allocations: 10.88 kB / 398.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.664, allocations: 32.19 kB / 398.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6641, allocations: 29.61 kB / 398.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.6642, allocations: 3 kB / 398.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003276/0.6645, allocations: 189.3 kB / 398.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6645, allocations: 0 / 398.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008432/0.6654, allocations: 73.22 kB / 398.9 MB, free: 8.832 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.0001762/0.6656, allocations: 102.7 kB / 399 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.6671, allocations: 401.4 kB / 399.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6672, allocations: 0 / 399.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007649/0.6679, allocations: 240.6 kB / 399.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.6684, allocations: 33.33 kB / 399.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.6724, allocations: 0.6815 MB / 400.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.6727, allocations: 0.754 MB / 401.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.673, allocations: 26.47 kB / 401.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.6731, allocations: 18.88 kB / 401.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6731, allocations: 0 / 401.1 MB, free: 7.406 MB / 314.7 MB Notification: Performance of Templates: time 0.01167/0.6848, allocations: 3.194 MB / 404.3 MB, free: 7.164 MB / 314.7 MB