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.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.868e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07953/0.07959, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4502, allocations: 74.36 MB / 374.2 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4505, allocations: 76.81 kB / 374.3 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02051/0.4711, allocations: 5.127 MB / 379.5 MB, free: 21.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4711, allocations: 0 / 379.5 MB, free: 21.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.4712, allocations: 8.281 kB / 379.5 MB, free: 21.76 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008652/0.472, allocations: 0.5344 MB / 380 MB, free: 21.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4721, allocations: 9.812 kB / 380 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.4722, allocations: 30.7 kB / 380 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.4726, allocations: 263.7 kB / 380.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.4726, allocations: 16.25 kB / 380.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.4727, allocations: 24 kB / 380.3 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.4731, allocations: 187.7 kB / 380.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4731, allocations: 0 / 380.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.4732, allocations: 5.281 kB / 380.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4732, allocations: 4.5 kB / 380.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.4736, allocations: 146.3 kB / 380.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.4754, allocations: 0.8867 MB / 381.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.4758, allocations: 130.2 kB / 381.7 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4759, allocations: 60.7 kB / 381.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4759, allocations: 1.875 kB / 381.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.4762, allocations: 134.9 kB / 381.9 MB, free: 20.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.027e-06/0.4763, allocations: 0 / 381.9 MB, free: 20.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007601/0.477, allocations: 223.6 kB / 382.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4771, allocations: 104.3 kB / 382.2 MB, free: 20.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.4774, allocations: 231.1 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4774, allocations: 31.39 kB / 382.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.4776, allocations: 170.3 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.4776, allocations: 42.31 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.4776, allocations: 5.344 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.4777, allocations: 338.4 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4779, allocations: 55.05 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.4781, allocations: 106.3 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4782, allocations: 87.89 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.4782, allocations: 3.344 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008647/0.4791, allocations: 304.5 kB / 383.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.4792, allocations: 42.78 kB / 383.6 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.743e-06/0.4792, allocations: 2.594 kB / 383.6 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.4797, allocations: 92.45 kB / 383.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.48, allocations: 47.92 kB / 383.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4819, allocations: 1.603 MB / 385.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.4824, allocations: 56.17 kB / 385.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4824, allocations: 7.438 kB / 385.4 MB, free: 18.04 MB / 314.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.0001015/0.4825, allocations: 119.7 kB / 385.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.4826, allocations: 25.31 kB / 385.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.4827, allocations: 26.75 kB / 385.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.4827, allocations: 1.375 kB / 385.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.4827, allocations: 0 / 385.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.656e-06/0.4827, allocations: 0 / 385.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.483, allocations: 290.5 kB / 385.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-06/0.483, allocations: 0 / 385.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4832, allocations: 33.09 kB / 385.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.4837, allocations: 91.44 kB / 386 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4837, allocations: 10.67 kB / 386 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.4852, allocations: 1.475 MB / 387.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.512e-06/0.4853, allocations: 1.375 kB / 387.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.486, allocations: 250.1 kB / 387.7 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.4861, allocations: 96 kB / 387.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.4862, allocations: 4.844 kB / 387.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.4865, allocations: 34.97 kB / 387.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.4866, allocations: 22.89 kB / 387.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.4866, allocations: 7.781 kB / 387.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.4868, allocations: 179.5 kB / 388 MB, free: 16.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.4869, allocations: 0 / 388 MB, free: 16.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005185/0.4874, allocations: 78.31 kB / 388.1 MB, free: 16.11 MB / 314.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.0001466/0.4876, allocations: 106.1 kB / 388.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005904/0.4882, allocations: 306.4 kB / 388.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.461e-06/0.4882, allocations: 0 / 388.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.4885, allocations: 175.8 kB / 388.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.4888, allocations: 43.53 kB / 388.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006717/0.4895, allocations: 256.4 kB / 389 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.4902, allocations: 0.7513 MB / 389.7 MB, free: 30.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.4904, allocations: 22.75 kB / 389.7 MB, free: 30.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.4905, allocations: 18.94 kB / 389.8 MB, free: 30.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.963e-06/0.4905, allocations: 0 / 389.8 MB, free: 30.88 MB / 330.7 MB Notification: Performance of Templates: time 0.009022/0.4995, allocations: 3.179 MB / 392.9 MB, free: 30.65 MB / 330.7 MB