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 2.025/2.025, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.713e-05/4.706e-05, allocations: 7.906 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 44.5 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005228/0.3749, allocations: 2.17 MB / 305.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3771, allocations: 0.5687 MB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.3774, allocations: 5.812 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3776, allocations: 30.12 kB / 306.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.378, allocations: 91.22 kB / 306.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.3784, allocations: 53.12 kB / 306.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.3789, allocations: 169.6 kB / 306.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.3791, allocations: 45.8 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.3795, allocations: 89.78 kB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.3798, allocations: 114.3 kB / 306.7 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.3799, allocations: 15.25 kB / 306.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.38, allocations: 16 kB / 306.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.3801, allocations: 39.81 kB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3802, allocations: 24 kB / 306.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.3807, allocations: 229.7 kB / 307 MB, free: 9.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3808, allocations: 0 / 307 MB, free: 9.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3808, allocations: 3.938 kB / 307 MB, free: 9.945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3808, allocations: 0 / 307 MB, free: 9.945 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.00177/0.3826, allocations: 0.5408 MB / 307.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.3827, allocations: 8.031 kB / 307.5 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3828, allocations: 35.56 kB / 307.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.3835, allocations: 266.5 kB / 307.8 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.3835, allocations: 16.44 kB / 307.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3836, allocations: 24 kB / 307.9 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3849, allocations: 227.2 kB / 308.1 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.385, allocations: 4 kB / 308.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.385, allocations: 8 kB / 308.1 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3851, allocations: 8 kB / 308.1 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3866, allocations: 229.5 kB / 308.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.39, allocations: 0.8582 MB / 309.2 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.3916, allocations: 214.6 kB / 309.4 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.3916, allocations: 0 / 309.4 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009209/0.3926, allocations: 177.8 kB / 309.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 3.547e-06/0.3926, allocations: 0 / 309.6 MB, free: 7.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.004777/0.3974, allocations: 0.5615 MB / 310.1 MB, free: 6.562 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3976, allocations: 110.8 kB / 310.2 MB, free: 6.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.3981, allocations: 228 kB / 310.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.3982, allocations: 29.7 kB / 310.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3985, allocations: 168 kB / 310.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.3986, allocations: 43.44 kB / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.3986, allocations: 8 kB / 310.7 MB, free: 5.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3988, allocations: 338.8 kB / 311 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.3995, allocations: 88.12 kB / 311.1 MB, free: 5.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.4004, allocations: 160 kB / 311.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.4011, allocations: 125.6 kB / 311.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4012, allocations: 0 / 311.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002613/0.4038, allocations: 397.2 kB / 311.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.418e-05/0.4039, allocations: 37.66 kB / 311.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.404, allocations: 4 kB / 311.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4051, allocations: 93.03 kB / 311.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.4056, allocations: 47.91 kB / 312 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.4112, allocations: 1.793 MB / 313.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.412, allocations: 51.78 kB / 313.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.412, allocations: 4 kB / 313.8 MB, free: 2.621 MB / 250.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.0002771/0.4123, allocations: 141.7 kB / 314 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.4124, allocations: 27.7 kB / 314 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.4125, allocations: 21.91 kB / 314 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.4126, allocations: 4 kB / 314 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4126, allocations: 0 / 314 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4126, allocations: 3.984 kB / 314 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.4131, allocations: 285.5 kB / 314.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4132, allocations: 3.938 kB / 314.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.4135, allocations: 31.97 kB / 314.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.4146, allocations: 96.72 kB / 314.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.4146, allocations: 4 kB / 314.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.4195, allocations: 1.673 MB / 316.1 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.4196, allocations: 3.984 kB / 316.1 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.4219, allocations: 333.6 kB / 316.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4221, allocations: 96.83 kB / 316.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.4223, allocations: 4 kB / 316.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.4228, allocations: 27.97 kB / 316.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.423, allocations: 39.91 kB / 316.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.423, allocations: 0 / 316.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003937/0.4234, allocations: 184.5 kB / 316.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.4235, allocations: 0 / 316.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007997/0.4243, allocations: 67.84 kB / 316.8 MB, free: 15.36 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.0002252/0.4245, allocations: 107.2 kB / 316.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.4265, allocations: 394 kB / 317.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4265, allocations: 0 / 317.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.4275, allocations: 243.4 kB / 317.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.4281, allocations: 39.33 kB / 317.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4299, allocations: 0.4901 MB / 318.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.4304, allocations: 0.7482 MB / 318.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.4307, allocations: 21.95 kB / 318.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4308, allocations: 19.44 kB / 318.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of SimCode: time 4.429e-06/0.4308, allocations: 0 / 318.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Templates: time 0.01487/0.4457, allocations: 3.19 MB / 322.1 MB, free: 10.04 MB / 266.7 MB