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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.204e-05, allocations: 4 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.0921, allocations: 50.42 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4601, allocations: 80.91 MB / 424 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4604, allocations: 78.83 kB / 424.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.4853, allocations: 5.776 MB / 429.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.827e-06/0.4854, allocations: 0 / 429.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.4854, allocations: 4 kB / 429.9 MB, free: 8.289 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.001117/0.4865, allocations: 0.566 MB / 430.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4866, allocations: 12.03 kB / 430.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4867, allocations: 27.72 kB / 430.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.4872, allocations: 270.6 kB / 430.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.4872, allocations: 15 kB / 430.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.4873, allocations: 18.38 kB / 430.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.4878, allocations: 220.8 kB / 431 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4878, allocations: 0 / 431 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.4879, allocations: 18.31 kB / 431 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.64e-06/0.4879, allocations: 7.938 kB / 431 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.4883, allocations: 148.9 kB / 431.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.4906, allocations: 1.023 MB / 432.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4911, allocations: 135.1 kB / 432.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4912, allocations: 61.83 kB / 432.4 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.4913, allocations: 7.938 kB / 432.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.4916, allocations: 132.3 kB / 432.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.194e-06/0.4916, allocations: 0 / 432.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007885/0.4924, allocations: 233.6 kB / 432.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.4925, allocations: 104.9 kB / 432.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.4929, allocations: 237.1 kB / 433.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.4929, allocations: 29.64 kB / 433.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.4931, allocations: 178.6 kB / 433.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.4932, allocations: 41.64 kB / 433.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.4932, allocations: 0 / 433.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4934, allocations: 333.2 kB / 433.6 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.4935, allocations: 57.3 kB / 433.7 MB, free: 4.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.4938, allocations: 120.5 kB / 433.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.494, allocations: 91.2 kB / 433.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-06/0.494, allocations: 0 / 433.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009417/0.495, allocations: 332 kB / 434.2 MB, free: 4.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.495, allocations: 37.56 kB / 434.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.495, allocations: 4.031 kB / 434.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/0.4953, allocations: 51.09 kB / 434.3 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.4956, allocations: 43.91 kB / 434.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.498, allocations: 1.622 MB / 436 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.4985, allocations: 62.58 kB / 436 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.4985, allocations: 11.19 kB / 436.1 MB, free: 2.449 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.0001421/0.4987, allocations: 115.1 kB / 436.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.4988, allocations: 19.72 kB / 436.2 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.4989, allocations: 27.77 kB / 436.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.226e-06/0.4989, allocations: 7.953 kB / 436.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.373e-06/0.4989, allocations: 0 / 436.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-06/0.4989, allocations: 0 / 436.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.4993, allocations: 299.5 kB / 436.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.177e-06/0.4993, allocations: 0 / 436.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.4995, allocations: 31.91 kB / 436.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.4997, allocations: 52.02 kB / 436.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4998, allocations: 3.75 kB / 436.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.5018, allocations: 1.488 MB / 438.1 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5019, allocations: 0 / 438.1 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.5027, allocations: 264.4 kB / 438.3 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5028, allocations: 100.9 kB / 438.4 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.5029, allocations: 3.562 kB / 438.4 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.5032, allocations: 39.39 kB / 438.5 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5034, allocations: 31.75 kB / 438.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.5034, allocations: 8 kB / 438.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.5037, allocations: 189.6 kB / 438.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.5037, allocations: 0 / 438.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000526/0.5042, allocations: 71.47 kB / 438.8 MB, free: 15.76 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.00019/0.5044, allocations: 107 kB / 438.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.5051, allocations: 307.8 kB / 439.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5052, allocations: 8.125 kB / 439.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.5055, allocations: 173.4 kB / 439.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.5059, allocations: 46.62 kB / 439.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.5067, allocations: 260.5 kB / 439.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.5072, allocations: 0.756 MB / 440.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.5073, allocations: 22.08 kB / 440.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.5074, allocations: 15.44 kB / 440.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.315e-06/0.5074, allocations: 0 / 440.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01052/0.518, allocations: 3.39 MB / 443.8 MB, free: 10.75 MB / 362.7 MB