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.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.364e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 47.58 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4547, allocations: 79.11 MB / 396.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004005/0.4552, allocations: 74.89 kB / 396.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04154/0.4967, allocations: 5.677 MB / 401.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.4968, allocations: 0 / 401.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.4969, allocations: 4 kB / 401.8 MB, free: 4.102 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.002153/0.499, allocations: 0.5658 MB / 402.4 MB, free: 3.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.106e-05/0.4992, allocations: 8.031 kB / 402.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.4994, allocations: 27.72 kB / 402.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.5004, allocations: 276.9 kB / 402.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.5005, allocations: 17.95 kB / 402.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5006, allocations: 20.56 kB / 402.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5017, allocations: 202 kB / 402.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.5018, allocations: 0 / 402.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.5019, allocations: 11.06 kB / 402.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.5019, allocations: 4 kB / 402.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.5029, allocations: 144.4 kB / 403.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.5081, allocations: 0.9465 MB / 404 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009163/0.5091, allocations: 140.4 kB / 404.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.5095, allocations: 57.98 kB / 404.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.5096, allocations: 0 / 404.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.5103, allocations: 140.8 kB / 404.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 6.057e-06/0.5104, allocations: 4 kB / 404.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001032/0.5114, allocations: 229.6 kB / 404.6 MB, free: 1.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.5115, allocations: 102.8 kB / 404.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.5119, allocations: 241.4 kB / 404.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.512, allocations: 29.52 kB / 404.9 MB, free: 1.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.5122, allocations: 187 kB / 405.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.5122, allocations: 41.48 kB / 405.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5123, allocations: 6.812 kB / 405.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5124, allocations: 337 kB / 405.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.5126, allocations: 52.81 kB / 405.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5128, allocations: 130.5 kB / 405.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5131, allocations: 89.23 kB / 405.8 MB, free: 476 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-06/0.5131, allocations: 0 / 405.8 MB, free: 476 kB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009916/0.5141, allocations: 338.2 kB / 406.1 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005166/0.5146, allocations: 0.8185 MB / 406.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5146, allocations: 0 / 406.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.5149, allocations: 54.59 kB / 407 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.5153, allocations: 51.27 kB / 407 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009891/0.5163, allocations: 0.6528 MB / 407.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.5168, allocations: 71.52 kB / 407.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.5168, allocations: 8 kB / 407.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5169, allocations: 4 kB / 407.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005552/0.5174, allocations: 218.5 kB / 408 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5174, allocations: 0 / 408 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.5176, allocations: 28.97 kB / 408 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5179, allocations: 51.53 kB / 408 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.5192, allocations: 1.301 MB / 409.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.5197, allocations: 51.64 kB / 409.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5197, allocations: 8 kB / 409.4 MB, free: 12.8 MB / 330.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 () * 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.0001553/0.5199, allocations: 120.3 kB / 409.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.52, allocations: 27.7 kB / 409.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.17e-05/0.5201, allocations: 25.7 kB / 409.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-06/0.5201, allocations: 0 / 409.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-06/0.5201, allocations: 0 / 409.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5201, allocations: 7.938 kB / 409.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.5205, allocations: 299.6 kB / 409.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-06/0.5205, allocations: 0 / 409.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.5208, allocations: 39.97 kB / 409.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.521, allocations: 40.22 kB / 410 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.521, allocations: 11.92 kB / 410 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.5232, allocations: 1.581 MB / 411.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5232, allocations: 0 / 411.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.524, allocations: 263.4 kB / 411.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5242, allocations: 104.8 kB / 411.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.5242, allocations: 3.938 kB / 411.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.5246, allocations: 43.95 kB / 412 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5247, allocations: 19.78 kB / 412 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.5247, allocations: 11.62 kB / 412 MB, free: 10.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.525, allocations: 189.9 kB / 412.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.525, allocations: 0 / 412.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007245/0.5258, allocations: 111.2 kB / 412.3 MB, free: 9.973 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.0001911/0.526, allocations: 110.9 kB / 412.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.5275, allocations: 0.5338 MB / 412.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.186e-06/0.5275, allocations: 0 / 412.9 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.5279, allocations: 177.8 kB / 413.1 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.5283, allocations: 47.86 kB / 413.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.5318, allocations: 0.7847 MB / 413.9 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.5323, allocations: 0.7531 MB / 414.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000282/0.5326, allocations: 42.08 kB / 414.7 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.5327, allocations: 19.38 kB / 414.7 MB, free: 7.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.86e-06/0.5327, allocations: 4 kB / 414.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of Templates: time 0.01106/0.5437, allocations: 3.682 MB / 418.4 MB, free: 3.887 MB / 330.7 MB