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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.051e-05/5.064e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.5105, allocations: 80.91 MB / 423.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5108, allocations: 82.64 kB / 423.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.5355, allocations: 5.782 MB / 429.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5355, allocations: 4 kB / 429.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.5356, allocations: 4 kB / 429.4 MB, free: 8.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001168/0.5367, allocations: 0.565 MB / 429.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5368, allocations: 12.03 kB / 429.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.5369, allocations: 27.72 kB / 430 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.5374, allocations: 268.7 kB / 430.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.5375, allocations: 18.92 kB / 430.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.5376, allocations: 17.69 kB / 430.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.5381, allocations: 221.4 kB / 430.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5381, allocations: 0 / 430.5 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.5382, allocations: 15.2 kB / 430.5 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.485e-06/0.5382, allocations: 4 kB / 430.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.5386, allocations: 157.5 kB / 430.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.541, allocations: 1.018 MB / 431.7 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5415, allocations: 132 kB / 431.8 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.5416, allocations: 61.52 kB / 431.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.5417, allocations: 0 / 431.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.542, allocations: 136.9 kB / 432 MB, free: 5.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.557e-06/0.542, allocations: 0 / 432 MB, free: 5.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008304/0.5429, allocations: 234.1 kB / 432.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.543, allocations: 106.8 kB / 432.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.5434, allocations: 242.9 kB / 432.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.5435, allocations: 33.58 kB / 432.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5436, allocations: 174.6 kB / 432.8 MB, free: 5.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.5437, allocations: 46.69 kB / 432.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.5437, allocations: 4 kB / 432.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5439, allocations: 339.2 kB / 433.1 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.5441, allocations: 54.44 kB / 433.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5444, allocations: 140.8 kB / 433.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.5446, allocations: 85.69 kB / 433.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.641e-06/0.5446, allocations: 4.031 kB / 433.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001026/0.5457, allocations: 342.8 kB / 433.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.5458, allocations: 37.27 kB / 433.8 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5458, allocations: 7.938 kB / 433.8 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.5461, allocations: 49.39 kB / 433.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.5464, allocations: 48 kB / 433.9 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.5492, allocations: 1.685 MB / 435.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.5497, allocations: 66.61 kB / 435.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.5498, allocations: 8 kB / 435.6 MB, free: 2.293 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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.0001453/0.5499, allocations: 115.7 kB / 435.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.55, allocations: 27.72 kB / 435.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.5501, allocations: 25.45 kB / 435.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.555e-06/0.5502, allocations: 11.89 kB / 435.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-06/0.5502, allocations: 0 / 435.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.903e-06/0.5502, allocations: 0 / 435.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.5506, allocations: 294.6 kB / 436.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-06/0.5506, allocations: 4 kB / 436.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.5508, allocations: 31.97 kB / 436.1 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/0.5511, allocations: 43.28 kB / 436.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5511, allocations: 0 / 436.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.5534, allocations: 1.594 MB / 437.8 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-06/0.5535, allocations: 0 / 437.8 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.5549, allocations: 266.5 kB / 438 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.5551, allocations: 104.7 kB / 438.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.5552, allocations: 7.875 kB / 438.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.5559, allocations: 39.97 kB / 438.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.556, allocations: 23.64 kB / 438.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.5561, allocations: 4 kB / 438.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004898/0.5566, allocations: 189.5 kB / 438.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.585e-06/0.5566, allocations: 3.938 kB / 438.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001118/0.5578, allocations: 66.78 kB / 438.5 MB, free: 15.51 MB / 362.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) * 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.0002927/0.5581, allocations: 114.6 kB / 438.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.56, allocations: 388.3 kB / 439 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.56, allocations: 0 / 439 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.5607, allocations: 182.8 kB / 439.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.5613, allocations: 51.2 kB / 439.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.5673, allocations: 0.7762 MB / 440 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.568, allocations: 0.7521 MB / 440.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.5683, allocations: 26.06 kB / 440.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.5685, allocations: 19.44 kB / 440.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.398e-06/0.5685, allocations: 0 / 440.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.01716/0.5857, allocations: 3.33 MB / 444.1 MB, free: 9.945 MB / 362.7 MB