Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.946e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09239, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4475, allocations: 80.96 MB / 423.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4478, allocations: 81.02 kB / 423.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.4716, allocations: 5.778 MB / 429.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4716, allocations: 0 / 429.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.4716, allocations: 8 kB / 429.4 MB, free: 8.105 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.001088/0.4727, allocations: 0.5565 MB / 429.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4728, allocations: 15.97 kB / 430 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.4729, allocations: 27.72 kB / 430 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4733, allocations: 268.3 kB / 430.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.4734, allocations: 18.88 kB / 430.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.4735, allocations: 19.38 kB / 430.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.474, allocations: 226.5 kB / 430.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.474, allocations: 0 / 430.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.4741, allocations: 11.52 kB / 430.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-06/0.4741, allocations: 4 kB / 430.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.4745, allocations: 150.5 kB / 430.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.4767, allocations: 1.031 MB / 431.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.4771, allocations: 139.1 kB / 431.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.4773, allocations: 60.17 kB / 431.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.4773, allocations: 7.984 kB / 431.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.4776, allocations: 124.3 kB / 432 MB, free: 5.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.901e-06/0.4777, allocations: 4 kB / 432 MB, free: 5.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007706/0.4784, allocations: 231.5 kB / 432.3 MB, free: 5.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.4785, allocations: 110.6 kB / 432.4 MB, free: 5.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.4789, allocations: 235.5 kB / 432.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.479, allocations: 29.7 kB / 432.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4791, allocations: 231 kB / 432.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.4792, allocations: 43 kB / 432.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.4792, allocations: 3 kB / 432.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4794, allocations: 314.2 kB / 433.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4796, allocations: 56.17 kB / 433.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4798, allocations: 127.9 kB / 433.4 MB, free: 4.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.48, allocations: 90.33 kB / 433.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.48, allocations: 0 / 433.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008812/0.4809, allocations: 312 kB / 433.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.481, allocations: 40.56 kB / 433.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.76e-06/0.481, allocations: 7.938 kB / 433.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.4813, allocations: 45.38 kB / 433.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4815, allocations: 47.09 kB / 433.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.4839, allocations: 1.619 MB / 435.5 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.4843, allocations: 67.05 kB / 435.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.4844, allocations: 8 kB / 435.6 MB, free: 2.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001323/0.4845, allocations: 112.5 kB / 435.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.4846, allocations: 23.72 kB / 435.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.489e-05/0.4847, allocations: 24.2 kB / 435.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-06/0.4847, allocations: 8.172 kB / 435.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/0.4847, allocations: 0 / 435.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-06/0.4847, allocations: 7.969 kB / 435.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.4851, allocations: 296.9 kB / 436.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4851, allocations: 0 / 436.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.4853, allocations: 31.91 kB / 436.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.4855, allocations: 42.89 kB / 436.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4856, allocations: 4 kB / 436.1 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.4875, allocations: 1.492 MB / 437.6 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-06/0.4875, allocations: 3.984 kB / 437.6 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.4883, allocations: 262.5 kB / 437.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4884, allocations: 96.53 kB / 438 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.4885, allocations: 4 kB / 438 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.4888, allocations: 43.91 kB / 438 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.4889, allocations: 22.89 kB / 438.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.489, allocations: 0 / 438.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.4892, allocations: 193.8 kB / 438.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4892, allocations: 0 / 438.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005048/0.4898, allocations: 75.72 kB / 438.3 MB, free: 15.54 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.0001763/0.49, allocations: 102.8 kB / 438.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.4906, allocations: 311.6 kB / 438.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.182e-06/0.4906, allocations: 0 / 438.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.491, allocations: 181.7 kB / 438.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4913, allocations: 46.25 kB / 438.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.4921, allocations: 288.5 kB / 439.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4925, allocations: 0.756 MB / 440 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.4926, allocations: 19.44 kB / 440 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4927, allocations: 0 / 440 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Templates: time 0.007812/0.5005, allocations: 4.008 MB / 444 MB, free: 9.898 MB / 362.7 MB