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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.949e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.0944, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.5522, allocations: 80.92 MB / 424 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.5526, allocations: 81.08 kB / 424.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02451/0.5771, allocations: 5.78 MB / 429.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.323e-06/0.5771, allocations: 0 / 429.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.5772, allocations: 4 kB / 429.9 MB, free: 8.285 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001118/0.5783, allocations: 0.5644 MB / 430.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5784, allocations: 8.031 kB / 430.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.5785, allocations: 34.66 kB / 430.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.5789, allocations: 273.1 kB / 430.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.579, allocations: 12.31 kB / 430.8 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.579, allocations: 19.75 kB / 430.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.5796, allocations: 223.2 kB / 431 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5796, allocations: 7.938 kB / 431 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.5796, allocations: 14.45 kB / 431 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-06/0.5797, allocations: 4 kB / 431 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.5801, allocations: 148.6 kB / 431.2 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.5823, allocations: 1.024 MB / 432.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.5828, allocations: 133.9 kB / 432.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5829, allocations: 58.2 kB / 432.4 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.583, allocations: 3.938 kB / 432.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.5833, allocations: 130.2 kB / 432.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.323e-06/0.5833, allocations: 0 / 432.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007982/0.5841, allocations: 234.1 kB / 432.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.5842, allocations: 109.9 kB / 432.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.5846, allocations: 246.2 kB / 433.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.5847, allocations: 29.7 kB / 433.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5849, allocations: 175.9 kB / 433.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.5849, allocations: 41.45 kB / 433.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.585, allocations: 3.125 kB / 433.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5852, allocations: 337.5 kB / 433.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.5853, allocations: 57.61 kB / 433.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.5856, allocations: 138.5 kB / 433.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5858, allocations: 89.34 kB / 433.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.836e-06/0.5858, allocations: 0 / 433.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009999/0.5868, allocations: 358 kB / 434.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.5869, allocations: 33.64 kB / 434.3 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5869, allocations: 4 kB / 434.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.5872, allocations: 46.27 kB / 434.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.5875, allocations: 51.25 kB / 434.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.5902, allocations: 1.682 MB / 436.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.5907, allocations: 63.56 kB / 436.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.5908, allocations: 19.48 kB / 436.2 MB, free: 2.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001429/0.591, allocations: 112.2 kB / 436.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.591, allocations: 27.22 kB / 436.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.5911, allocations: 21.64 kB / 436.3 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5911, allocations: 11.95 kB / 436.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-06/0.5912, allocations: 3.938 kB / 436.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.786e-06/0.5912, allocations: 0 / 436.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.5916, allocations: 294.3 kB / 436.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5916, allocations: 0 / 436.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.5918, allocations: 31.91 kB / 436.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.592, allocations: 47.39 kB / 436.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5921, allocations: 4 kB / 436.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.5944, allocations: 1.58 MB / 438.3 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.722e-06/0.5945, allocations: 4.062 kB / 438.3 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5962, allocations: 269.1 kB / 438.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.5965, allocations: 104 kB / 438.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.5966, allocations: 8.109 kB / 438.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.5974, allocations: 43.91 kB / 438.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.5976, allocations: 23.72 kB / 438.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.5977, allocations: 4 kB / 438.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005788/0.5983, allocations: 190.9 kB / 438.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.068e-06/0.5983, allocations: 0 / 438.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001383/0.5997, allocations: 67.77 kB / 439 MB, free: 15.55 MB / 362.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.0003422/0.6001, allocations: 110.8 kB / 439.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.6023, allocations: 398.2 kB / 439.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.077e-06/0.6024, allocations: 0 / 439.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.6031, allocations: 174 kB / 439.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.6039, allocations: 43.47 kB / 439.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.611, allocations: 0.7805 MB / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/0.6119, allocations: 0.756 MB / 441.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.6123, allocations: 22.08 kB / 441.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6125, allocations: 19.44 kB / 441.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 7.39e-06/0.6125, allocations: 0 / 441.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Templates: time 0.02035/0.6329, allocations: 3.324 MB / 444.6 MB, free: 10 MB / 362.7 MB