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.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.266e-05, allocations: 7.906 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003466/0.3028, allocations: 2.162 MB / 305.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3042, allocations: 0.5715 MB / 306.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3043, allocations: 6.312 kB / 306.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.033e-05/0.3044, allocations: 26.33 kB / 306.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3047, allocations: 91.31 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3049, allocations: 50.22 kB / 306.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3053, allocations: 176.9 kB / 306.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3055, allocations: 38.16 kB / 306.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3057, allocations: 99.92 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3059, allocations: 107.6 kB / 306.7 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.306, allocations: 16 kB / 306.7 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.306, allocations: 12 kB / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.3061, allocations: 43.81 kB / 306.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.3062, allocations: 24 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.3065, allocations: 233.7 kB / 307 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3066, allocations: 0 / 307 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.3066, allocations: 0 / 307 MB, free: 9.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3066, allocations: 3.938 kB / 307 MB, free: 9.953 MB / 250.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.001213/0.3078, allocations: 0.537 MB / 307.5 MB, free: 9.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3079, allocations: 12.02 kB / 307.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.308, allocations: 35.56 kB / 307.6 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3084, allocations: 270.5 kB / 307.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3084, allocations: 16.44 kB / 307.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.3085, allocations: 16 kB / 307.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.3093, allocations: 227.2 kB / 308.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3094, allocations: 4 kB / 308.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.3094, allocations: 12 kB / 308.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.3094, allocations: 4 kB / 308.1 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.3105, allocations: 233.5 kB / 308.3 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.3126, allocations: 0.8465 MB / 309.2 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3137, allocations: 222.6 kB / 309.4 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3137, allocations: 0 / 309.4 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006223/0.3144, allocations: 185.8 kB / 309.6 MB, free: 7.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.3144, allocations: 0 / 309.6 MB, free: 7.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003179/0.3176, allocations: 0.5576 MB / 310.1 MB, free: 6.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3177, allocations: 102.8 kB / 310.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3181, allocations: 245.6 kB / 310.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.3181, allocations: 29.7 kB / 310.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3183, allocations: 171.9 kB / 310.7 MB, free: 5.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.3184, allocations: 47.38 kB / 310.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.3184, allocations: 8 kB / 310.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3185, allocations: 330.8 kB / 311 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.319, allocations: 95.92 kB / 311.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.3196, allocations: 161.4 kB / 311.3 MB, free: 5.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.3201, allocations: 141.6 kB / 311.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3201, allocations: 0 / 311.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001756/0.3219, allocations: 413.4 kB / 311.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.3219, allocations: 33.66 kB / 311.9 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3219, allocations: 7.938 kB / 311.9 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007655/0.3227, allocations: 96.81 kB / 312 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3231, allocations: 51.95 kB / 312 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.3267, allocations: 1.769 MB / 313.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.3272, allocations: 43.81 kB / 313.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.3273, allocations: 11.98 kB / 313.8 MB, free: 2.586 MB / 250.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.0001943/0.3275, allocations: 141.8 kB / 314 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.3276, allocations: 27.72 kB / 314 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.3276, allocations: 25.83 kB / 314 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3276, allocations: 0 / 314 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.3276, allocations: 0 / 314 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3277, allocations: 0 / 314 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.328, allocations: 289.4 kB / 314.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.328, allocations: 0 / 314.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3283, allocations: 31.92 kB / 314.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/0.329, allocations: 100.8 kB / 314.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.329, allocations: 7.938 kB / 314.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.3324, allocations: 1.758 MB / 316.2 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3324, allocations: 4.031 kB / 316.2 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.334, allocations: 333.5 kB / 316.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.3341, allocations: 96.84 kB / 316.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.3342, allocations: 11.95 kB / 316.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.3346, allocations: 31.97 kB / 316.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.3347, allocations: 19.97 kB / 316.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.3347, allocations: 11.98 kB / 316.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.335, allocations: 186 kB / 316.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.335, allocations: 0 / 316.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005354/0.3355, allocations: 67.84 kB / 317 MB, free: 15.23 MB / 266.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.0001614/0.3357, allocations: 111.2 kB / 317.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3371, allocations: 397.8 kB / 317.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3371, allocations: 0 / 317.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.3378, allocations: 239.6 kB / 317.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3381, allocations: 31.47 kB / 317.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3413, allocations: 0.6793 MB / 318.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3417, allocations: 0.756 MB / 319.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3419, allocations: 26.23 kB / 319.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.342, allocations: 15.44 kB / 319.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.342, allocations: 0 / 319.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.3524, allocations: 3.19 MB / 322.4 MB, free: 9.711 MB / 266.7 MB