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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.674e-05/4.692e-05, allocations: 8 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3432/0.4505, allocations: 79.1 MB / 396 MB, free: 8.992 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4508, allocations: 78.08 kB / 396.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02406/0.4749, allocations: 5.671 MB / 401.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.829e-06/0.4749, allocations: 0 / 401.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.761e-05/0.475, allocations: 8 kB / 401.8 MB, free: 4.055 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001117/0.4761, allocations: 0.5584 MB / 402.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4762, allocations: 16.03 kB / 402.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.4763, allocations: 27.72 kB / 402.4 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.4767, allocations: 278 kB / 402.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.4768, allocations: 19.08 kB / 402.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.4768, allocations: 19 kB / 402.7 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.4773, allocations: 194.6 kB / 402.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4774, allocations: 0 / 402.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.4774, allocations: 9.875 kB / 402.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4774, allocations: 4 kB / 402.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.4778, allocations: 149.5 kB / 403.1 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.4801, allocations: 0.9514 MB / 404 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.4806, allocations: 140.9 kB / 404.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.4808, allocations: 58.86 kB / 404.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.4808, allocations: 0 / 404.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.4811, allocations: 140.9 kB / 404.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.646e-06/0.4811, allocations: 0 / 404.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008005/0.482, allocations: 227.6 kB / 404.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.4821, allocations: 110.8 kB / 404.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.4824, allocations: 233.5 kB / 404.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.4825, allocations: 29.14 kB / 404.9 MB, free: 1.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.4827, allocations: 179.1 kB / 405.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.4827, allocations: 37.69 kB / 405.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.4828, allocations: 7.438 kB / 405.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.483, allocations: 344.1 kB / 405.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4831, allocations: 49 kB / 405.5 MB, free: 0.625 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4834, allocations: 113.3 kB / 405.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.4836, allocations: 90.59 kB / 405.7 MB, free: 448 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.424e-06/0.4836, allocations: 0 / 405.7 MB, free: 448 kB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009404/0.4845, allocations: 323.8 kB / 406.1 MB, free: 164 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004331/0.485, allocations: 0.646 MB / 406.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.954e-06/0.485, allocations: 4 kB / 406.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.4853, allocations: 43.59 kB / 406.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.4856, allocations: 47.78 kB / 406.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006179/0.4862, allocations: 0.5718 MB / 407.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.4867, allocations: 55.61 kB / 407.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.4867, allocations: 6.438 kB / 407.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4867, allocations: 8.062 kB / 407.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005346/0.4873, allocations: 211.2 kB / 407.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4873, allocations: 4 kB / 407.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.4874, allocations: 32.03 kB / 407.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.4877, allocations: 44.16 kB / 407.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.4893, allocations: 1.437 MB / 409.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.4897, allocations: 47.14 kB / 409.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.4897, allocations: 4 kB / 409.2 MB, free: 12.96 MB / 330.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 () * 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.000154/0.4899, allocations: 128 kB / 409.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.49, allocations: 27.78 kB / 409.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.49, allocations: 24.64 kB / 409.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-06/0.4901, allocations: 0 / 409.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-06/0.4901, allocations: 0 / 409.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.408e-06/0.4901, allocations: 7.953 kB / 409.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.4905, allocations: 282.6 kB / 409.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4905, allocations: 3.984 kB / 409.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4907, allocations: 30.61 kB / 409.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.4909, allocations: 53.77 kB / 409.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.491, allocations: 3 kB / 409.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.4929, allocations: 1.495 MB / 411.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-06/0.493, allocations: 0 / 411.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.4937, allocations: 256.9 kB / 411.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4939, allocations: 108.6 kB / 411.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.494, allocations: 0 / 411.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.4943, allocations: 43.77 kB / 411.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4944, allocations: 23.84 kB / 411.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4945, allocations: 4 kB / 411.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4947, allocations: 188.1 kB / 411.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4948, allocations: 3.938 kB / 411.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007163/0.4955, allocations: 114.7 kB / 412 MB, free: 10.23 MB / 330.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.0001891/0.4957, allocations: 110.3 kB / 412.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009791/0.4967, allocations: 457 kB / 412.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.703e-06/0.4967, allocations: 0 / 412.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.4971, allocations: 179.4 kB / 412.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.4974, allocations: 45.11 kB / 412.7 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.4982, allocations: 277.5 kB / 413 MB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4987, allocations: 0.757 MB / 413.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.499, allocations: 34.05 kB / 413.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.499, allocations: 15.44 kB / 413.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.835e-06/0.4991, allocations: 0 / 413.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01152/0.5106, allocations: 3.75 MB / 417.6 MB, free: 4.695 MB / 330.7 MB