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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.9 MB / 211.2 MB, free: 9.324 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.8e-05, allocations: 4 kB / 258.8 MB, free: 9.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 44.5 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003713/0.3316, allocations: 2.171 MB / 305.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3331, allocations: 0.5608 MB / 306 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3333, allocations: 9.625 kB / 306 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.692e-05/0.3334, allocations: 34.72 kB / 306.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.3337, allocations: 94.08 kB / 306.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.334, allocations: 50.47 kB / 306.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.3343, allocations: 173.6 kB / 306.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3345, allocations: 37.5 kB / 306.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3347, allocations: 93.5 kB / 306.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.335, allocations: 118.3 kB / 306.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.3351, allocations: 12.31 kB / 306.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.3352, allocations: 12.69 kB / 306.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.3352, allocations: 46.72 kB / 306.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.3353, allocations: 22.81 kB / 306.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3357, allocations: 227.4 kB / 306.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3357, allocations: 0 / 306.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3357, allocations: 3.938 kB / 306.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3358, allocations: 1.156 kB / 306.9 MB, free: 9.785 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.001408/0.3372, allocations: 0.5409 MB / 307.5 MB, free: 9.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3372, allocations: 8.906 kB / 307.5 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3374, allocations: 34.28 kB / 307.5 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.3379, allocations: 269.4 kB / 307.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.3379, allocations: 16.72 kB / 307.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.338, allocations: 17.06 kB / 307.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.3389, allocations: 236.4 kB / 308.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.339, allocations: 5.094 kB / 308.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.339, allocations: 5.406 kB / 308.1 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.339, allocations: 4.719 kB / 308.1 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3401, allocations: 226.1 kB / 308.3 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.3425, allocations: 0.862 MB / 309.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3437, allocations: 218.6 kB / 309.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3437, allocations: 0 / 309.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/0.3444, allocations: 181.8 kB / 309.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.3445, allocations: 0 / 309.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003384/0.3479, allocations: 0.5615 MB / 310.1 MB, free: 6.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.348, allocations: 106.8 kB / 310.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.3484, allocations: 232 kB / 310.4 MB, free: 6.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.3485, allocations: 25.7 kB / 310.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3487, allocations: 226.4 kB / 310.7 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.3487, allocations: 39.45 kB / 310.7 MB, free: 6.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.3488, allocations: 12 kB / 310.7 MB, free: 6.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3489, allocations: 318.8 kB / 311 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.3495, allocations: 92.12 kB / 311.1 MB, free: 5.699 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.35, allocations: 148 kB / 311.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.3506, allocations: 138.6 kB / 311.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3506, allocations: 4 kB / 311.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001807/0.3524, allocations: 385.2 kB / 311.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.3525, allocations: 37.66 kB / 311.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3525, allocations: 0 / 311.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/0.3533, allocations: 97.03 kB / 311.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3537, allocations: 43.91 kB / 312 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004071/0.3578, allocations: 1.789 MB / 313.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.3584, allocations: 47.75 kB / 313.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.3585, allocations: 8 kB / 313.8 MB, free: 2.82 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.0002221/0.3587, allocations: 145.2 kB / 314 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3588, allocations: 27.7 kB / 314 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.3589, allocations: 21.84 kB / 314 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3589, allocations: 3.938 kB / 314 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3589, allocations: 4 kB / 314 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3589, allocations: 3.984 kB / 314 MB, free: 2.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3593, allocations: 285.4 kB / 314.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3594, allocations: 0 / 314.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3596, allocations: 31.97 kB / 314.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007333/0.3604, allocations: 92.78 kB / 314.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3604, allocations: 4 kB / 314.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.364, allocations: 1.681 MB / 316.1 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3641, allocations: 0 / 316.1 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3658, allocations: 333.6 kB / 316.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3659, allocations: 92.92 kB / 316.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.366, allocations: 8 kB / 316.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.3664, allocations: 31.97 kB / 316.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3666, allocations: 27.91 kB / 316.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3666, allocations: 4 kB / 316.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003159/0.3669, allocations: 180.5 kB / 316.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3669, allocations: 0 / 316.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.3675, allocations: 75.84 kB / 316.8 MB, free: 15.55 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.000201/0.3677, allocations: 99.25 kB / 316.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.3692, allocations: 397.8 kB / 317.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3692, allocations: 4 kB / 317.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.37, allocations: 234.8 kB / 317.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3704, allocations: 35.33 kB / 317.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.372, allocations: 0.5189 MB / 318.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3724, allocations: 0.7521 MB / 318.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3725, allocations: 23.38 kB / 318.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.509e-06/0.3725, allocations: 0 / 318.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Templates: time 0.009518/0.3821, allocations: 3.875 MB / 322.8 MB, free: 9.535 MB / 266.7 MB