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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.294e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/0.08669, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4342, allocations: 80.04 MB / 397 MB, free: 8.055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4345, allocations: 81.7 kB / 397.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02527/0.4598, allocations: 6.053 MB / 403.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.061e-06/0.4598, allocations: 4 kB / 403.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.315e-05/0.4599, allocations: 4 kB / 403.1 MB, free: 2.805 MB / 314.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.001302/0.4612, allocations: 0.5978 MB / 403.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4612, allocations: 12.03 kB / 403.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4614, allocations: 35.53 kB / 403.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.4619, allocations: 290.4 kB / 404.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.4619, allocations: 19.56 kB / 404.1 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.462, allocations: 33.42 kB / 404.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.4626, allocations: 226.8 kB / 404.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4626, allocations: 0 / 404.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.4627, allocations: 9.75 kB / 404.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.89e-06/0.4627, allocations: 4 kB / 404.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.4632, allocations: 189.7 kB / 404.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.4658, allocations: 1.128 MB / 405.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.4664, allocations: 120.3 kB / 405.8 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4665, allocations: 52.27 kB / 405.8 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4666, allocations: 0 / 405.8 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.4668, allocations: 110.8 kB / 405.9 MB, free: 280 kB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 3.017e-06/0.4669, allocations: 0 / 405.9 MB, free: 280 kB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005323/0.4674, allocations: 160.3 kB / 406.1 MB, free: 140 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.4675, allocations: 89.08 kB / 406.2 MB, free: 32 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.468, allocations: 287.6 kB / 406.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.468, allocations: 25.7 kB / 406.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.4682, allocations: 206 kB / 406.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.4683, allocations: 43.11 kB / 406.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.4683, allocations: 3.875 kB / 406.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4685, allocations: 337.9 kB / 407.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4687, allocations: 55.48 kB / 407.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.469, allocations: 160.9 kB / 407.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4693, allocations: 108.6 kB / 407.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-06/0.4693, allocations: 0 / 407.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007657/0.47, allocations: 293.8 kB / 407.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008431/0.4709, allocations: 1.422 MB / 409.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4709, allocations: 4 kB / 409.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.4712, allocations: 28.78 kB / 409.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.4716, allocations: 83.27 kB / 409.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.4731, allocations: 1.301 MB / 410.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.4736, allocations: 51.59 kB / 410.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.4737, allocations: 11.75 kB / 410.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4737, allocations: 4 kB / 410.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006532/0.4744, allocations: 255.7 kB / 410.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-06/0.4744, allocations: 4 kB / 410.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.4745, allocations: 29.19 kB / 410.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.4748, allocations: 59.84 kB / 410.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.4762, allocations: 1.297 MB / 412.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.4766, allocations: 39.72 kB / 412.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.4767, allocations: 19.67 kB / 412.3 MB, free: 9.895 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001659/0.4769, allocations: 120.6 kB / 412.4 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.477, allocations: 27.62 kB / 412.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.829e-05/0.4771, allocations: 29.45 kB / 412.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-06/0.4771, allocations: 7.938 kB / 412.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.306e-06/0.4771, allocations: 0 / 412.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.404e-06/0.4771, allocations: 0 / 412.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006679/0.4778, allocations: 456.3 kB / 412.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-06/0.4778, allocations: 0 / 412.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.4781, allocations: 44 kB / 412.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.4783, allocations: 24.78 kB / 413 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.4783, allocations: 7.672 kB / 413 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.4797, allocations: 1.297 MB / 414.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4797, allocations: 0 / 414.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.4802, allocations: 198.5 kB / 414.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.4804, allocations: 107.6 kB / 414.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.4804, allocations: 3.125 kB / 414.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4807, allocations: 35.95 kB / 414.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4809, allocations: 30.47 kB / 414.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4809, allocations: 7.938 kB / 414.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003625/0.4813, allocations: 221.7 kB / 414.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.8e-07/0.4813, allocations: 0 / 414.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000777/0.4821, allocations: 129.7 kB / 415 MB, free: 7.164 MB / 330.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 (10): * Single equations (assignments): 7 * 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.000194/0.4823, allocations: 111.2 kB / 415.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4835, allocations: 0.5686 MB / 415.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.669e-06/0.4835, allocations: 0.625 kB / 415.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.4839, allocations: 168 kB / 415.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.4843, allocations: 33.33 kB / 415.8 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.4851, allocations: 301.1 kB / 416.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.4856, allocations: 0.7686 MB / 416.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003353/0.486, allocations: 46.94 kB / 417 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.4861, allocations: 19.44 kB / 417 MB, free: 5.191 MB / 330.7 MB Notification: Performance of SimCode: time 1.805e-06/0.4861, allocations: 4 kB / 417 MB, free: 5.188 MB / 330.7 MB Notification: Performance of Templates: time 0.01093/0.497, allocations: 3.439 MB / 420.4 MB, free: 1.77 MB / 330.7 MB