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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.232e-05, allocations: 4 kB / 258.8 MB, free: 8.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003563/0.3074, allocations: 2.167 MB / 305.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.309, allocations: 0.5683 MB / 306 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3092, allocations: 10 kB / 306 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.3093, allocations: 31.06 kB / 306.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3096, allocations: 94.11 kB / 306.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.3099, allocations: 45.69 kB / 306.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.3102, allocations: 173 kB / 306.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3104, allocations: 46.05 kB / 306.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3106, allocations: 97.36 kB / 306.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.3109, allocations: 107.9 kB / 306.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.3109, allocations: 12.16 kB / 306.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.311, allocations: 12.91 kB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.3111, allocations: 46.31 kB / 306.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.3112, allocations: 23.06 kB / 306.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.3115, allocations: 235.2 kB / 307 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3115, allocations: 0 / 307 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.3116, allocations: 0 / 307 MB, free: 9.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3116, allocations: 4.969 kB / 307 MB, free: 9.836 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.001339/0.3129, allocations: 0.5368 MB / 307.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.313, allocations: 9.656 kB / 307.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3131, allocations: 30.31 kB / 307.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3136, allocations: 269.2 kB / 307.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.3136, allocations: 16.59 kB / 307.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.3137, allocations: 17.72 kB / 307.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.3146, allocations: 234.2 kB / 308.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3146, allocations: 0 / 308.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.3146, allocations: 8 kB / 308.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3147, allocations: 11.94 kB / 308.1 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.3157, allocations: 233.5 kB / 308.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3181, allocations: 0.8504 MB / 309.2 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3192, allocations: 214.6 kB / 309.4 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3192, allocations: 0 / 309.4 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/0.3199, allocations: 181.8 kB / 309.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.3199, allocations: 0 / 309.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003284/0.3232, allocations: 0.5615 MB / 310.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.3234, allocations: 110.8 kB / 310.2 MB, free: 6.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.3238, allocations: 241.6 kB / 310.4 MB, free: 6.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.3239, allocations: 25.7 kB / 310.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.3241, allocations: 230.3 kB / 310.7 MB, free: 6.016 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.3241, allocations: 47.38 kB / 310.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.3242, allocations: 4 kB / 310.7 MB, free: 5.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3243, allocations: 322.8 kB / 311.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.3248, allocations: 95.94 kB / 311.2 MB, free: 5.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.3254, allocations: 165.4 kB / 311.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.3259, allocations: 131.2 kB / 311.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3259, allocations: 0 / 311.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001803/0.3277, allocations: 404.1 kB / 311.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.3278, allocations: 39.83 kB / 311.9 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3278, allocations: 7.938 kB / 311.9 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.3286, allocations: 96.81 kB / 312 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.329, allocations: 43.97 kB / 312 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.3327, allocations: 1.77 MB / 313.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.3333, allocations: 47.88 kB / 313.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.3334, allocations: 8 kB / 313.9 MB, free: 2.648 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.0002049/0.3336, allocations: 142.9 kB / 314 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.3337, allocations: 23.72 kB / 314 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.273e-05/0.3337, allocations: 25.83 kB / 314 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3337, allocations: 0 / 314 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.3338, allocations: 4 kB / 314 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3338, allocations: 3.984 kB / 314 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3342, allocations: 289.3 kB / 314.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3342, allocations: 0 / 314.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3344, allocations: 31.97 kB / 314.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007134/0.3352, allocations: 92.78 kB / 314.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3352, allocations: 7.938 kB / 314.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.3387, allocations: 1.758 MB / 316.2 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3387, allocations: 8.094 kB / 316.2 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3404, allocations: 333.4 kB / 316.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3405, allocations: 96.84 kB / 316.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.3406, allocations: 15.89 kB / 316.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.341, allocations: 27.97 kB / 316.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3411, allocations: 19.97 kB / 316.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3412, allocations: 12 kB / 316.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002773/0.3415, allocations: 190 kB / 316.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3415, allocations: 0 / 316.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.3421, allocations: 67.84 kB / 317 MB, free: 15.29 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.0001818/0.3423, allocations: 107.2 kB / 317.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3438, allocations: 401.9 kB / 317.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3438, allocations: 0 / 317.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.3445, allocations: 230.9 kB / 317.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3449, allocations: 36.55 kB / 317.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.3483, allocations: 0.7026 MB / 318.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3487, allocations: 0.756 MB / 319.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3489, allocations: 23.38 kB / 319.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3489, allocations: 0 / 319.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Templates: time 0.009402/0.3583, allocations: 3.914 MB / 323.1 MB, free: 9.027 MB / 266.7 MB