Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.194/2.194, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.255e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.51, allocations: 80.91 MB / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5103, allocations: 80.27 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.5347, allocations: 5.772 MB / 429.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.258e-06/0.5348, allocations: 4 kB / 429.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.5348, allocations: 4 kB / 429.3 MB, free: 8.203 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.001155/0.536, allocations: 0.5662 MB / 429.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.536, allocations: 8.031 kB / 429.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5362, allocations: 31.72 kB / 429.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.5366, allocations: 266.8 kB / 430.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.5367, allocations: 18.73 kB / 430.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.5368, allocations: 22.38 kB / 430.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.5373, allocations: 224.9 kB / 430.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5373, allocations: 0 / 430.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.5374, allocations: 11.89 kB / 430.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5374, allocations: 4 kB / 430.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.5378, allocations: 153.7 kB / 430.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.5401, allocations: 1.02 MB / 431.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.5406, allocations: 144.6 kB / 431.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.5407, allocations: 53.14 kB / 431.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.5408, allocations: 7.938 kB / 431.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.5411, allocations: 127.1 kB / 432 MB, free: 5.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.403e-06/0.5411, allocations: 4 kB / 432 MB, free: 5.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008175/0.542, allocations: 231.6 kB / 432.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.5421, allocations: 106.8 kB / 432.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.5425, allocations: 235.3 kB / 432.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.5425, allocations: 32.83 kB / 432.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5427, allocations: 175.9 kB / 432.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.5428, allocations: 42.52 kB / 432.8 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.5428, allocations: 3.625 kB / 432.8 MB, free: 5.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.543, allocations: 330.2 kB / 433.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5432, allocations: 54.31 kB / 433.2 MB, free: 4.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.5434, allocations: 128.9 kB / 433.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.5436, allocations: 90.72 kB / 433.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.588e-06/0.5436, allocations: 0 / 433.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009636/0.5446, allocations: 333 kB / 433.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.5447, allocations: 36.52 kB / 433.7 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.194e-06/0.5447, allocations: 0 / 433.7 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.5449, allocations: 51.55 kB / 433.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.5452, allocations: 43.91 kB / 433.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.5477, allocations: 1.624 MB / 435.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.5482, allocations: 59.06 kB / 435.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.5482, allocations: 4 kB / 435.5 MB, free: 2.371 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001418/0.5484, allocations: 120.3 kB / 435.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.5484, allocations: 23.72 kB / 435.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.5485, allocations: 24.27 kB / 435.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5485, allocations: 3.953 kB / 435.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-06/0.5486, allocations: 4 kB / 435.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.254e-06/0.5486, allocations: 3.984 kB / 435.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.549, allocations: 296.7 kB / 436 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-06/0.549, allocations: 0 / 436 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.5493, allocations: 31.91 kB / 436 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/0.5496, allocations: 42.22 kB / 436.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5497, allocations: 3.125 kB / 436.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.553, allocations: 1.506 MB / 437.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.682e-06/0.553, allocations: 0 / 437.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5544, allocations: 271.9 kB / 437.8 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.5546, allocations: 88.92 kB / 437.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.5547, allocations: 3.688 kB / 437.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.5553, allocations: 43.95 kB / 438 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.5554, allocations: 26.97 kB / 438 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.5555, allocations: 4 kB / 438 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004086/0.5559, allocations: 188.4 kB / 438.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.091e-06/0.5559, allocations: 0 / 438.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000933/0.5569, allocations: 71.34 kB / 438.2 MB, free: 15.68 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.0002972/0.5572, allocations: 114.4 kB / 438.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.5583, allocations: 306.5 kB / 438.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.821e-06/0.5583, allocations: 0 / 438.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.5588, allocations: 180.8 kB / 438.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.5595, allocations: 45.17 kB / 438.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5607, allocations: 261.5 kB / 439.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.5614, allocations: 0.7521 MB / 439.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.5617, allocations: 30.05 kB / 439.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.5619, allocations: 19.44 kB / 439.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.579e-06/0.5619, allocations: 0 / 439.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.0182/0.5801, allocations: 3.368 MB / 443.3 MB, free: 10.67 MB / 362.7 MB