Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.153e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09213, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3685/0.4607, allocations: 81.86 MB / 425 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.461, allocations: 78.2 kB / 425 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.4928, allocations: 6.215 MB / 431.2 MB, free: 7.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4929, allocations: 0 / 431.2 MB, free: 7.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.4929, allocations: 8 kB / 431.3 MB, free: 6.996 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001331/0.4942, allocations: 0.5881 MB / 431.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4943, allocations: 8.031 kB / 431.9 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4944, allocations: 39.53 kB / 431.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.495, allocations: 281.3 kB / 432.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.495, allocations: 23.5 kB / 432.2 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.4951, allocations: 23.31 kB / 432.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.4958, allocations: 268.4 kB / 432.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4958, allocations: 3.953 kB / 432.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.4958, allocations: 10.42 kB / 432.5 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.4959, allocations: 8 kB / 432.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.4964, allocations: 176.6 kB / 432.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.4991, allocations: 1.219 MB / 433.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4995, allocations: 104.2 kB / 434 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.4997, allocations: 45.98 kB / 434 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.4997, allocations: 0 / 434 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.5, allocations: 118.1 kB / 434.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.451e-06/0.5, allocations: 0 / 434.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005334/0.5006, allocations: 149.9 kB / 434.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.5007, allocations: 85.05 kB / 434.4 MB, free: 4.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.5012, allocations: 286.8 kB / 434.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5012, allocations: 29.02 kB / 434.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.5014, allocations: 218.1 kB / 434.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.5015, allocations: 30.45 kB / 434.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.5015, allocations: 3.375 kB / 434.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5017, allocations: 342 kB / 435.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5019, allocations: 53.3 kB / 435.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.5022, allocations: 162.3 kB / 435.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.5024, allocations: 103.8 kB / 435.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-06/0.5024, allocations: 0 / 435.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007924/0.5033, allocations: 291.9 kB / 435.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.5033, allocations: 37.7 kB / 435.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5034, allocations: 7.984 kB / 435.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.5036, allocations: 40.34 kB / 435.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.504, allocations: 63.89 kB / 436 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.5056, allocations: 1.306 MB / 437.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.5062, allocations: 63.5 kB / 437.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5062, allocations: 15.31 kB / 437.4 MB, free: 1.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (27): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.5064, allocations: 123.6 kB / 437.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.5065, allocations: 27.62 kB / 437.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.5066, allocations: 29.86 kB / 437.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.029e-06/0.5066, allocations: 4 kB / 437.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-06/0.5066, allocations: 4 kB / 437.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.5066, allocations: 7.938 kB / 437.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.5073, allocations: 446.1 kB / 438 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-06/0.5073, allocations: 0 / 438 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.5076, allocations: 39.95 kB / 438.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.5078, allocations: 28.81 kB / 438.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.5078, allocations: 3.5 kB / 438.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.5092, allocations: 1.3 MB / 439.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.646e-06/0.5092, allocations: 0 / 439.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.5098, allocations: 204.4 kB / 439.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.5099, allocations: 104.6 kB / 439.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.51, allocations: 4 kB / 439.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.5103, allocations: 31.95 kB / 439.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.5104, allocations: 23.03 kB / 439.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.5105, allocations: 7.984 kB / 439.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.5108, allocations: 226.9 kB / 440 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5108, allocations: 0 / 440 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.5114, allocations: 71.78 kB / 440 MB, free: 14.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.5116, allocations: 106.8 kB / 440.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.5123, allocations: 306.7 kB / 440.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.781e-06/0.5124, allocations: 0 / 440.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.5127, allocations: 162.6 kB / 440.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.5131, allocations: 47.52 kB / 440.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.5139, allocations: 298.8 kB / 441 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.5144, allocations: 0.7599 MB / 441.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.5147, allocations: 30.97 kB / 441.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.5148, allocations: 31.14 kB / 441.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.671e-06/0.5148, allocations: 0 / 441.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01003/0.5248, allocations: 2.855 MB / 444.6 MB, free: 9.98 MB / 362.7 MB