Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.347e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09125, allocations: 50.41 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4514, allocations: 80.98 MB / 423.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.4516, allocations: 73.91 kB / 423.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.4751, allocations: 5.79 MB / 429.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.671e-06/0.4751, allocations: 0 / 429.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.4752, allocations: 8 kB / 429.4 MB, free: 8.145 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.001089/0.4763, allocations: 0.562 MB / 430 MB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4763, allocations: 12.03 kB / 430 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.4764, allocations: 23.72 kB / 430 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.4769, allocations: 269.5 kB / 430.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.4769, allocations: 16.06 kB / 430.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.477, allocations: 23 kB / 430.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.4775, allocations: 219.4 kB / 430.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4775, allocations: 0 / 430.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.4776, allocations: 15.33 kB / 430.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4776, allocations: 4 kB / 430.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.478, allocations: 151.8 kB / 430.7 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.4803, allocations: 1.024 MB / 431.7 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.4807, allocations: 137.7 kB / 431.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4809, allocations: 69.69 kB / 431.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4809, allocations: 0 / 431.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.4812, allocations: 126.4 kB / 432 MB, free: 5.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.75e-06/0.4812, allocations: 0 / 432 MB, free: 5.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000784/0.482, allocations: 234.4 kB / 432.3 MB, free: 5.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.4821, allocations: 110 kB / 432.4 MB, free: 5.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.4825, allocations: 245.2 kB / 432.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.4826, allocations: 33.27 kB / 432.6 MB, free: 5.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4828, allocations: 231.1 kB / 432.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.4828, allocations: 45.89 kB / 432.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.4828, allocations: 3.375 kB / 432.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.483, allocations: 322.6 kB / 433.2 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.4832, allocations: 54.5 kB / 433.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.4834, allocations: 140.6 kB / 433.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4836, allocations: 92.09 kB / 433.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.543e-06/0.4837, allocations: 0 / 433.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009187/0.4846, allocations: 329.2 kB / 433.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.4847, allocations: 41 kB / 433.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4847, allocations: 4 kB / 433.9 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.485, allocations: 48.62 kB / 433.9 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.4852, allocations: 47.47 kB / 434 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.4879, allocations: 1.687 MB / 435.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.4884, allocations: 58.97 kB / 435.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.4884, allocations: 11.38 kB / 435.7 MB, free: 2.168 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.0001348/0.4886, allocations: 112.4 kB / 435.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4886, allocations: 27.22 kB / 435.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.4887, allocations: 28.64 kB / 435.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-06/0.4887, allocations: 7.891 kB / 435.9 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-06/0.4887, allocations: 4 kB / 435.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.436e-06/0.4888, allocations: 3.984 kB / 435.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.4892, allocations: 303 kB / 436.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-06/0.4892, allocations: 0 / 436.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.4894, allocations: 27.97 kB / 436.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.4896, allocations: 43.78 kB / 436.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4896, allocations: 4 kB / 436.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.4917, allocations: 1.582 MB / 437.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.812e-06/0.4918, allocations: 0 / 437.9 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.4926, allocations: 262.9 kB / 438.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.4927, allocations: 108.6 kB / 438.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.4928, allocations: 7.188 kB / 438.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.4931, allocations: 40.08 kB / 438.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.4932, allocations: 19.78 kB / 438.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4933, allocations: 11.19 kB / 438.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4935, allocations: 191.8 kB / 438.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.14e-06/0.4936, allocations: 0 / 438.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.4941, allocations: 71.09 kB / 438.6 MB, free: 15.39 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.0001916/0.4943, allocations: 107.3 kB / 438.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4954, allocations: 394 kB / 439 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.052e-06/0.4954, allocations: 0.5 kB / 439 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.4957, allocations: 185.7 kB / 439.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.4961, allocations: 46.28 kB / 439.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.4993, allocations: 0.8026 MB / 440.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.4998, allocations: 0.7482 MB / 440.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.4999, allocations: 23.44 kB / 440.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.679e-06/0.4999, allocations: 0 / 440.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.008011/0.508, allocations: 4.032 MB / 444.9 MB, free: 9.117 MB / 362.7 MB